Class SpokeSummary (1.35.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
TypeDescription
int

SPOKE_STATE_REASON_COUNTS_FIELD_NUMBER

public static final int SPOKE_STATE_REASON_COUNTS_FIELD_NUMBER
Field Value
TypeDescription
int

SPOKE_TYPE_COUNTS_FIELD_NUMBER

public static final int SPOKE_TYPE_COUNTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SpokeSummary getDefaultInstance()
Returns
TypeDescription
SpokeSummary

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SpokeSummary.Builder newBuilder()
Returns
TypeDescription
SpokeSummary.Builder

newBuilder(SpokeSummary prototype)

public static SpokeSummary.Builder newBuilder(SpokeSummary prototype)
Parameter
NameDescription
prototypeSpokeSummary
Returns
TypeDescription
SpokeSummary.Builder

parseDelimitedFrom(InputStream input)

public static SpokeSummary parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SpokeSummary
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SpokeSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SpokeSummary
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SpokeSummary parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SpokeSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SpokeSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SpokeSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SpokeSummary parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SpokeSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SpokeSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SpokeSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SpokeSummary parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SpokeSummary
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SpokeSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SpokeSummary
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SpokeSummary parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SpokeSummary
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SpokeSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SpokeSummary
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SpokeSummary parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SpokeSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SpokeSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SpokeSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SpokeSummary> parser()
Returns
TypeDescription
Parser<SpokeSummary>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SpokeSummary getDefaultInstanceForType()
Returns
TypeDescription
SpokeSummary

getParserForType()

public Parser<SpokeSummary> getParserForType()
Returns
TypeDescription
Parser<SpokeSummary>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCountOrBuilder>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SpokeSummary.Builder newBuilderForType()
Returns
TypeDescription
SpokeSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SpokeSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SpokeSummary.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SpokeSummary.Builder toBuilder()
Returns
TypeDescription
SpokeSummary.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException