public static final class MetastoreConfig.Builder extends GeneratedMessage.Builder<MetastoreConfig.Builder> implements MetastoreConfigOrBuilderSpecifies a Metastore configuration.
Protobuf type google.cloud.dataproc.v1.MetastoreConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MetastoreConfig.BuilderImplements
MetastoreConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MetastoreConfig build()| Returns | |
|---|---|
| Type | Description |
MetastoreConfig |
|
buildPartial()
public MetastoreConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
MetastoreConfig |
|
clear()
public MetastoreConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
MetastoreConfig.Builder |
|
clearDataprocMetastoreService()
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 | |
|---|---|
| Type | Description |
MetastoreConfig.Builder |
This builder for chaining. |
getDataprocMetastoreService()
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. |
getDataprocMetastoreServiceBytes()
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. |
getDefaultInstanceForType()
public MetastoreConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MetastoreConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(MetastoreConfig other)
public MetastoreConfig.Builder mergeFrom(MetastoreConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
MetastoreConfig |
| Returns | |
|---|---|
| Type | Description |
MetastoreConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MetastoreConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MetastoreConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MetastoreConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MetastoreConfig.Builder |
|
setDataprocMetastoreService(String value)
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 |
StringThe dataprocMetastoreService to set. |
| Returns | |
|---|---|
| Type | Description |
MetastoreConfig.Builder |
This builder for chaining. |
setDataprocMetastoreServiceBytes(ByteString value)
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 |
ByteStringThe bytes for dataprocMetastoreService to set. |
| Returns | |
|---|---|
| Type | Description |
MetastoreConfig.Builder |
This builder for chaining. |