Class BackendMetastore.Builder (2.48.0)

public static final class BackendMetastore.Builder extends GeneratedMessageV3.Builder<BackendMetastore.Builder> implements BackendMetastoreOrBuilder

Represents a backend metastore for the federation.

Protobuf type google.cloud.metastore.v1alpha.BackendMetastore

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BackendMetastore build()
Returns
Type Description
BackendMetastore

buildPartial()

public BackendMetastore buildPartial()
Returns
Type Description
BackendMetastore

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMetastoreType()

public BackendMetastore.Builder clearMetastoreType()

The type of the backend metastore.

.google.cloud.metastore.v1alpha.BackendMetastore.MetastoreType metastore_type = 2;

Returns
Type Description
BackendMetastore.Builder

This builder for chaining.

clearName()

public BackendMetastore.Builder clearName()

The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below:

  • BigQuery
    • projects/{project_id}
  • Dataproc Metastore
    • projects/{project_id}/locations/{location}/services/{service_id}

string name = 1;

Returns
Type Description
BackendMetastore.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BackendMetastore getDefaultInstanceForType()
Returns
Type Description
BackendMetastore

getDescriptorForType()

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

getMetastoreType()

public BackendMetastore.MetastoreType getMetastoreType()

The type of the backend metastore.

.google.cloud.metastore.v1alpha.BackendMetastore.MetastoreType metastore_type = 2;

Returns
Type Description
BackendMetastore.MetastoreType

The metastoreType.

getMetastoreTypeValue()

public int getMetastoreTypeValue()

The type of the backend metastore.

.google.cloud.metastore.v1alpha.BackendMetastore.MetastoreType metastore_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for metastoreType.

getName()

public String getName()

The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below:

  • BigQuery
    • projects/{project_id}
  • Dataproc Metastore
    • projects/{project_id}/locations/{location}/services/{service_id}

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below:

  • BigQuery
    • projects/{project_id}
  • Dataproc Metastore
    • projects/{project_id}/locations/{location}/services/{service_id}

string name = 1;

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(BackendMetastore other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetastoreType(BackendMetastore.MetastoreType value)

public BackendMetastore.Builder setMetastoreType(BackendMetastore.MetastoreType value)

The type of the backend metastore.

.google.cloud.metastore.v1alpha.BackendMetastore.MetastoreType metastore_type = 2;

Parameter
Name Description
value BackendMetastore.MetastoreType

The metastoreType to set.

Returns
Type Description
BackendMetastore.Builder

This builder for chaining.

setMetastoreTypeValue(int value)

public BackendMetastore.Builder setMetastoreTypeValue(int value)

The type of the backend metastore.

.google.cloud.metastore.v1alpha.BackendMetastore.MetastoreType metastore_type = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for metastoreType to set.

Returns
Type Description
BackendMetastore.Builder

This builder for chaining.

setName(String value)

public BackendMetastore.Builder setName(String value)

The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below:

  • BigQuery
    • projects/{project_id}
  • Dataproc Metastore
    • projects/{project_id}/locations/{location}/services/{service_id}

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
BackendMetastore.Builder

This builder for chaining.

setNameBytes(ByteString value)

public BackendMetastore.Builder setNameBytes(ByteString value)

The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below:

  • BigQuery
    • projects/{project_id}
  • Dataproc Metastore
    • projects/{project_id}/locations/{location}/services/{service_id}

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
BackendMetastore.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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