Class RouterAggregatedList

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.RouterAggregatedList
All Implemented Interfaces:
RouterAggregatedListOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class RouterAggregatedList extends com.google.protobuf.GeneratedMessage implements RouterAggregatedListOrBuilder
 Contains a list of routers.
 
Protobuf type google.cloud.compute.v1.RouterAggregatedList
See Also:
  • Field Details

  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasId

      public boolean hasId()
       [Output Only] Unique identifier for the resource; defined by the server.
       
      optional string id = 3355;
      Specified by:
      hasId in interface RouterAggregatedListOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public String getId()
       [Output Only] Unique identifier for the resource; defined by the server.
       
      optional string id = 3355;
      Specified by:
      getId in interface RouterAggregatedListOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       [Output Only] Unique identifier for the resource; defined by the server.
       
      optional string id = 3355;
      Specified by:
      getIdBytes in interface RouterAggregatedListOrBuilder
      Returns:
      The bytes for id.
    • getItemsCount

      public int getItemsCount()
      Description copied from interface: RouterAggregatedListOrBuilder
       A list of Router resources.
       
      map<string, .google.cloud.compute.v1.RoutersScopedList> items = 100526016;
      Specified by:
      getItemsCount in interface RouterAggregatedListOrBuilder
    • containsItems

      public boolean containsItems(String key)
       A list of Router resources.
       
      map<string, .google.cloud.compute.v1.RoutersScopedList> items = 100526016;
      Specified by:
      containsItems in interface RouterAggregatedListOrBuilder
    • getItems

      Deprecated.
      Use getItemsMap() instead.
      Specified by:
      getItems in interface RouterAggregatedListOrBuilder
    • getItemsMap

      public Map<String,RoutersScopedList> getItemsMap()
       A list of Router resources.
       
      map<string, .google.cloud.compute.v1.RoutersScopedList> items = 100526016;
      Specified by:
      getItemsMap in interface RouterAggregatedListOrBuilder
    • getItemsOrDefault

      public RoutersScopedList getItemsOrDefault(String key, RoutersScopedList defaultValue)
       A list of Router resources.
       
      map<string, .google.cloud.compute.v1.RoutersScopedList> items = 100526016;
      Specified by:
      getItemsOrDefault in interface RouterAggregatedListOrBuilder
    • getItemsOrThrow

      public RoutersScopedList getItemsOrThrow(String key)
       A list of Router resources.
       
      map<string, .google.cloud.compute.v1.RoutersScopedList> items = 100526016;
      Specified by:
      getItemsOrThrow in interface RouterAggregatedListOrBuilder
    • hasKind

      public boolean hasKind()
       Output only. Type of resource.
       
      optional string kind = 3292052;
      Specified by:
      hasKind in interface RouterAggregatedListOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String getKind()
       Output only. Type of resource.
       
      optional string kind = 3292052;
      Specified by:
      getKind in interface RouterAggregatedListOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Output only. Type of resource.
       
      optional string kind = 3292052;
      Specified by:
      getKindBytes in interface RouterAggregatedListOrBuilder
      Returns:
      The bytes for kind.
    • hasNextPageToken

      public boolean hasNextPageToken()
       [Output Only] This token allows you to get the next page of results for
       list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
       the query parameter pageToken in the next list request.
       Subsequent list requests will have their own nextPageToken to
       continue paging through the results.
       
      optional string next_page_token = 79797525;
      Specified by:
      hasNextPageToken in interface RouterAggregatedListOrBuilder
      Returns:
      Whether the nextPageToken field is set.
    • getNextPageToken

      public String getNextPageToken()
       [Output Only] This token allows you to get the next page of results for
       list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
       the query parameter pageToken in the next list request.
       Subsequent list requests will have their own nextPageToken to
       continue paging through the results.
       
      optional string next_page_token = 79797525;
      Specified by:
      getNextPageToken in interface RouterAggregatedListOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       [Output Only] This token allows you to get the next page of results for
       list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
       the query parameter pageToken in the next list request.
       Subsequent list requests will have their own nextPageToken to
       continue paging through the results.
       
      optional string next_page_token = 79797525;
      Specified by:
      getNextPageTokenBytes in interface RouterAggregatedListOrBuilder
      Returns:
      The bytes for nextPageToken.
    • hasSelfLink

      public boolean hasSelfLink()
       Output only. [Output Only] Server-defined URL for this resource.
       
      optional string self_link = 456214797;
      Specified by:
      hasSelfLink in interface RouterAggregatedListOrBuilder
      Returns:
      Whether the selfLink field is set.
    • getSelfLink

      public String getSelfLink()
       Output only. [Output Only] Server-defined URL for this resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLink in interface RouterAggregatedListOrBuilder
      Returns:
      The selfLink.
    • getSelfLinkBytes

      public com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. [Output Only] Server-defined URL for this resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLinkBytes in interface RouterAggregatedListOrBuilder
      Returns:
      The bytes for selfLink.
    • getUnreachablesList

      public com.google.protobuf.ProtocolStringList getUnreachablesList()
       Output only. [Output Only] Unreachable resources.
       
      repeated string unreachables = 243372063;
      Specified by:
      getUnreachablesList in interface RouterAggregatedListOrBuilder
      Returns:
      A list containing the unreachables.
    • getUnreachablesCount

      public int getUnreachablesCount()
       Output only. [Output Only] Unreachable resources.
       
      repeated string unreachables = 243372063;
      Specified by:
      getUnreachablesCount in interface RouterAggregatedListOrBuilder
      Returns:
      The count of unreachables.
    • getUnreachables

      public String getUnreachables(int index)
       Output only. [Output Only] Unreachable resources.
       
      repeated string unreachables = 243372063;
      Specified by:
      getUnreachables in interface RouterAggregatedListOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachables at the given index.
    • getUnreachablesBytes

      public com.google.protobuf.ByteString getUnreachablesBytes(int index)
       Output only. [Output Only] Unreachable resources.
       
      repeated string unreachables = 243372063;
      Specified by:
      getUnreachablesBytes in interface RouterAggregatedListOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachables at the given index.
    • hasWarning

      public boolean hasWarning()
       [Output Only] Informational warning message.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      hasWarning in interface RouterAggregatedListOrBuilder
      Returns:
      Whether the warning field is set.
    • getWarning

      public Warning getWarning()
       [Output Only] Informational warning message.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarning in interface RouterAggregatedListOrBuilder
      Returns:
      The warning.
    • getWarningOrBuilder

      public WarningOrBuilder getWarningOrBuilder()
       [Output Only] Informational warning message.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarningOrBuilder in interface RouterAggregatedListOrBuilder
    • 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 RouterAggregatedList parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static RouterAggregatedList.Builder newBuilder()
    • newBuilder

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

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

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

      public static RouterAggregatedList getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<RouterAggregatedList> 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 RouterAggregatedList getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder