Class Lake.Metastore.Builder (1.81.0)

public static final class Lake.Metastore.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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.