Class ListCertificateRevocationListsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListCertificateRevocationListsResponse.Builder>
com.google.cloud.security.privateca.v1.ListCertificateRevocationListsResponse.Builder
All Implemented Interfaces:
ListCertificateRevocationListsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListCertificateRevocationListsResponse

public static final class ListCertificateRevocationListsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListCertificateRevocationListsResponse.Builder> implements ListCertificateRevocationListsResponseOrBuilder
 Response message for
 [CertificateAuthorityService.ListCertificateRevocationLists][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateRevocationLists].
 
Protobuf type google.cloud.security.privateca.v1.ListCertificateRevocationListsResponse
  • 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.Builder<ListCertificateRevocationListsResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ListCertificateRevocationListsResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListCertificateRevocationListsResponse.Builder>
    • getDefaultInstanceForType

      public ListCertificateRevocationListsResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListCertificateRevocationListsResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListCertificateRevocationListsResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListCertificateRevocationListsResponse.Builder>
    • mergeFrom

      public ListCertificateRevocationListsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListCertificateRevocationListsResponse.Builder>
      Throws:
      IOException
    • getCertificateRevocationListsList

      public List<CertificateRevocationList> getCertificateRevocationListsList()
       The list of
       [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
       
      repeated .google.cloud.security.privateca.v1.CertificateRevocationList certificate_revocation_lists = 1;
      Specified by:
      getCertificateRevocationListsList in interface ListCertificateRevocationListsResponseOrBuilder
    • getCertificateRevocationListsCount

      public int getCertificateRevocationListsCount()
       The list of
       [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
       
      repeated .google.cloud.security.privateca.v1.CertificateRevocationList certificate_revocation_lists = 1;
      Specified by:
      getCertificateRevocationListsCount in interface ListCertificateRevocationListsResponseOrBuilder
    • getCertificateRevocationLists

      public CertificateRevocationList getCertificateRevocationLists(int index)
       The list of
       [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
       
      repeated .google.cloud.security.privateca.v1.CertificateRevocationList certificate_revocation_lists = 1;
      Specified by:
      getCertificateRevocationLists in interface ListCertificateRevocationListsResponseOrBuilder
    • setCertificateRevocationLists

      public ListCertificateRevocationListsResponse.Builder setCertificateRevocationLists(int index, CertificateRevocationList value)
       The list of
       [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
       
      repeated .google.cloud.security.privateca.v1.CertificateRevocationList certificate_revocation_lists = 1;
    • setCertificateRevocationLists

      public ListCertificateRevocationListsResponse.Builder setCertificateRevocationLists(int index, CertificateRevocationList.Builder builderForValue)
       The list of
       [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
       
      repeated .google.cloud.security.privateca.v1.CertificateRevocationList certificate_revocation_lists = 1;
    • addCertificateRevocationLists

      public ListCertificateRevocationListsResponse.Builder addCertificateRevocationLists(CertificateRevocationList value)
       The list of
       [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
       
      repeated .google.cloud.security.privateca.v1.CertificateRevocationList certificate_revocation_lists = 1;
    • addCertificateRevocationLists

      public ListCertificateRevocationListsResponse.Builder addCertificateRevocationLists(int index, CertificateRevocationList value)
       The list of
       [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
       
      repeated .google.cloud.security.privateca.v1.CertificateRevocationList certificate_revocation_lists = 1;
    • addCertificateRevocationLists

      public ListCertificateRevocationListsResponse.Builder addCertificateRevocationLists(CertificateRevocationList.Builder builderForValue)
       The list of
       [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
       
      repeated .google.cloud.security.privateca.v1.CertificateRevocationList certificate_revocation_lists = 1;
    • addCertificateRevocationLists

      public ListCertificateRevocationListsResponse.Builder addCertificateRevocationLists(int index, CertificateRevocationList.Builder builderForValue)
       The list of
       [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
       
      repeated .google.cloud.security.privateca.v1.CertificateRevocationList certificate_revocation_lists = 1;
    • addAllCertificateRevocationLists

      public ListCertificateRevocationListsResponse.Builder addAllCertificateRevocationLists(Iterable<? extends CertificateRevocationList> values)
       The list of
       [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
       
      repeated .google.cloud.security.privateca.v1.CertificateRevocationList certificate_revocation_lists = 1;
    • clearCertificateRevocationLists

      public ListCertificateRevocationListsResponse.Builder clearCertificateRevocationLists()
       The list of
       [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
       
      repeated .google.cloud.security.privateca.v1.CertificateRevocationList certificate_revocation_lists = 1;
    • removeCertificateRevocationLists

      public ListCertificateRevocationListsResponse.Builder removeCertificateRevocationLists(int index)
       The list of
       [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
       
      repeated .google.cloud.security.privateca.v1.CertificateRevocationList certificate_revocation_lists = 1;
    • getCertificateRevocationListsBuilder

      public CertificateRevocationList.Builder getCertificateRevocationListsBuilder(int index)
       The list of
       [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
       
      repeated .google.cloud.security.privateca.v1.CertificateRevocationList certificate_revocation_lists = 1;
    • getCertificateRevocationListsOrBuilder

      public CertificateRevocationListOrBuilder getCertificateRevocationListsOrBuilder(int index)
       The list of
       [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
       
      repeated .google.cloud.security.privateca.v1.CertificateRevocationList certificate_revocation_lists = 1;
      Specified by:
      getCertificateRevocationListsOrBuilder in interface ListCertificateRevocationListsResponseOrBuilder
    • getCertificateRevocationListsOrBuilderList

      public List<? extends CertificateRevocationListOrBuilder> getCertificateRevocationListsOrBuilderList()
       The list of
       [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
       
      repeated .google.cloud.security.privateca.v1.CertificateRevocationList certificate_revocation_lists = 1;
      Specified by:
      getCertificateRevocationListsOrBuilderList in interface ListCertificateRevocationListsResponseOrBuilder
    • addCertificateRevocationListsBuilder

      public CertificateRevocationList.Builder addCertificateRevocationListsBuilder()
       The list of
       [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
       
      repeated .google.cloud.security.privateca.v1.CertificateRevocationList certificate_revocation_lists = 1;
    • addCertificateRevocationListsBuilder

      public CertificateRevocationList.Builder addCertificateRevocationListsBuilder(int index)
       The list of
       [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
       
      repeated .google.cloud.security.privateca.v1.CertificateRevocationList certificate_revocation_lists = 1;
    • getCertificateRevocationListsBuilderList

      public List<CertificateRevocationList.Builder> getCertificateRevocationListsBuilderList()
       The list of
       [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
       
      repeated .google.cloud.security.privateca.v1.CertificateRevocationList certificate_revocation_lists = 1;
    • getNextPageToken

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

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

      public ListCertificateRevocationListsResponse.Builder setNextPageToken(String value)
       A token to retrieve next page of results. Pass this value in
       [ListCertificateRevocationListsRequest.page_token][google.cloud.security.privateca.v1.ListCertificateRevocationListsRequest.page_token]
       to retrieve the next page of results.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

       A token to retrieve next page of results. Pass this value in
       [ListCertificateRevocationListsRequest.page_token][google.cloud.security.privateca.v1.ListCertificateRevocationListsRequest.page_token]
       to retrieve the next page of results.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListCertificateRevocationListsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve next page of results. Pass this value in
       [ListCertificateRevocationListsRequest.page_token][google.cloud.security.privateca.v1.ListCertificateRevocationListsRequest.page_token]
       to retrieve the next page of results.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       A list of locations (e.g. "us-west1") that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListCertificateRevocationListsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       A list of locations (e.g. "us-west1") that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListCertificateRevocationListsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       A list of locations (e.g. "us-west1") that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListCertificateRevocationListsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       A list of locations (e.g. "us-west1") that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListCertificateRevocationListsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListCertificateRevocationListsResponse.Builder setUnreachable(int index, String value)
       A list of locations (e.g. "us-west1") that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

       A list of locations (e.g. "us-west1") that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

       A list of locations (e.g. "us-west1") that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

       A list of locations (e.g. "us-west1") that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListCertificateRevocationListsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       A list of locations (e.g. "us-west1") that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.