Class ListCertificateAuthoritiesResponse.Builder

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

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

      public ListCertificateAuthoritiesResponse 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

      public ListCertificateAuthoritiesResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListCertificateAuthoritiesResponse.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<ListCertificateAuthoritiesResponse.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<ListCertificateAuthoritiesResponse.Builder>
    • mergeFrom

      public ListCertificateAuthoritiesResponse.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<ListCertificateAuthoritiesResponse.Builder>
      Throws:
      IOException
    • getCertificateAuthoritiesList

      public List<CertificateAuthority> getCertificateAuthoritiesList()
       The list of
       [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
       
      repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;
      Specified by:
      getCertificateAuthoritiesList in interface ListCertificateAuthoritiesResponseOrBuilder
    • getCertificateAuthoritiesCount

      public int getCertificateAuthoritiesCount()
       The list of
       [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
       
      repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;
      Specified by:
      getCertificateAuthoritiesCount in interface ListCertificateAuthoritiesResponseOrBuilder
    • getCertificateAuthorities

      public CertificateAuthority getCertificateAuthorities(int index)
       The list of
       [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
       
      repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;
      Specified by:
      getCertificateAuthorities in interface ListCertificateAuthoritiesResponseOrBuilder
    • setCertificateAuthorities

      public ListCertificateAuthoritiesResponse.Builder setCertificateAuthorities(int index, CertificateAuthority value)
       The list of
       [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
       
      repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;
    • setCertificateAuthorities

      public ListCertificateAuthoritiesResponse.Builder setCertificateAuthorities(int index, CertificateAuthority.Builder builderForValue)
       The list of
       [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
       
      repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;
    • addCertificateAuthorities

      public ListCertificateAuthoritiesResponse.Builder addCertificateAuthorities(CertificateAuthority value)
       The list of
       [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
       
      repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;
    • addCertificateAuthorities

      public ListCertificateAuthoritiesResponse.Builder addCertificateAuthorities(int index, CertificateAuthority value)
       The list of
       [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
       
      repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;
    • addCertificateAuthorities

      public ListCertificateAuthoritiesResponse.Builder addCertificateAuthorities(CertificateAuthority.Builder builderForValue)
       The list of
       [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
       
      repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;
    • addCertificateAuthorities

      public ListCertificateAuthoritiesResponse.Builder addCertificateAuthorities(int index, CertificateAuthority.Builder builderForValue)
       The list of
       [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
       
      repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;
    • addAllCertificateAuthorities

      public ListCertificateAuthoritiesResponse.Builder addAllCertificateAuthorities(Iterable<? extends CertificateAuthority> values)
       The list of
       [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
       
      repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;
    • clearCertificateAuthorities

      public ListCertificateAuthoritiesResponse.Builder clearCertificateAuthorities()
       The list of
       [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
       
      repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;
    • removeCertificateAuthorities

      public ListCertificateAuthoritiesResponse.Builder removeCertificateAuthorities(int index)
       The list of
       [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
       
      repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;
    • getCertificateAuthoritiesBuilder

      public CertificateAuthority.Builder getCertificateAuthoritiesBuilder(int index)
       The list of
       [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
       
      repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;
    • getCertificateAuthoritiesOrBuilder

      public CertificateAuthorityOrBuilder getCertificateAuthoritiesOrBuilder(int index)
       The list of
       [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
       
      repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;
      Specified by:
      getCertificateAuthoritiesOrBuilder in interface ListCertificateAuthoritiesResponseOrBuilder
    • getCertificateAuthoritiesOrBuilderList

      public List<? extends CertificateAuthorityOrBuilder> getCertificateAuthoritiesOrBuilderList()
       The list of
       [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
       
      repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;
      Specified by:
      getCertificateAuthoritiesOrBuilderList in interface ListCertificateAuthoritiesResponseOrBuilder
    • addCertificateAuthoritiesBuilder

      public CertificateAuthority.Builder addCertificateAuthoritiesBuilder()
       The list of
       [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
       
      repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;
    • addCertificateAuthoritiesBuilder

      public CertificateAuthority.Builder addCertificateAuthoritiesBuilder(int index)
       The list of
       [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
       
      repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;
    • getCertificateAuthoritiesBuilderList

      public List<CertificateAuthority.Builder> getCertificateAuthoritiesBuilderList()
       The list of
       [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
       
      repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;
    • getNextPageToken

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

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

      public ListCertificateAuthoritiesResponse.Builder setNextPageToken(String value)
       A token to retrieve next page of results. Pass this value in
       [ListCertificateAuthoritiesRequest.page_token][google.cloud.security.privateca.v1.ListCertificateAuthoritiesRequest.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

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

      public ListCertificateAuthoritiesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve next page of results. Pass this value in
       [ListCertificateAuthoritiesRequest.page_token][google.cloud.security.privateca.v1.ListCertificateAuthoritiesRequest.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 ListCertificateAuthoritiesResponseOrBuilder
      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 ListCertificateAuthoritiesResponseOrBuilder
      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 ListCertificateAuthoritiesResponseOrBuilder
      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 ListCertificateAuthoritiesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListCertificateAuthoritiesResponse.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

      public ListCertificateAuthoritiesResponse.Builder addUnreachable(String value)
       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

      public ListCertificateAuthoritiesResponse.Builder addAllUnreachable(Iterable<String> values)
       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

      public ListCertificateAuthoritiesResponse.Builder 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 ListCertificateAuthoritiesResponse.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.