Class ListRegistrationsResponse.Builder (1.44.0)

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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.domains.v1beta1.Registration>
Returns
Type Description
ListRegistrationsResponse.Builder

addRegistrations(Registration value)

public ListRegistrationsResponse.Builder addRegistrations(Registration value)

A list of Registrations.

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

Parameter
Name Description
value Registration
Returns
Type Description
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
Name Description
builderForValue Registration.Builder
Returns
Type Description
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
Name Description
index int
value Registration
Returns
Type Description
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
Name Description
index int
builderForValue Registration.Builder
Returns
Type Description
ListRegistrationsResponse.Builder

addRegistrationsBuilder()

public Registration.Builder addRegistrationsBuilder()

A list of Registrations.

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

Returns
Type Description
Registration.Builder

addRegistrationsBuilder(int index)

public Registration.Builder addRegistrationsBuilder(int index)

A list of Registrations.

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

Parameter
Name Description
index int
Returns
Type Description
Registration.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListRegistrationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListRegistrationsResponse.Builder
Overrides

build()

public ListRegistrationsResponse build()
Returns
Type Description
ListRegistrationsResponse

buildPartial()

public ListRegistrationsResponse buildPartial()
Returns
Type Description
ListRegistrationsResponse

clear()

public ListRegistrationsResponse.Builder clear()
Returns
Type Description
ListRegistrationsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListRegistrationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ListRegistrationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListRegistrationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListRegistrationsResponse.Builder
Overrides

clearRegistrations()

public ListRegistrationsResponse.Builder clearRegistrations()

A list of Registrations.

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

Returns
Type Description
ListRegistrationsResponse.Builder

clone()

public ListRegistrationsResponse.Builder clone()
Returns
Type Description
ListRegistrationsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListRegistrationsResponse getDefaultInstanceForType()
Returns
Type Description
ListRegistrationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
Registration

getRegistrationsBuilder(int index)

public Registration.Builder getRegistrationsBuilder(int index)

A list of Registrations.

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

Parameter
Name Description
index int
Returns
Type Description
Registration.Builder

getRegistrationsBuilderList()

public List<Registration.Builder> getRegistrationsBuilderList()

A list of Registrations.

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

Returns
Type Description
List<Builder>

getRegistrationsCount()

public int getRegistrationsCount()

A list of Registrations.

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

Returns
Type Description
int

getRegistrationsList()

public List<Registration> getRegistrationsList()

A list of Registrations.

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

Returns
Type Description
List<Registration>

getRegistrationsOrBuilder(int index)

public RegistrationOrBuilder getRegistrationsOrBuilder(int index)

A list of Registrations.

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

Parameter
Name Description
index int
Returns
Type Description
RegistrationOrBuilder

getRegistrationsOrBuilderList()

public List<? extends RegistrationOrBuilder> getRegistrationsOrBuilderList()

A list of Registrations.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListRegistrationsResponse other)

public ListRegistrationsResponse.Builder mergeFrom(ListRegistrationsResponse other)
Parameter
Name Description
other ListRegistrationsResponse
Returns
Type Description
ListRegistrationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListRegistrationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRegistrationsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListRegistrationsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListRegistrationsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRegistrationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
ListRegistrationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListRegistrationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
index int
value Registration
Returns
Type Description
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
Name Description
index int
builderForValue Registration.Builder
Returns
Type Description
ListRegistrationsResponse.Builder

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

public ListRegistrationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListRegistrationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListRegistrationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListRegistrationsResponse.Builder
Overrides