Class Lake.Builder (2.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Lake.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Lake.Builder
Overrides

build()

public Lake build()
Returns
TypeDescription
Lake

buildPartial()

public Lake buildPartial()
Returns
TypeDescription
Lake

clear()

public Lake.Builder clear()
Returns
TypeDescription
Lake.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Lake.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Lake.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Lake.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Lake.Builder
Overrides

clone()

public Lake.Builder clone()
Returns
TypeDescription
Lake.Builder
Overrides

getDefaultInstanceForType()

public Lake getDefaultInstanceForType()
Returns
TypeDescription
Lake

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Lake other)

public Lake.Builder mergeFrom(Lake other)
Parameter
NameDescription
otherLake
Returns
TypeDescription
Lake.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Lake.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Lake.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Lake.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Lake.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Lake.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Lake.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Lake.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Lake.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Lake.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Lake.Builder
Overrides