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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Lake.Metastore build()
Returns
TypeDescription
Lake.Metastore

buildPartial()

public Lake.Metastore buildPartial()
Returns
TypeDescription
Lake.Metastore

clear()

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

clearField(Descriptors.FieldDescriptor field)

public Lake.Metastore.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Lake.Metastore.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Lake.Metastore.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Lake.Metastore.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Lake.Metastore getDefaultInstanceForType()
Returns
TypeDescription
Lake.Metastore

getDescriptorForType()

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

The bytes for service.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Lake.Metastore other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The service to set.

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

The bytes for service to set.

Returns
TypeDescription
Lake.Metastore.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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