Class ListCryptoKeyVersionsResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.kms.v1.ListCryptoKeyVersionsResponse
All Implemented Interfaces:
ListCryptoKeyVersionsResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ListCryptoKeyVersionsResponse extends com.google.protobuf.GeneratedMessage implements ListCryptoKeyVersionsResponseOrBuilder
 Response message for
 [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions].
 
Protobuf type google.cloud.kms.v1.ListCryptoKeyVersionsResponse
See Also:
  • Field Details

    • CRYPTO_KEY_VERSIONS_FIELD_NUMBER

      public static final int CRYPTO_KEY_VERSIONS_FIELD_NUMBER
      See Also:
    • NEXT_PAGE_TOKEN_FIELD_NUMBER

      public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
      See Also:
    • TOTAL_SIZE_FIELD_NUMBER

      public static final int TOTAL_SIZE_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
    • getCryptoKeyVersionsList

      public List<CryptoKeyVersion> getCryptoKeyVersionsList()
       The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
       
      repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
      Specified by:
      getCryptoKeyVersionsList in interface ListCryptoKeyVersionsResponseOrBuilder
    • getCryptoKeyVersionsOrBuilderList

      public List<? extends CryptoKeyVersionOrBuilder> getCryptoKeyVersionsOrBuilderList()
       The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
       
      repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
      Specified by:
      getCryptoKeyVersionsOrBuilderList in interface ListCryptoKeyVersionsResponseOrBuilder
    • getCryptoKeyVersionsCount

      public int getCryptoKeyVersionsCount()
       The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
       
      repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
      Specified by:
      getCryptoKeyVersionsCount in interface ListCryptoKeyVersionsResponseOrBuilder
    • getCryptoKeyVersions

      public CryptoKeyVersion getCryptoKeyVersions(int index)
       The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
       
      repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
      Specified by:
      getCryptoKeyVersions in interface ListCryptoKeyVersionsResponseOrBuilder
    • getCryptoKeyVersionsOrBuilder

      public CryptoKeyVersionOrBuilder getCryptoKeyVersionsOrBuilder(int index)
       The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
       
      repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
      Specified by:
      getCryptoKeyVersionsOrBuilder in interface ListCryptoKeyVersionsResponseOrBuilder
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve next page of results. Pass this value in
       [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token]
       to retrieve the next page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListCryptoKeyVersionsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to retrieve next page of results. Pass this value in
       [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token]
       to retrieve the next page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListCryptoKeyVersionsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • getTotalSize

      public int getTotalSize()
       The total number of
       [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the
       query.
      
       This field is not populated if
       [ListCryptoKeyVersionsRequest.filter][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.filter]
       is applied.
       
      int32 total_size = 3;
      Specified by:
      getTotalSize in interface ListCryptoKeyVersionsResponseOrBuilder
      Returns:
      The totalSize.
    • 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 ListCryptoKeyVersionsResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ListCryptoKeyVersionsResponse.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static ListCryptoKeyVersionsResponse getDefaultInstance()
    • parser

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

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