Class ListRegistrationsRequest.Builder (1.40.0)

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

Request for the ListRegistrations method.

Protobuf type google.cloud.domains.v1.ListRegistrationsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListRegistrationsRequest build()
Returns
Type Description
ListRegistrationsRequest

buildPartial()

public ListRegistrationsRequest buildPartial()
Returns
Type Description
ListRegistrationsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListRegistrationsRequest.Builder clearPageSize()

Maximum number of results to return.

int32 page_size = 2;

Returns
Type Description
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
Type Description
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
Type Description
ListRegistrationsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListRegistrationsRequest getDefaultInstanceForType()
Returns
Type Description
ListRegistrationsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

Maximum number of results to return.

int32 page_size = 2;

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

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListRegistrationsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRegistrationsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListRegistrationsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The filter to set.

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

The bytes for filter to set.

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The parent to set.

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

The bytes for parent to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListRegistrationsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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