Class BackendMetastore.Builder (2.24.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BackendMetastore build()
Returns
TypeDescription
BackendMetastore

buildPartial()

public BackendMetastore buildPartial()
Returns
TypeDescription
BackendMetastore

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMetastoreType()

public BackendMetastore.Builder clearMetastoreType()

The type of the backend metastore.

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

Returns
TypeDescription
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
TypeDescription
BackendMetastore.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BackendMetastore getDefaultInstanceForType()
Returns
TypeDescription
BackendMetastore

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMetastoreType()

public BackendMetastore.MetastoreType getMetastoreType()

The type of the backend metastore.

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

Returns
TypeDescription
BackendMetastore.MetastoreType

The metastoreType.

getMetastoreTypeValue()

public int getMetastoreTypeValue()

The type of the backend metastore.

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

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

public BackendMetastore.Builder mergeFrom(BackendMetastore other)
Parameter
NameDescription
otherBackendMetastore
Returns
TypeDescription
BackendMetastore.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The metastoreType to set.

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

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

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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