public static final class GetLocationRequest.Builder extends GeneratedMessageV3.Builder<GetLocationRequest.Builder> implements GetLocationRequestOrBuilder
The request message for Locations.GetLocation.
Protobuf type google.cloud.location.GetLocationRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GetLocationRequest.BuilderImplements
GetLocationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetLocationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GetLocationRequest.Builder |
build()
public GetLocationRequest build()
Returns | |
---|---|
Type | Description |
GetLocationRequest |
buildPartial()
public GetLocationRequest buildPartial()
Returns | |
---|---|
Type | Description |
GetLocationRequest |
clear()
public GetLocationRequest.Builder clear()
Returns | |
---|---|
Type | Description |
GetLocationRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public GetLocationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
GetLocationRequest.Builder |
clearName()
public GetLocationRequest.Builder clearName()
Resource name for the location.
string name = 1;
Returns | |
---|---|
Type | Description |
GetLocationRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GetLocationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
GetLocationRequest.Builder |
clone()
public GetLocationRequest.Builder clone()
Returns | |
---|---|
Type | Description |
GetLocationRequest.Builder |
getDefaultInstanceForType()
public GetLocationRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GetLocationRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
Resource name for the location.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Resource name for the location.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GetLocationRequest other)
public GetLocationRequest.Builder mergeFrom(GetLocationRequest other)
Parameter | |
---|---|
Name | Description |
other | GetLocationRequest |
Returns | |
---|---|
Type | Description |
GetLocationRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetLocationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GetLocationRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GetLocationRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
GetLocationRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetLocationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GetLocationRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GetLocationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GetLocationRequest.Builder |
setName(String value)
public GetLocationRequest.Builder setName(String value)
Resource name for the location.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
GetLocationRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public GetLocationRequest.Builder setNameBytes(ByteString value)
Resource name for the location.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
GetLocationRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetLocationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
GetLocationRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GetLocationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GetLocationRequest.Builder |