Class Lake.Metastore.Builder (1.53.0)

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

Settings to manage association of Dataproc Metastore with a lake.

Protobuf type google.cloud.dataplex.v1.Lake.Metastore

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Lake.Metastore build()
Returns
Type Description
Lake.Metastore

buildPartial()

public Lake.Metastore buildPartial()
Returns
Type Description
Lake.Metastore

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearService()

public Lake.Metastore.Builder clearService()

Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}

string service = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Lake.Metastore.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Lake.Metastore getDefaultInstanceForType()
Returns
Type Description
Lake.Metastore

getDescriptorForType()

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

getService()

public String getService()

Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}

string service = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The service.

getServiceBytes()

public ByteString getServiceBytes()

Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}

string service = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for service.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Lake.Metastore other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Lake.Metastore.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Lake.Metastore.Builder
Overrides

setService(String value)

public Lake.Metastore.Builder setService(String value)

Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}

string service = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The service to set.

Returns
Type Description
Lake.Metastore.Builder

This builder for chaining.

setServiceBytes(ByteString value)

public Lake.Metastore.Builder setServiceBytes(ByteString value)

Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}

string service = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for service to set.

Returns
Type Description
Lake.Metastore.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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