Class ListRegistrationsResponse.Builder (0.6.1)

public static final class ListRegistrationsResponse.Builder extends GeneratedMessageV3.Builder<ListRegistrationsResponse.Builder> implements ListRegistrationsResponseOrBuilder

Response for the ListRegistrations method.

Protobuf type google.cloud.domains.v1beta1.ListRegistrationsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllRegistrations(Iterable<? extends Registration> values)

public ListRegistrationsResponse.Builder addAllRegistrations(Iterable<? extends Registration> values)

A list of Registrations.

repeated .google.cloud.domains.v1beta1.Registration registrations = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.domains.v1beta1.Registration>
Returns
TypeDescription
ListRegistrationsResponse.Builder

addRegistrations(Registration value)

public ListRegistrationsResponse.Builder addRegistrations(Registration value)

A list of Registrations.

repeated .google.cloud.domains.v1beta1.Registration registrations = 1;

Parameter
NameDescription
valueRegistration
Returns
TypeDescription
ListRegistrationsResponse.Builder

addRegistrations(Registration.Builder builderForValue)

public ListRegistrationsResponse.Builder addRegistrations(Registration.Builder builderForValue)

A list of Registrations.

repeated .google.cloud.domains.v1beta1.Registration registrations = 1;

Parameter
NameDescription
builderForValueRegistration.Builder
Returns
TypeDescription
ListRegistrationsResponse.Builder

addRegistrations(int index, Registration value)

public ListRegistrationsResponse.Builder addRegistrations(int index, Registration value)

A list of Registrations.

repeated .google.cloud.domains.v1beta1.Registration registrations = 1;

Parameters
NameDescription
indexint
valueRegistration
Returns
TypeDescription
ListRegistrationsResponse.Builder

addRegistrations(int index, Registration.Builder builderForValue)

public ListRegistrationsResponse.Builder addRegistrations(int index, Registration.Builder builderForValue)

A list of Registrations.

repeated .google.cloud.domains.v1beta1.Registration registrations = 1;

Parameters
NameDescription
indexint
builderForValueRegistration.Builder
Returns
TypeDescription
ListRegistrationsResponse.Builder

addRegistrationsBuilder()

public Registration.Builder addRegistrationsBuilder()

A list of Registrations.

repeated .google.cloud.domains.v1beta1.Registration registrations = 1;

Returns
TypeDescription
Registration.Builder

addRegistrationsBuilder(int index)

public Registration.Builder addRegistrationsBuilder(int index)

A list of Registrations.

repeated .google.cloud.domains.v1beta1.Registration registrations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Registration.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListRegistrationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListRegistrationsResponse.Builder
Overrides

build()

public ListRegistrationsResponse build()
Returns
TypeDescription
ListRegistrationsResponse

buildPartial()

public ListRegistrationsResponse buildPartial()
Returns
TypeDescription
ListRegistrationsResponse

clear()

public ListRegistrationsResponse.Builder clear()
Returns
TypeDescription
ListRegistrationsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListRegistrationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListRegistrationsResponse.Builder
Overrides

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
TypeDescription
ListRegistrationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListRegistrationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListRegistrationsResponse.Builder
Overrides

clearRegistrations()

public ListRegistrationsResponse.Builder clearRegistrations()

A list of Registrations.

repeated .google.cloud.domains.v1beta1.Registration registrations = 1;

Returns
TypeDescription
ListRegistrationsResponse.Builder

clone()

public ListRegistrationsResponse.Builder clone()
Returns
TypeDescription
ListRegistrationsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListRegistrationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListRegistrationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

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

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getRegistrations(int index)

public Registration getRegistrations(int index)

A list of Registrations.

repeated .google.cloud.domains.v1beta1.Registration registrations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Registration

getRegistrationsBuilder(int index)

public Registration.Builder getRegistrationsBuilder(int index)

A list of Registrations.

repeated .google.cloud.domains.v1beta1.Registration registrations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Registration.Builder

getRegistrationsBuilderList()

public List<Registration.Builder> getRegistrationsBuilderList()

A list of Registrations.

repeated .google.cloud.domains.v1beta1.Registration registrations = 1;

Returns
TypeDescription
List<Builder>

getRegistrationsCount()

public int getRegistrationsCount()

A list of Registrations.

repeated .google.cloud.domains.v1beta1.Registration registrations = 1;

Returns
TypeDescription
int

getRegistrationsList()

public List<Registration> getRegistrationsList()

A list of Registrations.

repeated .google.cloud.domains.v1beta1.Registration registrations = 1;

Returns
TypeDescription
List<Registration>

getRegistrationsOrBuilder(int index)

public RegistrationOrBuilder getRegistrationsOrBuilder(int index)

A list of Registrations.

repeated .google.cloud.domains.v1beta1.Registration registrations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RegistrationOrBuilder

getRegistrationsOrBuilderList()

public List<? extends RegistrationOrBuilder> getRegistrationsOrBuilderList()

A list of Registrations.

repeated .google.cloud.domains.v1beta1.Registration registrations = 1;

Returns
TypeDescription
List<? extends com.google.cloud.domains.v1beta1.RegistrationOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListRegistrationsResponse other)

public ListRegistrationsResponse.Builder mergeFrom(ListRegistrationsResponse other)
Parameter
NameDescription
otherListRegistrationsResponse
Returns
TypeDescription
ListRegistrationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListRegistrationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRegistrationsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListRegistrationsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListRegistrationsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRegistrationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListRegistrationsResponse.Builder
Overrides

removeRegistrations(int index)

public ListRegistrationsResponse.Builder removeRegistrations(int index)

A list of Registrations.

repeated .google.cloud.domains.v1beta1.Registration registrations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListRegistrationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListRegistrationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListRegistrationsResponse.Builder
Overrides

setNextPageToken(String value)

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;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListRegistrationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListRegistrationsResponse.Builder setNextPageTokenBytes(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;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListRegistrationsResponse.Builder

This builder for chaining.

setRegistrations(int index, Registration value)

public ListRegistrationsResponse.Builder setRegistrations(int index, Registration value)

A list of Registrations.

repeated .google.cloud.domains.v1beta1.Registration registrations = 1;

Parameters
NameDescription
indexint
valueRegistration
Returns
TypeDescription
ListRegistrationsResponse.Builder

setRegistrations(int index, Registration.Builder builderForValue)

public ListRegistrationsResponse.Builder setRegistrations(int index, Registration.Builder builderForValue)

A list of Registrations.

repeated .google.cloud.domains.v1beta1.Registration registrations = 1;

Parameters
NameDescription
indexint
builderForValueRegistration.Builder
Returns
TypeDescription
ListRegistrationsResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListRegistrationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListRegistrationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListRegistrationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListRegistrationsResponse.Builder
Overrides