Send feedback
Class SpokeSummary (1.75.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static SpokeSummary . Builder newBuilder ()
newBuilder(SpokeSummary prototype)
public static SpokeSummary . Builder newBuilder ( SpokeSummary prototype )
public static SpokeSummary parseDelimitedFrom ( InputStream input )
public static SpokeSummary parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static SpokeSummary parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SpokeSummary parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static SpokeSummary parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SpokeSummary parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static SpokeSummary parseFrom ( CodedInputStream input )
public static SpokeSummary parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static SpokeSummary parseFrom ( InputStream input )
public static SpokeSummary parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static SpokeSummary parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SpokeSummary parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<SpokeSummary> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public SpokeSummary getDefaultInstanceForType ()
getParserForType()
public Parser<SpokeSummary> getParserForType ()
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
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];
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
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
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];
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
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
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];
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
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()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public SpokeSummary . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SpokeSummary . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public SpokeSummary . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]