Class SpokeSummary

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networkconnectivity.v1beta.SpokeSummary
All Implemented Interfaces:
SpokeSummaryOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class SpokeSummary extends com.google.protobuf.GeneratedMessage 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.v1beta.SpokeSummary
See Also:
  • Field Details

    • SPOKE_TYPE_COUNTS_FIELD_NUMBER

      public static final int SPOKE_TYPE_COUNTS_FIELD_NUMBER
      See Also:
    • SPOKE_STATE_COUNTS_FIELD_NUMBER

      public static final int SPOKE_STATE_COUNTS_FIELD_NUMBER
      See Also:
    • SPOKE_STATE_REASON_COUNTS_FIELD_NUMBER

      public static final int SPOKE_STATE_REASON_COUNTS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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.v1beta.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSpokeTypeCountsList in interface SpokeSummaryOrBuilder
    • 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.v1beta.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSpokeTypeCountsOrBuilderList in interface SpokeSummaryOrBuilder
    • 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.v1beta.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSpokeTypeCountsCount in interface SpokeSummaryOrBuilder
    • getSpokeTypeCounts

      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.v1beta.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSpokeTypeCounts in interface SpokeSummaryOrBuilder
    • getSpokeTypeCountsOrBuilder

      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.v1beta.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSpokeTypeCountsOrBuilder in interface SpokeSummaryOrBuilder
    • 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.v1beta.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSpokeStateCountsList in interface SpokeSummaryOrBuilder
    • 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.v1beta.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSpokeStateCountsOrBuilderList in interface SpokeSummaryOrBuilder
    • 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.v1beta.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSpokeStateCountsCount in interface SpokeSummaryOrBuilder
    • getSpokeStateCounts

      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.v1beta.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSpokeStateCounts in interface SpokeSummaryOrBuilder
    • getSpokeStateCountsOrBuilder

      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.v1beta.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSpokeStateCountsOrBuilder in interface SpokeSummaryOrBuilder
    • 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.v1beta.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSpokeStateReasonCountsList in interface SpokeSummaryOrBuilder
    • 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.v1beta.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSpokeStateReasonCountsOrBuilderList in interface SpokeSummaryOrBuilder
    • 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.v1beta.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSpokeStateReasonCountsCount in interface SpokeSummaryOrBuilder
    • getSpokeStateReasonCounts

      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.v1beta.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSpokeStateReasonCounts in interface SpokeSummaryOrBuilder
    • getSpokeStateReasonCountsOrBuilder

      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.v1beta.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSpokeStateReasonCountsOrBuilder in interface SpokeSummaryOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SpokeSummary parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpokeSummary parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpokeSummary parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpokeSummary parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpokeSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpokeSummary parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpokeSummary parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SpokeSummary parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SpokeSummary parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SpokeSummary parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SpokeSummary parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SpokeSummary parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SpokeSummary.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SpokeSummary.Builder newBuilder()
    • newBuilder

      public static SpokeSummary.Builder newBuilder(SpokeSummary prototype)
    • toBuilder

      public SpokeSummary.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SpokeSummary.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SpokeSummary getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SpokeSummary> parser()
    • getParserForType

      public com.google.protobuf.Parser<SpokeSummary> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public SpokeSummary getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder