Class HubStatusEntry (1.54.0)

public final class HubStatusEntry extends GeneratedMessageV3 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 Fields

COUNT_FIELD_NUMBER

public static final int COUNT_FIELD_NUMBER
Field Value
Type Description
int

GROUP_BY_FIELD_NUMBER

public static final int GROUP_BY_FIELD_NUMBER
Field Value
Type Description
int

PSC_PROPAGATION_STATUS_FIELD_NUMBER

public static final int PSC_PROPAGATION_STATUS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HubStatusEntry getDefaultInstance()
Returns
Type Description
HubStatusEntry

getDescriptor()

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

newBuilder()

public static HubStatusEntry.Builder newBuilder()
Returns
Type Description
HubStatusEntry.Builder

newBuilder(HubStatusEntry prototype)

public static HubStatusEntry.Builder newBuilder(HubStatusEntry prototype)
Parameter
Name Description
prototype HubStatusEntry
Returns
Type Description
HubStatusEntry.Builder

parseDelimitedFrom(InputStream input)

public static HubStatusEntry parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HubStatusEntry
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HubStatusEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HubStatusEntry
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static HubStatusEntry parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
HubStatusEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HubStatusEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HubStatusEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HubStatusEntry parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
HubStatusEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HubStatusEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HubStatusEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HubStatusEntry parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
HubStatusEntry
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HubStatusEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HubStatusEntry
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static HubStatusEntry parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HubStatusEntry
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HubStatusEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HubStatusEntry
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static HubStatusEntry parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
HubStatusEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HubStatusEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HubStatusEntry
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<HubStatusEntry> parser()
Returns
Type Description
Parser<HubStatusEntry>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<HubStatusEntry> getParserForType()
Returns
Type Description
Parser<HubStatusEntry>
Overrides

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.

getPscPropagationStatusOrBuilder()

public PscPropagationStatusOrBuilder getPscPropagationStatusOrBuilder()

The Private Service Connect propagation status.

.google.cloud.networkconnectivity.v1.PscPropagationStatus psc_propagation_status = 3;

Returns
Type Description
PscPropagationStatusOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public HubStatusEntry.Builder newBuilderForType()
Returns
Type Description
HubStatusEntry.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HubStatusEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HubStatusEntry.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public HubStatusEntry.Builder toBuilder()
Returns
Type Description
HubStatusEntry.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException