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.v1beta.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()
Methods
public BackendMetastore.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BackendMetastore build()
public BackendMetastore buildPartial()
public BackendMetastore.Builder clear()
Overrides
public BackendMetastore.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BackendMetastore.Builder clearMetastoreType()
The type of the backend metastore.
.google.cloud.metastore.v1beta.BackendMetastore.MetastoreType metastore_type = 2;
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;
public BackendMetastore.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public BackendMetastore.Builder clone()
Overrides
public BackendMetastore getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public BackendMetastore.MetastoreType getMetastoreType()
The type of the backend metastore.
.google.cloud.metastore.v1beta.BackendMetastore.MetastoreType metastore_type = 2;
public int getMetastoreTypeValue()
The type of the backend metastore.
.google.cloud.metastore.v1beta.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 |
---|
Type | Description |
ByteString | The bytes for name.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BackendMetastore.Builder mergeFrom(BackendMetastore other)
public BackendMetastore.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BackendMetastore.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final BackendMetastore.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public BackendMetastore.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BackendMetastore.Builder setMetastoreType(BackendMetastore.MetastoreType value)
The type of the backend metastore.
.google.cloud.metastore.v1beta.BackendMetastore.MetastoreType metastore_type = 2;
public BackendMetastore.Builder setMetastoreTypeValue(int value)
The type of the backend metastore.
.google.cloud.metastore.v1beta.BackendMetastore.MetastoreType metastore_type = 2;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for metastoreType to set.
|
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.
|
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.
|
public BackendMetastore.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final BackendMetastore.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides