Class HubStatusEntry.Builder (1.54.0)

public static final class HubStatusEntry.Builder extends GeneratedMessageV3.Builder<HubStatusEntry.Builder> implements HubStatusEntryOrBuilder

A 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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HubStatusEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HubStatusEntry.Builder
Overrides

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
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public HubStatusEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HubStatusEntry.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public HubStatusEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HubStatusEntry.Builder
Overrides

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

clone()

public HubStatusEntry.Builder clone()
Returns
Type Description
HubStatusEntry.Builder
Overrides

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
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public HubStatusEntry.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HubStatusEntry.Builder
Overrides

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HubStatusEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HubStatusEntry.Builder
Overrides

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 int

The count to set.

Returns
Type Description
HubStatusEntry.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public HubStatusEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HubStatusEntry.Builder
Overrides

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 String

The 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 ByteString

The 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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public HubStatusEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
HubStatusEntry.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HubStatusEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HubStatusEntry.Builder
Overrides