public static final class Lake.Builder extends GeneratedMessageV3.Builder<Lake.Builder> implements LakeOrBuilder
Represents a Lake resource
Protobuf type google.cloud.metastore.v1alpha.Lake
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Lake.BuilderImplements
LakeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Lake.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Lake.Builder |
build()
public Lake build()
Type | Description |
Lake |
buildPartial()
public Lake buildPartial()
Type | Description |
Lake |
clear()
public Lake.Builder clear()
Type | Description |
Lake.Builder |
clearField(Descriptors.FieldDescriptor field)
public Lake.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Lake.Builder |
clearName()
public Lake.Builder clearName()
The Lake resource name.
Example:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}
string name = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
Lake.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Lake.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Lake.Builder |
clone()
public Lake.Builder clone()
Type | Description |
Lake.Builder |
getDefaultInstanceForType()
public Lake getDefaultInstanceForType()
Type | Description |
Lake |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
The Lake resource name.
Example:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}
string name = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The Lake resource name.
Example:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}
string name = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Lake other)
public Lake.Builder mergeFrom(Lake other)
Name | Description |
other | Lake |
Type | Description |
Lake.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Lake.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Lake.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Lake.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Lake.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Lake.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Lake.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Lake.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Lake.Builder |
setName(String value)
public Lake.Builder setName(String value)
The Lake resource name.
Example:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}
string name = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
Lake.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Lake.Builder setNameBytes(ByteString value)
The Lake resource name.
Example:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}
string name = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Lake.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Lake.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Lake.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Lake.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Lake.Builder |