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.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 MetastoreConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public MetastoreConfig build()
Returns
public MetastoreConfig buildPartial()
Returns
public MetastoreConfig.Builder clear()
Returns
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) = { ... }
Returns
public MetastoreConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public MetastoreConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public MetastoreConfig.Builder clone()
Returns
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()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public MetastoreConfig.Builder mergeFrom(MetastoreConfig other)
Parameter
Returns
public MetastoreConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public MetastoreConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final MetastoreConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns
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.
|
Returns
public MetastoreConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public MetastoreConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final MetastoreConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides