Class SpokeSummary (1.53.0)

public final class SpokeSummary extends GeneratedMessageV3 implements SpokeSummaryOrBuilder

Summarizes information about the spokes associated with a hub. The summary includes a count of spokes according to type and according to state. If any spokes are inactive, the summary also lists the reasons they are inactive, including a count for each reason.

Protobuf type google.cloud.networkconnectivity.v1.SpokeSummary

Static Fields

SPOKE_STATE_COUNTS_FIELD_NUMBER

public static final int SPOKE_STATE_COUNTS_FIELD_NUMBER
Field Value
Type Description
int

SPOKE_STATE_REASON_COUNTS_FIELD_NUMBER

public static final int SPOKE_STATE_REASON_COUNTS_FIELD_NUMBER
Field Value
Type Description
int

SPOKE_TYPE_COUNTS_FIELD_NUMBER

public static final int SPOKE_TYPE_COUNTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SpokeSummary getDefaultInstance()
Returns
Type Description
SpokeSummary

getDescriptor()

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

newBuilder()

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

newBuilder(SpokeSummary prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SpokeSummary getDefaultInstanceForType()
Returns
Type Description
SpokeSummary

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSpokeStateCounts(int index)

public SpokeSummary.SpokeStateCount getSpokeStateCounts(int index)

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SpokeSummary.SpokeStateCount

getSpokeStateCountsCount()

public int getSpokeStateCountsCount()

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getSpokeStateCountsList()

public List<SpokeSummary.SpokeStateCount> getSpokeStateCountsList()

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<SpokeStateCount>

getSpokeStateCountsOrBuilder(int index)

public SpokeSummary.SpokeStateCountOrBuilder getSpokeStateCountsOrBuilder(int index)

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SpokeSummary.SpokeStateCountOrBuilder

getSpokeStateCountsOrBuilderList()

public List<? extends SpokeSummary.SpokeStateCountOrBuilder> getSpokeStateCountsOrBuilderList()

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCountOrBuilder>

getSpokeStateReasonCounts(int index)

public SpokeSummary.SpokeStateReasonCount getSpokeStateReasonCounts(int index)

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SpokeSummary.SpokeStateReasonCount

getSpokeStateReasonCountsCount()

public int getSpokeStateReasonCountsCount()

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getSpokeStateReasonCountsList()

public List<SpokeSummary.SpokeStateReasonCount> getSpokeStateReasonCountsList()

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<SpokeStateReasonCount>

getSpokeStateReasonCountsOrBuilder(int index)

public SpokeSummary.SpokeStateReasonCountOrBuilder getSpokeStateReasonCountsOrBuilder(int index)

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SpokeSummary.SpokeStateReasonCountOrBuilder

getSpokeStateReasonCountsOrBuilderList()

public List<? extends SpokeSummary.SpokeStateReasonCountOrBuilder> getSpokeStateReasonCountsOrBuilderList()

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCountOrBuilder>

getSpokeTypeCounts(int index)

public SpokeSummary.SpokeTypeCount getSpokeTypeCounts(int index)

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SpokeSummary.SpokeTypeCount

getSpokeTypeCountsCount()

public int getSpokeTypeCountsCount()

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getSpokeTypeCountsList()

public List<SpokeSummary.SpokeTypeCount> getSpokeTypeCountsList()

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<SpokeTypeCount>

getSpokeTypeCountsOrBuilder(int index)

public SpokeSummary.SpokeTypeCountOrBuilder getSpokeTypeCountsOrBuilder(int index)

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SpokeSummary.SpokeTypeCountOrBuilder

getSpokeTypeCountsOrBuilderList()

public List<? extends SpokeSummary.SpokeTypeCountOrBuilder> getSpokeTypeCountsOrBuilderList()

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCountOrBuilder>

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 SpokeSummary.Builder newBuilderForType()
Returns
Type Description
SpokeSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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