public static final class MetastoreConfig.Builder extends GeneratedMessageV3.Builder<MetastoreConfig.Builder> implements MetastoreConfigOrBuilder
Specifies a Metastore configuration.
Protobuf type google.cloud.dataproc.v1.MetastoreConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 MetastoreConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public MetastoreConfig build()
public MetastoreConfig buildPartial()
public MetastoreConfig.Builder clear()
Overrides
public MetastoreConfig.Builder clearDataprocMetastoreService()
Required. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[dataproc_region]/services/[service-name]
string dataproc_metastore_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public MetastoreConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public MetastoreConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public MetastoreConfig.Builder clone()
Overrides
public String getDataprocMetastoreService()
Required. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[dataproc_region]/services/[service-name]
string dataproc_metastore_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The dataprocMetastoreService.
|
public ByteString getDataprocMetastoreServiceBytes()
Required. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[dataproc_region]/services/[service-name]
string dataproc_metastore_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for dataprocMetastoreService.
|
public MetastoreConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public MetastoreConfig.Builder mergeFrom(MetastoreConfig other)
public MetastoreConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public MetastoreConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final MetastoreConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public MetastoreConfig.Builder setDataprocMetastoreService(String value)
Required. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[dataproc_region]/services/[service-name]
string dataproc_metastore_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The dataprocMetastoreService to set.
|
public MetastoreConfig.Builder setDataprocMetastoreServiceBytes(ByteString value)
Required. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[dataproc_region]/services/[service-name]
string dataproc_metastore_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for dataprocMetastoreService to set.
|
public MetastoreConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public MetastoreConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final MetastoreConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides