Class ListCaPoolsResponse.Builder

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

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

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

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

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

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

      public ListCaPoolsResponse.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<ListCaPoolsResponse.Builder>
      Throws:
      IOException
    • getCaPoolsList

      public List<CaPool> getCaPoolsList()
       The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
       
      repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;
      Specified by:
      getCaPoolsList in interface ListCaPoolsResponseOrBuilder
    • getCaPoolsCount

      public int getCaPoolsCount()
       The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
       
      repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;
      Specified by:
      getCaPoolsCount in interface ListCaPoolsResponseOrBuilder
    • getCaPools

      public CaPool getCaPools(int index)
       The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
       
      repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;
      Specified by:
      getCaPools in interface ListCaPoolsResponseOrBuilder
    • setCaPools

      public ListCaPoolsResponse.Builder setCaPools(int index, CaPool value)
       The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
       
      repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;
    • setCaPools

      public ListCaPoolsResponse.Builder setCaPools(int index, CaPool.Builder builderForValue)
       The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
       
      repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;
    • addCaPools

      public ListCaPoolsResponse.Builder addCaPools(CaPool value)
       The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
       
      repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;
    • addCaPools

      public ListCaPoolsResponse.Builder addCaPools(int index, CaPool value)
       The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
       
      repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;
    • addCaPools

      public ListCaPoolsResponse.Builder addCaPools(CaPool.Builder builderForValue)
       The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
       
      repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;
    • addCaPools

      public ListCaPoolsResponse.Builder addCaPools(int index, CaPool.Builder builderForValue)
       The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
       
      repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;
    • addAllCaPools

      public ListCaPoolsResponse.Builder addAllCaPools(Iterable<? extends CaPool> values)
       The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
       
      repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;
    • clearCaPools

      public ListCaPoolsResponse.Builder clearCaPools()
       The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
       
      repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;
    • removeCaPools

      public ListCaPoolsResponse.Builder removeCaPools(int index)
       The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
       
      repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;
    • getCaPoolsBuilder

      public CaPool.Builder getCaPoolsBuilder(int index)
       The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
       
      repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;
    • getCaPoolsOrBuilder

      public CaPoolOrBuilder getCaPoolsOrBuilder(int index)
       The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
       
      repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;
      Specified by:
      getCaPoolsOrBuilder in interface ListCaPoolsResponseOrBuilder
    • getCaPoolsOrBuilderList

      public List<? extends CaPoolOrBuilder> getCaPoolsOrBuilderList()
       The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
       
      repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;
      Specified by:
      getCaPoolsOrBuilderList in interface ListCaPoolsResponseOrBuilder
    • addCaPoolsBuilder

      public CaPool.Builder addCaPoolsBuilder()
       The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
       
      repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;
    • addCaPoolsBuilder

      public CaPool.Builder addCaPoolsBuilder(int index)
       The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
       
      repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;
    • getCaPoolsBuilderList

      public List<CaPool.Builder> getCaPoolsBuilderList()
       The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
       
      repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 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 ListCaPoolsResponseOrBuilder
      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 ListCaPoolsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListCaPoolsResponse.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 ListCaPoolsResponse.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 ListCaPoolsResponse.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 ListCaPoolsResponseOrBuilder
      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 ListCaPoolsResponseOrBuilder
      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 ListCaPoolsResponseOrBuilder
      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 ListCaPoolsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

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