Class ListDnsAuthorizationsResponse.Builder

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

public static final class ListDnsAuthorizationsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListDnsAuthorizationsResponse.Builder> implements ListDnsAuthorizationsResponseOrBuilder
 Response for the `ListDnsAuthorizations` method.
 
Protobuf type google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse
  • 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<ListDnsAuthorizationsResponse.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<ListDnsAuthorizationsResponse.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<ListDnsAuthorizationsResponse.Builder>
    • getDefaultInstanceForType

      public ListDnsAuthorizationsResponse 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 ListDnsAuthorizationsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public ListDnsAuthorizationsResponse.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<ListDnsAuthorizationsResponse.Builder>
      Throws:
      IOException
    • getDnsAuthorizationsList

      public List<DnsAuthorization> getDnsAuthorizationsList()
       A list of dns authorizations for the parent resource.
       
      repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;
      Specified by:
      getDnsAuthorizationsList in interface ListDnsAuthorizationsResponseOrBuilder
    • getDnsAuthorizationsCount

      public int getDnsAuthorizationsCount()
       A list of dns authorizations for the parent resource.
       
      repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;
      Specified by:
      getDnsAuthorizationsCount in interface ListDnsAuthorizationsResponseOrBuilder
    • getDnsAuthorizations

      public DnsAuthorization getDnsAuthorizations(int index)
       A list of dns authorizations for the parent resource.
       
      repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;
      Specified by:
      getDnsAuthorizations in interface ListDnsAuthorizationsResponseOrBuilder
    • setDnsAuthorizations

      public ListDnsAuthorizationsResponse.Builder setDnsAuthorizations(int index, DnsAuthorization value)
       A list of dns authorizations for the parent resource.
       
      repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;
    • setDnsAuthorizations

      public ListDnsAuthorizationsResponse.Builder setDnsAuthorizations(int index, DnsAuthorization.Builder builderForValue)
       A list of dns authorizations for the parent resource.
       
      repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;
    • addDnsAuthorizations

      public ListDnsAuthorizationsResponse.Builder addDnsAuthorizations(DnsAuthorization value)
       A list of dns authorizations for the parent resource.
       
      repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;
    • addDnsAuthorizations

      public ListDnsAuthorizationsResponse.Builder addDnsAuthorizations(int index, DnsAuthorization value)
       A list of dns authorizations for the parent resource.
       
      repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;
    • addDnsAuthorizations

      public ListDnsAuthorizationsResponse.Builder addDnsAuthorizations(DnsAuthorization.Builder builderForValue)
       A list of dns authorizations for the parent resource.
       
      repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;
    • addDnsAuthorizations

      public ListDnsAuthorizationsResponse.Builder addDnsAuthorizations(int index, DnsAuthorization.Builder builderForValue)
       A list of dns authorizations for the parent resource.
       
      repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;
    • addAllDnsAuthorizations

      public ListDnsAuthorizationsResponse.Builder addAllDnsAuthorizations(Iterable<? extends DnsAuthorization> values)
       A list of dns authorizations for the parent resource.
       
      repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;
    • clearDnsAuthorizations

      public ListDnsAuthorizationsResponse.Builder clearDnsAuthorizations()
       A list of dns authorizations for the parent resource.
       
      repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;
    • removeDnsAuthorizations

      public ListDnsAuthorizationsResponse.Builder removeDnsAuthorizations(int index)
       A list of dns authorizations for the parent resource.
       
      repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;
    • getDnsAuthorizationsBuilder

      public DnsAuthorization.Builder getDnsAuthorizationsBuilder(int index)
       A list of dns authorizations for the parent resource.
       
      repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;
    • getDnsAuthorizationsOrBuilder

      public DnsAuthorizationOrBuilder getDnsAuthorizationsOrBuilder(int index)
       A list of dns authorizations for the parent resource.
       
      repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;
      Specified by:
      getDnsAuthorizationsOrBuilder in interface ListDnsAuthorizationsResponseOrBuilder
    • getDnsAuthorizationsOrBuilderList

      public List<? extends DnsAuthorizationOrBuilder> getDnsAuthorizationsOrBuilderList()
       A list of dns authorizations for the parent resource.
       
      repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;
      Specified by:
      getDnsAuthorizationsOrBuilderList in interface ListDnsAuthorizationsResponseOrBuilder
    • addDnsAuthorizationsBuilder

      public DnsAuthorization.Builder addDnsAuthorizationsBuilder()
       A list of dns authorizations for the parent resource.
       
      repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;
    • addDnsAuthorizationsBuilder

      public DnsAuthorization.Builder addDnsAuthorizationsBuilder(int index)
       A list of dns authorizations for the parent resource.
       
      repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;
    • getDnsAuthorizationsBuilderList

      public List<DnsAuthorization.Builder> getDnsAuthorizationsBuilderList()
       A list of dns authorizations for the parent resource.
       
      repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;
    • getNextPageToken

      public String getNextPageToken()
       If there might be more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token`.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListDnsAuthorizationsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       If there might be more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token`.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListDnsAuthorizationsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListDnsAuthorizationsResponse.Builder setNextPageToken(String value)
       If there might be more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token`.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListDnsAuthorizationsResponse.Builder clearNextPageToken()
       If there might be more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token`.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListDnsAuthorizationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       If there might be more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token`.
       
      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()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListDnsAuthorizationsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListDnsAuthorizationsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListDnsAuthorizationsResponseOrBuilder
      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)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListDnsAuthorizationsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListDnsAuthorizationsResponse.Builder setUnreachable(int index, String value)
       Locations 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 ListDnsAuthorizationsResponse.Builder addUnreachable(String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListDnsAuthorizationsResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListDnsAuthorizationsResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListDnsAuthorizationsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.