Class SearchDomainsRequest.Builder (1.39.0)

public static final class SearchDomainsRequest.Builder extends GeneratedMessageV3.Builder<SearchDomainsRequest.Builder> implements SearchDomainsRequestOrBuilder

Request for the SearchDomains method.

Protobuf type google.cloud.domains.v1beta1.SearchDomainsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchDomainsRequest build()
Returns
Type Description
SearchDomainsRequest

buildPartial()

public SearchDomainsRequest buildPartial()
Returns
Type Description
SearchDomainsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public SearchDomainsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchDomainsRequest.Builder
Overrides

clearLocation()

public SearchDomainsRequest.Builder clearLocation()

Required. The location. Must be in the format projects/*/locations/*.

string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
SearchDomainsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQuery()

public SearchDomainsRequest.Builder clearQuery()

Required. String used to search for available domain names.

string query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SearchDomainsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SearchDomainsRequest getDefaultInstanceForType()
Returns
Type Description
SearchDomainsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLocation()

public String getLocation()

Required. The location. Must be in the format projects/*/locations/*.

string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Required. The location. Must be in the format projects/*/locations/*.

string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for location.

getQuery()

public String getQuery()

Required. String used to search for available domain names.

string query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The query.

getQueryBytes()

public ByteString getQueryBytes()

Required. String used to search for available domain names.

string query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for query.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchDomainsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLocation(String value)

public SearchDomainsRequest.Builder setLocation(String value)

Required. The location. Must be in the format projects/*/locations/*.

string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The location to set.

Returns
Type Description
SearchDomainsRequest.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public SearchDomainsRequest.Builder setLocationBytes(ByteString value)

Required. The location. Must be in the format projects/*/locations/*.

string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
SearchDomainsRequest.Builder

This builder for chaining.

setQuery(String value)

public SearchDomainsRequest.Builder setQuery(String value)

Required. String used to search for available domain names.

string query = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The query to set.

Returns
Type Description
SearchDomainsRequest.Builder

This builder for chaining.

setQueryBytes(ByteString value)

public SearchDomainsRequest.Builder setQueryBytes(ByteString value)

Required. String used to search for available domain names.

string query = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for query to set.

Returns
Type Description
SearchDomainsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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