Class Lake.Builder (2.47.0)

public static final class Lake.Builder extends GeneratedMessageV3.Builder<Lake.Builder> implements LakeOrBuilder

Represents a Lake resource

Protobuf type google.cloud.metastore.v1alpha.Lake

Implements

LakeOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Lake.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Lake.Builder
Overrides

build()

public Lake build()
Returns
Type Description
Lake

buildPartial()

public Lake buildPartial()
Returns
Type Description
Lake

clear()

public Lake.Builder clear()
Returns
Type Description
Lake.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Lake.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Lake.Builder
Overrides

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) = { ... }

Returns
Type Description
Lake.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Lake.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Lake.Builder
Overrides

clone()

public Lake.Builder clone()
Returns
Type Description
Lake.Builder
Overrides

getDefaultInstanceForType()

public Lake getDefaultInstanceForType()
Returns
Type Description
Lake

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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) = { ... }

Returns
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) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Lake other)

public Lake.Builder mergeFrom(Lake other)
Parameter
Name Description
other Lake
Returns
Type Description
Lake.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Lake.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Lake.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Lake.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Lake.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Lake.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Lake.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Lake.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Lake.Builder
Overrides

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) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
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) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
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)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Lake.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Lake.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Lake.Builder
Overrides