Class SearchDomainsRequest.Builder (1.20.0)

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

Request for the SearchDomains method.

Protobuf type google.cloud.domains.v1.SearchDomainsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchDomainsRequest build()
Returns
TypeDescription
SearchDomainsRequest

buildPartial()

public SearchDomainsRequest buildPartial()
Returns
TypeDescription
SearchDomainsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public SearchDomainsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SearchDomainsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchDomainsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SearchDomainsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SearchDomainsRequest getDefaultInstanceForType()
Returns
TypeDescription
SearchDomainsRequest

getDescriptorForType()

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

The bytes for query.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchDomainsRequest other)

public SearchDomainsRequest.Builder mergeFrom(SearchDomainsRequest other)
Parameter
NameDescription
otherSearchDomainsRequest
Returns
TypeDescription
SearchDomainsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public SearchDomainsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The location to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
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
NameDescription
valueString

The query to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for query to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SearchDomainsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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