Send feedback
Class SearchDomainsRequest.Builder (1.0.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.0.0 keyboard_arrow_down
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
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]