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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public BackendMetastore.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public BackendMetastore build()
Returns
public BackendMetastore buildPartial()
Returns
public BackendMetastore.Builder clear()
Returns
Overrides
public BackendMetastore.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public BackendMetastore.Builder clearMetastoreType()
The type of the backend metastore.
.google.cloud.metastore.v1alpha.BackendMetastore.MetastoreType metastore_type = 2;
Returns
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:
- Dataplex
projects/{project_id}/locations/{location}/lakes/{lake_id}
- BigQuery
- Dataproc Metastore
projects/{project_id}/locations/{location}/services/{service_id}
string name = 1;
Returns
public BackendMetastore.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public BackendMetastore.Builder clone()
Returns
Overrides
public BackendMetastore getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public BackendMetastore.MetastoreType getMetastoreType()
The type of the backend metastore.
.google.cloud.metastore.v1alpha.BackendMetastore.MetastoreType metastore_type = 2;
Returns
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.
|
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:
- Dataplex
projects/{project_id}/locations/{location}/lakes/{lake_id}
- BigQuery
- Dataproc Metastore
projects/{project_id}/locations/{location}/services/{service_id}
string name = 1;
Returns
Type | Description |
String | The name.
|
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:
- Dataplex
projects/{project_id}/locations/{location}/lakes/{lake_id}
- BigQuery
- Dataproc Metastore
projects/{project_id}/locations/{location}/services/{service_id}
string name = 1;
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public BackendMetastore.Builder mergeFrom(BackendMetastore other)
Parameter
Returns
public BackendMetastore.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public BackendMetastore.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final BackendMetastore.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public BackendMetastore.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public BackendMetastore.Builder setMetastoreType(BackendMetastore.MetastoreType value)
The type of the backend metastore.
.google.cloud.metastore.v1alpha.BackendMetastore.MetastoreType metastore_type = 2;
Parameter
Returns
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
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:
- Dataplex
projects/{project_id}/locations/{location}/lakes/{lake_id}
- BigQuery
- Dataproc Metastore
projects/{project_id}/locations/{location}/services/{service_id}
string name = 1;
Parameter
Name | Description |
value | String
The name to set.
|
Returns
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:
- Dataplex
projects/{project_id}/locations/{location}/lakes/{lake_id}
- BigQuery
- 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
public BackendMetastore.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final BackendMetastore.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides