public static final class HubStatusEntry.Builder extends GeneratedMessage.Builder<HubStatusEntry.Builder> implements HubStatusEntryOrBuilderA hub status entry represents the status of a set of propagated Private Service Connect connections grouped by certain fields.
Protobuf type google.cloud.networkconnectivity.v1.HubStatusEntry
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > HubStatusEntry.BuilderImplements
HubStatusEntryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public HubStatusEntry build()| Returns | |
|---|---|
| Type | Description |
HubStatusEntry |
|
buildPartial()
public HubStatusEntry buildPartial()| Returns | |
|---|---|
| Type | Description |
HubStatusEntry |
|
clear()
public HubStatusEntry.Builder clear()| Returns | |
|---|---|
| Type | Description |
HubStatusEntry.Builder |
|
clearCount()
public HubStatusEntry.Builder clearCount() The number of propagated Private Service Connect connections with this
status. If the group_by field was not set in the request message, the
value of this field is 1.
int32 count = 1;
| Returns | |
|---|---|
| Type | Description |
HubStatusEntry.Builder |
This builder for chaining. |
clearGroupBy()
public HubStatusEntry.Builder clearGroupBy() The fields that this entry is grouped by. This has the same value as the
group_by field in the request message.
string group_by = 2;
| Returns | |
|---|---|
| Type | Description |
HubStatusEntry.Builder |
This builder for chaining. |
clearPscPropagationStatus()
public HubStatusEntry.Builder clearPscPropagationStatus()The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1.PscPropagationStatus psc_propagation_status = 3;
| Returns | |
|---|---|
| Type | Description |
HubStatusEntry.Builder |
|
getCount()
public int getCount() The number of propagated Private Service Connect connections with this
status. If the group_by field was not set in the request message, the
value of this field is 1.
int32 count = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count. |
getDefaultInstanceForType()
public HubStatusEntry getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
HubStatusEntry |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGroupBy()
public String getGroupBy() The fields that this entry is grouped by. This has the same value as the
group_by field in the request message.
string group_by = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The groupBy. |
getGroupByBytes()
public ByteString getGroupByBytes() The fields that this entry is grouped by. This has the same value as the
group_by field in the request message.
string group_by = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for groupBy. |
getPscPropagationStatus()
public PscPropagationStatus getPscPropagationStatus()The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1.PscPropagationStatus psc_propagation_status = 3;
| Returns | |
|---|---|
| Type | Description |
PscPropagationStatus |
The pscPropagationStatus. |
getPscPropagationStatusBuilder()
public PscPropagationStatus.Builder getPscPropagationStatusBuilder()The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1.PscPropagationStatus psc_propagation_status = 3;
| Returns | |
|---|---|
| Type | Description |
PscPropagationStatus.Builder |
|
getPscPropagationStatusOrBuilder()
public PscPropagationStatusOrBuilder getPscPropagationStatusOrBuilder()The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1.PscPropagationStatus psc_propagation_status = 3;
| Returns | |
|---|---|
| Type | Description |
PscPropagationStatusOrBuilder |
|
hasPscPropagationStatus()
public boolean hasPscPropagationStatus()The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1.PscPropagationStatus psc_propagation_status = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pscPropagationStatus field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(HubStatusEntry other)
public HubStatusEntry.Builder mergeFrom(HubStatusEntry other)| Parameter | |
|---|---|
| Name | Description |
other |
HubStatusEntry |
| Returns | |
|---|---|
| Type | Description |
HubStatusEntry.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HubStatusEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HubStatusEntry.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public HubStatusEntry.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
HubStatusEntry.Builder |
|
mergePscPropagationStatus(PscPropagationStatus value)
public HubStatusEntry.Builder mergePscPropagationStatus(PscPropagationStatus value)The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1.PscPropagationStatus psc_propagation_status = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
PscPropagationStatus |
| Returns | |
|---|---|
| Type | Description |
HubStatusEntry.Builder |
|
setCount(int value)
public HubStatusEntry.Builder setCount(int value) The number of propagated Private Service Connect connections with this
status. If the group_by field was not set in the request message, the
value of this field is 1.
int32 count = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe count to set. |
| Returns | |
|---|---|
| Type | Description |
HubStatusEntry.Builder |
This builder for chaining. |
setGroupBy(String value)
public HubStatusEntry.Builder setGroupBy(String value) The fields that this entry is grouped by. This has the same value as the
group_by field in the request message.
string group_by = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe groupBy to set. |
| Returns | |
|---|---|
| Type | Description |
HubStatusEntry.Builder |
This builder for chaining. |
setGroupByBytes(ByteString value)
public HubStatusEntry.Builder setGroupByBytes(ByteString value) The fields that this entry is grouped by. This has the same value as the
group_by field in the request message.
string group_by = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for groupBy to set. |
| Returns | |
|---|---|
| Type | Description |
HubStatusEntry.Builder |
This builder for chaining. |
setPscPropagationStatus(PscPropagationStatus value)
public HubStatusEntry.Builder setPscPropagationStatus(PscPropagationStatus value)The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1.PscPropagationStatus psc_propagation_status = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
PscPropagationStatus |
| Returns | |
|---|---|
| Type | Description |
HubStatusEntry.Builder |
|
setPscPropagationStatus(PscPropagationStatus.Builder builderForValue)
public HubStatusEntry.Builder setPscPropagationStatus(PscPropagationStatus.Builder builderForValue)The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1.PscPropagationStatus psc_propagation_status = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PscPropagationStatus.Builder |
| Returns | |
|---|---|
| Type | Description |
HubStatusEntry.Builder |
|