Class ListDomainsResponse.Builder

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

public static final class ListDomainsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListDomainsResponse.Builder> implements ListDomainsResponseOrBuilder
 Response message for
 [ListDomains][google.cloud.managedidentities.v1.ListDomains]
 
Protobuf type google.cloud.managedidentities.v1.ListDomainsResponse
  • 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<ListDomainsResponse.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<ListDomainsResponse.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<ListDomainsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListDomainsResponse.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<ListDomainsResponse.Builder>
      Throws:
      IOException
    • getDomainsList

      public List<Domain> getDomainsList()
       A list of Managed Identities Service domains in the project.
       
      repeated .google.cloud.managedidentities.v1.Domain domains = 1;
      Specified by:
      getDomainsList in interface ListDomainsResponseOrBuilder
    • getDomainsCount

      public int getDomainsCount()
       A list of Managed Identities Service domains in the project.
       
      repeated .google.cloud.managedidentities.v1.Domain domains = 1;
      Specified by:
      getDomainsCount in interface ListDomainsResponseOrBuilder
    • getDomains

      public Domain getDomains(int index)
       A list of Managed Identities Service domains in the project.
       
      repeated .google.cloud.managedidentities.v1.Domain domains = 1;
      Specified by:
      getDomains in interface ListDomainsResponseOrBuilder
    • setDomains

      public ListDomainsResponse.Builder setDomains(int index, Domain value)
       A list of Managed Identities Service domains in the project.
       
      repeated .google.cloud.managedidentities.v1.Domain domains = 1;
    • setDomains

      public ListDomainsResponse.Builder setDomains(int index, Domain.Builder builderForValue)
       A list of Managed Identities Service domains in the project.
       
      repeated .google.cloud.managedidentities.v1.Domain domains = 1;
    • addDomains

      public ListDomainsResponse.Builder addDomains(Domain value)
       A list of Managed Identities Service domains in the project.
       
      repeated .google.cloud.managedidentities.v1.Domain domains = 1;
    • addDomains

      public ListDomainsResponse.Builder addDomains(int index, Domain value)
       A list of Managed Identities Service domains in the project.
       
      repeated .google.cloud.managedidentities.v1.Domain domains = 1;
    • addDomains

      public ListDomainsResponse.Builder addDomains(Domain.Builder builderForValue)
       A list of Managed Identities Service domains in the project.
       
      repeated .google.cloud.managedidentities.v1.Domain domains = 1;
    • addDomains

      public ListDomainsResponse.Builder addDomains(int index, Domain.Builder builderForValue)
       A list of Managed Identities Service domains in the project.
       
      repeated .google.cloud.managedidentities.v1.Domain domains = 1;
    • addAllDomains

      public ListDomainsResponse.Builder addAllDomains(Iterable<? extends Domain> values)
       A list of Managed Identities Service domains in the project.
       
      repeated .google.cloud.managedidentities.v1.Domain domains = 1;
    • clearDomains

      public ListDomainsResponse.Builder clearDomains()
       A list of Managed Identities Service domains in the project.
       
      repeated .google.cloud.managedidentities.v1.Domain domains = 1;
    • removeDomains

      public ListDomainsResponse.Builder removeDomains(int index)
       A list of Managed Identities Service domains in the project.
       
      repeated .google.cloud.managedidentities.v1.Domain domains = 1;
    • getDomainsBuilder

      public Domain.Builder getDomainsBuilder(int index)
       A list of Managed Identities Service domains in the project.
       
      repeated .google.cloud.managedidentities.v1.Domain domains = 1;
    • getDomainsOrBuilder

      public DomainOrBuilder getDomainsOrBuilder(int index)
       A list of Managed Identities Service domains in the project.
       
      repeated .google.cloud.managedidentities.v1.Domain domains = 1;
      Specified by:
      getDomainsOrBuilder in interface ListDomainsResponseOrBuilder
    • getDomainsOrBuilderList

      public List<? extends DomainOrBuilder> getDomainsOrBuilderList()
       A list of Managed Identities Service domains in the project.
       
      repeated .google.cloud.managedidentities.v1.Domain domains = 1;
      Specified by:
      getDomainsOrBuilderList in interface ListDomainsResponseOrBuilder
    • addDomainsBuilder

      public Domain.Builder addDomainsBuilder()
       A list of Managed Identities Service domains in the project.
       
      repeated .google.cloud.managedidentities.v1.Domain domains = 1;
    • addDomainsBuilder

      public Domain.Builder addDomainsBuilder(int index)
       A list of Managed Identities Service domains in the project.
       
      repeated .google.cloud.managedidentities.v1.Domain domains = 1;
    • getDomainsBuilderList

      public List<Domain.Builder> getDomainsBuilderList()
       A list of Managed Identities Service domains in the project.
       
      repeated .google.cloud.managedidentities.v1.Domain domains = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListDomainsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListDomainsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListDomainsResponse.Builder setNextPageToken(String value)
       A token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListDomainsResponse.Builder clearNextPageToken()
       A token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListDomainsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      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 that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListDomainsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

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

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

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

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

      public ListDomainsResponse.Builder clearUnreachable()
       A list of locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

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