Class ListRegistrationsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListRegistrationsResponse.Builder>
com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.Builder
All Implemented Interfaces:
ListRegistrationsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListRegistrationsResponse

public static final class ListRegistrationsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListRegistrationsResponse.Builder> implements ListRegistrationsResponseOrBuilder
 Response for the `ListRegistrations` method.
 
Protobuf type google.cloud.domains.v1alpha2.ListRegistrationsResponse
  • 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<ListRegistrationsResponse.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<ListRegistrationsResponse.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<ListRegistrationsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListRegistrationsResponse.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<ListRegistrationsResponse.Builder>
      Throws:
      IOException
    • getRegistrationsList

      public List<Registration> getRegistrationsList()
       A list of `Registration`s.
       
      repeated .google.cloud.domains.v1alpha2.Registration registrations = 1;
      Specified by:
      getRegistrationsList in interface ListRegistrationsResponseOrBuilder
    • getRegistrationsCount

      public int getRegistrationsCount()
       A list of `Registration`s.
       
      repeated .google.cloud.domains.v1alpha2.Registration registrations = 1;
      Specified by:
      getRegistrationsCount in interface ListRegistrationsResponseOrBuilder
    • getRegistrations

      public Registration getRegistrations(int index)
       A list of `Registration`s.
       
      repeated .google.cloud.domains.v1alpha2.Registration registrations = 1;
      Specified by:
      getRegistrations in interface ListRegistrationsResponseOrBuilder
    • setRegistrations

      public ListRegistrationsResponse.Builder setRegistrations(int index, Registration value)
       A list of `Registration`s.
       
      repeated .google.cloud.domains.v1alpha2.Registration registrations = 1;
    • setRegistrations

      public ListRegistrationsResponse.Builder setRegistrations(int index, Registration.Builder builderForValue)
       A list of `Registration`s.
       
      repeated .google.cloud.domains.v1alpha2.Registration registrations = 1;
    • addRegistrations

      public ListRegistrationsResponse.Builder addRegistrations(Registration value)
       A list of `Registration`s.
       
      repeated .google.cloud.domains.v1alpha2.Registration registrations = 1;
    • addRegistrations

      public ListRegistrationsResponse.Builder addRegistrations(int index, Registration value)
       A list of `Registration`s.
       
      repeated .google.cloud.domains.v1alpha2.Registration registrations = 1;
    • addRegistrations

      public ListRegistrationsResponse.Builder addRegistrations(Registration.Builder builderForValue)
       A list of `Registration`s.
       
      repeated .google.cloud.domains.v1alpha2.Registration registrations = 1;
    • addRegistrations

      public ListRegistrationsResponse.Builder addRegistrations(int index, Registration.Builder builderForValue)
       A list of `Registration`s.
       
      repeated .google.cloud.domains.v1alpha2.Registration registrations = 1;
    • addAllRegistrations

      public ListRegistrationsResponse.Builder addAllRegistrations(Iterable<? extends Registration> values)
       A list of `Registration`s.
       
      repeated .google.cloud.domains.v1alpha2.Registration registrations = 1;
    • clearRegistrations

      public ListRegistrationsResponse.Builder clearRegistrations()
       A list of `Registration`s.
       
      repeated .google.cloud.domains.v1alpha2.Registration registrations = 1;
    • removeRegistrations

      public ListRegistrationsResponse.Builder removeRegistrations(int index)
       A list of `Registration`s.
       
      repeated .google.cloud.domains.v1alpha2.Registration registrations = 1;
    • getRegistrationsBuilder

      public Registration.Builder getRegistrationsBuilder(int index)
       A list of `Registration`s.
       
      repeated .google.cloud.domains.v1alpha2.Registration registrations = 1;
    • getRegistrationsOrBuilder

      public RegistrationOrBuilder getRegistrationsOrBuilder(int index)
       A list of `Registration`s.
       
      repeated .google.cloud.domains.v1alpha2.Registration registrations = 1;
      Specified by:
      getRegistrationsOrBuilder in interface ListRegistrationsResponseOrBuilder
    • getRegistrationsOrBuilderList

      public List<? extends RegistrationOrBuilder> getRegistrationsOrBuilderList()
       A list of `Registration`s.
       
      repeated .google.cloud.domains.v1alpha2.Registration registrations = 1;
      Specified by:
      getRegistrationsOrBuilderList in interface ListRegistrationsResponseOrBuilder
    • addRegistrationsBuilder

      public Registration.Builder addRegistrationsBuilder()
       A list of `Registration`s.
       
      repeated .google.cloud.domains.v1alpha2.Registration registrations = 1;
    • addRegistrationsBuilder

      public Registration.Builder addRegistrationsBuilder(int index)
       A list of `Registration`s.
       
      repeated .google.cloud.domains.v1alpha2.Registration registrations = 1;
    • getRegistrationsBuilderList

      public List<Registration.Builder> getRegistrationsBuilderList()
       A list of `Registration`s.
       
      repeated .google.cloud.domains.v1alpha2.Registration registrations = 1;
    • getNextPageToken

      public String getNextPageToken()
       When present, there are more results to retrieve. Set `page_token` to this
       value on a subsequent call to get the next page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListRegistrationsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       When present, there are more results to retrieve. Set `page_token` to this
       value on a subsequent call to get the next page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListRegistrationsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListRegistrationsResponse.Builder setNextPageToken(String value)
       When present, there are more results to retrieve. Set `page_token` to this
       value on a subsequent call to get the next page of results.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListRegistrationsResponse.Builder clearNextPageToken()
       When present, there are more results to retrieve. Set `page_token` to this
       value on a subsequent call to get the next page of results.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListRegistrationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       When present, there are more results to retrieve. Set `page_token` to this
       value on a subsequent call to get the next page of results.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.