Class ListRegistrationsRequest.Builder (1.10.0)

public static final class ListRegistrationsRequest.Builder extends GeneratedMessageV3.Builder<ListRegistrationsRequest.Builder> implements ListRegistrationsRequestOrBuilder

Request for the ListRegistrations method.

Protobuf type google.cloud.domains.v1alpha2.ListRegistrationsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListRegistrationsRequest build()
Returns
TypeDescription
ListRegistrationsRequest

buildPartial()

public ListRegistrationsRequest buildPartial()
Returns
TypeDescription
ListRegistrationsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ListRegistrationsRequest.Builder clearFilter()

Filter expression to restrict the Registrations returned. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, a boolean, or an enum value. The comparison operator should be one of =, !=, >, <, >=, <=, or : for prefix or wildcard matches. For example, to filter to a specific domain name, use an expression like domainName="example.com". You can also check for the existence of a field; for example, to find domains using custom DNS settings, use an expression like dnsSettings.customDns:. You can also create compound filters by combining expressions with the AND and OR operators. For example, to find domains that are suspended or have specific issues flagged, use an expression like (state=SUSPENDED) OR (issue:).

string filter = 4;

Returns
TypeDescription
ListRegistrationsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListRegistrationsRequest.Builder clearPageSize()

Maximum number of results to return.

int32 page_size = 2;

Returns
TypeDescription
ListRegistrationsRequest.Builder

This builder for chaining.

clearPageToken()

public ListRegistrationsRequest.Builder clearPageToken()

When set to the next_page_token from a prior response, provides the next page of results.

string page_token = 3;

Returns
TypeDescription
ListRegistrationsRequest.Builder

This builder for chaining.

clearParent()

public ListRegistrationsRequest.Builder clearParent()

Required. The project and location from which to list Registrations, specified in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ListRegistrationsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListRegistrationsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListRegistrationsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public String getFilter()

Filter expression to restrict the Registrations returned. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, a boolean, or an enum value. The comparison operator should be one of =, !=, >, <, >=, <=, or : for prefix or wildcard matches. For example, to filter to a specific domain name, use an expression like domainName="example.com". You can also check for the existence of a field; for example, to find domains using custom DNS settings, use an expression like dnsSettings.customDns:. You can also create compound filters by combining expressions with the AND and OR operators. For example, to find domains that are suspended or have specific issues flagged, use an expression like (state=SUSPENDED) OR (issue:).

string filter = 4;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Filter expression to restrict the Registrations returned. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, a boolean, or an enum value. The comparison operator should be one of =, !=, >, <, >=, <=, or : for prefix or wildcard matches. For example, to filter to a specific domain name, use an expression like domainName="example.com". You can also check for the existence of a field; for example, to find domains using custom DNS settings, use an expression like dnsSettings.customDns:. You can also create compound filters by combining expressions with the AND and OR operators. For example, to find domains that are suspended or have specific issues flagged, use an expression like (state=SUSPENDED) OR (issue:).

string filter = 4;

Returns
TypeDescription
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

Maximum number of results to return.

int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

When set to the next_page_token from a prior response, provides the next page of results.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

When set to the next_page_token from a prior response, provides the next page of results.

string page_token = 3;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The project and location from which to list Registrations, specified in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The project and location from which to list Registrations, specified in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListRegistrationsRequest other)

public ListRegistrationsRequest.Builder mergeFrom(ListRegistrationsRequest other)
Parameter
NameDescription
otherListRegistrationsRequest
Returns
TypeDescription
ListRegistrationsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public ListRegistrationsRequest.Builder setFilter(String value)

Filter expression to restrict the Registrations returned. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, a boolean, or an enum value. The comparison operator should be one of =, !=, >, <, >=, <=, or : for prefix or wildcard matches. For example, to filter to a specific domain name, use an expression like domainName="example.com". You can also check for the existence of a field; for example, to find domains using custom DNS settings, use an expression like dnsSettings.customDns:. You can also create compound filters by combining expressions with the AND and OR operators. For example, to find domains that are suspended or have specific issues flagged, use an expression like (state=SUSPENDED) OR (issue:).

string filter = 4;

Parameter
NameDescription
valueString

The filter to set.

Returns
TypeDescription
ListRegistrationsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListRegistrationsRequest.Builder setFilterBytes(ByteString value)

Filter expression to restrict the Registrations returned. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, a boolean, or an enum value. The comparison operator should be one of =, !=, >, <, >=, <=, or : for prefix or wildcard matches. For example, to filter to a specific domain name, use an expression like domainName="example.com". You can also check for the existence of a field; for example, to find domains using custom DNS settings, use an expression like dnsSettings.customDns:. You can also create compound filters by combining expressions with the AND and OR operators. For example, to find domains that are suspended or have specific issues flagged, use an expression like (state=SUSPENDED) OR (issue:).

string filter = 4;

Parameter
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
ListRegistrationsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListRegistrationsRequest.Builder setPageSize(int value)

Maximum number of results to return.

int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListRegistrationsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListRegistrationsRequest.Builder setPageToken(String value)

When set to the next_page_token from a prior response, provides the next page of results.

string page_token = 3;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListRegistrationsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListRegistrationsRequest.Builder setPageTokenBytes(ByteString value)

When set to the next_page_token from a prior response, provides the next page of results.

string page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListRegistrationsRequest.Builder

This builder for chaining.

setParent(String value)

public ListRegistrationsRequest.Builder setParent(String value)

Required. The project and location from which to list Registrations, specified in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListRegistrationsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListRegistrationsRequest.Builder setParentBytes(ByteString value)

Required. The project and location from which to list Registrations, specified in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListRegistrationsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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