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
Methods
addAllRegistrations(Iterable<? extends Registration> values)
public ListRegistrationsResponse.Builder addAllRegistrations(Iterable<? extends Registration> values)
A list of Registration
s.
repeated .google.cloud.domains.v1beta1.Registration registrations = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.domains.v1beta1.Registration>
|
Returns
addRegistrations(Registration value)
public ListRegistrationsResponse.Builder addRegistrations(Registration value)
A list of Registration
s.
repeated .google.cloud.domains.v1beta1.Registration registrations = 1;
Parameter
Returns
addRegistrations(Registration.Builder builderForValue)
public ListRegistrationsResponse.Builder addRegistrations(Registration.Builder builderForValue)
A list of Registration
s.
repeated .google.cloud.domains.v1beta1.Registration registrations = 1;
Parameter
Returns
addRegistrations(int index, Registration value)
public ListRegistrationsResponse.Builder addRegistrations(int index, Registration value)
A list of Registration
s.
repeated .google.cloud.domains.v1beta1.Registration registrations = 1;
Parameters
Returns
addRegistrations(int index, Registration.Builder builderForValue)
public ListRegistrationsResponse.Builder addRegistrations(int index, Registration.Builder builderForValue)
A list of Registration
s.
repeated .google.cloud.domains.v1beta1.Registration registrations = 1;
Parameters
Returns
addRegistrationsBuilder()
public Registration.Builder addRegistrationsBuilder()
A list of Registration
s.
repeated .google.cloud.domains.v1beta1.Registration registrations = 1;
Returns
addRegistrationsBuilder(int index)
public Registration.Builder addRegistrationsBuilder(int index)
A list of Registration
s.
repeated .google.cloud.domains.v1beta1.Registration registrations = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListRegistrationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListRegistrationsResponse build()
Returns
buildPartial()
public ListRegistrationsResponse buildPartial()
Returns
clear()
public ListRegistrationsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListRegistrationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListRegistrationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRegistrations()
public ListRegistrationsResponse.Builder clearRegistrations()
A list of Registration
s.
repeated .google.cloud.domains.v1beta1.Registration registrations = 1;
Returns
clone()
public ListRegistrationsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListRegistrationsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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 Registration
s.
repeated .google.cloud.domains.v1beta1.Registration registrations = 1;
Parameter
Returns
getRegistrationsBuilder(int index)
public Registration.Builder getRegistrationsBuilder(int index)
A list of Registration
s.
repeated .google.cloud.domains.v1beta1.Registration registrations = 1;
Parameter
Returns
getRegistrationsBuilderList()
public List<Registration.Builder> getRegistrationsBuilderList()
A list of Registration
s.
repeated .google.cloud.domains.v1beta1.Registration registrations = 1;
Returns
getRegistrationsCount()
public int getRegistrationsCount()
A list of Registration
s.
repeated .google.cloud.domains.v1beta1.Registration registrations = 1;
Returns
getRegistrationsList()
public List<Registration> getRegistrationsList()
A list of Registration
s.
repeated .google.cloud.domains.v1beta1.Registration registrations = 1;
Returns
getRegistrationsOrBuilder(int index)
public RegistrationOrBuilder getRegistrationsOrBuilder(int index)
A list of Registration
s.
repeated .google.cloud.domains.v1beta1.Registration registrations = 1;
Parameter
Returns
getRegistrationsOrBuilderList()
public List<? extends RegistrationOrBuilder> getRegistrationsOrBuilderList()
A list of Registration
s.
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListRegistrationsResponse other)
public ListRegistrationsResponse.Builder mergeFrom(ListRegistrationsResponse other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListRegistrationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListRegistrationsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListRegistrationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeRegistrations(int index)
public ListRegistrationsResponse.Builder removeRegistrations(int index)
A list of Registration
s.
repeated .google.cloud.domains.v1beta1.Registration registrations = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListRegistrationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRegistrations(int index, Registration value)
public ListRegistrationsResponse.Builder setRegistrations(int index, Registration value)
A list of Registration
s.
repeated .google.cloud.domains.v1beta1.Registration registrations = 1;
Parameters
Returns
setRegistrations(int index, Registration.Builder builderForValue)
public ListRegistrationsResponse.Builder setRegistrations(int index, Registration.Builder builderForValue)
A list of Registration
s.
repeated .google.cloud.domains.v1beta1.Registration registrations = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListRegistrationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListRegistrationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides