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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchDomainsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SearchDomainsRequest build()
Returns
buildPartial()
public SearchDomainsRequest buildPartial()
Returns
clear()
public SearchDomainsRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchDomainsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchDomainsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearQuery()
public SearchDomainsRequest.Builder clearQuery()
Required. String used to search for available domain names.
string query = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public SearchDomainsRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SearchDomainsRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SearchDomainsRequest other)
public SearchDomainsRequest.Builder mergeFrom(SearchDomainsRequest other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchDomainsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SearchDomainsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchDomainsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SearchDomainsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchDomainsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchDomainsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides