Class CommitmentAggregatedList

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

@Generated public final class CommitmentAggregatedList extends com.google.protobuf.GeneratedMessage implements CommitmentAggregatedListOrBuilder
 
Protobuf type google.cloud.compute.v1.CommitmentAggregatedList
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 CommitmentAggregatedListOrBuilder
      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 CommitmentAggregatedListOrBuilder
      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 CommitmentAggregatedListOrBuilder
      Returns:
      The bytes for id.
    • getItemsCount

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

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

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

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

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

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

      public boolean hasKind()
       Output only. [Output Only] Type of resource. Alwayscompute#commitmentAggregatedList for aggregated lists of
       commitments.
       
      optional string kind = 3292052;
      Specified by:
      hasKind in interface CommitmentAggregatedListOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String getKind()
       Output only. [Output Only] Type of resource. Alwayscompute#commitmentAggregatedList for aggregated lists of
       commitments.
       
      optional string kind = 3292052;
      Specified by:
      getKind in interface CommitmentAggregatedListOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of resource. Alwayscompute#commitmentAggregatedList for aggregated lists of
       commitments.
       
      optional string kind = 3292052;
      Specified by:
      getKindBytes in interface CommitmentAggregatedListOrBuilder
      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 CommitmentAggregatedListOrBuilder
      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 CommitmentAggregatedListOrBuilder
      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 CommitmentAggregatedListOrBuilder
      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 CommitmentAggregatedListOrBuilder
      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 CommitmentAggregatedListOrBuilder
      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 CommitmentAggregatedListOrBuilder
      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 CommitmentAggregatedListOrBuilder
      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 CommitmentAggregatedListOrBuilder
      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 CommitmentAggregatedListOrBuilder
      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 CommitmentAggregatedListOrBuilder
      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 CommitmentAggregatedListOrBuilder
      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 CommitmentAggregatedListOrBuilder
      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 CommitmentAggregatedListOrBuilder
    • 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 CommitmentAggregatedList parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static CommitmentAggregatedList.Builder newBuilder()
    • newBuilder

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

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static CommitmentAggregatedList getDefaultInstance()
    • parser

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

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