public static final class PeripheralsConfig.Builder extends GeneratedMessage.Builder<PeripheralsConfig.Builder> implements PeripheralsConfigOrBuilderAuxiliary services configuration for a workload.
Protobuf type google.cloud.dataproc.v1.PeripheralsConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PeripheralsConfig.BuilderImplements
PeripheralsConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PeripheralsConfig build()| Returns | |
|---|---|
| Type | Description |
PeripheralsConfig |
|
buildPartial()
public PeripheralsConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
PeripheralsConfig |
|
clear()
public PeripheralsConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
PeripheralsConfig.Builder |
|
clearMetastoreService()
public PeripheralsConfig.Builder clearMetastoreService()Optional. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[region]/services/[service_id]
string metastore_service = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
PeripheralsConfig.Builder |
This builder for chaining. |
clearSparkHistoryServerConfig()
public PeripheralsConfig.Builder clearSparkHistoryServerConfig()Optional. The Spark History Server configuration for the workload.
.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PeripheralsConfig.Builder |
|
getDefaultInstanceForType()
public PeripheralsConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PeripheralsConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMetastoreService()
public String getMetastoreService()Optional. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[region]/services/[service_id]
string metastore_service = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The metastoreService. |
getMetastoreServiceBytes()
public ByteString getMetastoreServiceBytes()Optional. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[region]/services/[service_id]
string metastore_service = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for metastoreService. |
getSparkHistoryServerConfig()
public SparkHistoryServerConfig getSparkHistoryServerConfig()Optional. The Spark History Server configuration for the workload.
.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SparkHistoryServerConfig |
The sparkHistoryServerConfig. |
getSparkHistoryServerConfigBuilder()
public SparkHistoryServerConfig.Builder getSparkHistoryServerConfigBuilder()Optional. The Spark History Server configuration for the workload.
.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SparkHistoryServerConfig.Builder |
|
getSparkHistoryServerConfigOrBuilder()
public SparkHistoryServerConfigOrBuilder getSparkHistoryServerConfigOrBuilder()Optional. The Spark History Server configuration for the workload.
.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SparkHistoryServerConfigOrBuilder |
|
hasSparkHistoryServerConfig()
public boolean hasSparkHistoryServerConfig()Optional. The Spark History Server configuration for the workload.
.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sparkHistoryServerConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PeripheralsConfig other)
public PeripheralsConfig.Builder mergeFrom(PeripheralsConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
PeripheralsConfig |
| Returns | |
|---|---|
| Type | Description |
PeripheralsConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PeripheralsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PeripheralsConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PeripheralsConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PeripheralsConfig.Builder |
|
mergeSparkHistoryServerConfig(SparkHistoryServerConfig value)
public PeripheralsConfig.Builder mergeSparkHistoryServerConfig(SparkHistoryServerConfig value)Optional. The Spark History Server configuration for the workload.
.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SparkHistoryServerConfig |
| Returns | |
|---|---|
| Type | Description |
PeripheralsConfig.Builder |
|
setMetastoreService(String value)
public PeripheralsConfig.Builder setMetastoreService(String value)Optional. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[region]/services/[service_id]
string metastore_service = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe metastoreService to set. |
| Returns | |
|---|---|
| Type | Description |
PeripheralsConfig.Builder |
This builder for chaining. |
setMetastoreServiceBytes(ByteString value)
public PeripheralsConfig.Builder setMetastoreServiceBytes(ByteString value)Optional. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[region]/services/[service_id]
string metastore_service = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for metastoreService to set. |
| Returns | |
|---|---|
| Type | Description |
PeripheralsConfig.Builder |
This builder for chaining. |
setSparkHistoryServerConfig(SparkHistoryServerConfig value)
public PeripheralsConfig.Builder setSparkHistoryServerConfig(SparkHistoryServerConfig value)Optional. The Spark History Server configuration for the workload.
.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SparkHistoryServerConfig |
| Returns | |
|---|---|
| Type | Description |
PeripheralsConfig.Builder |
|
setSparkHistoryServerConfig(SparkHistoryServerConfig.Builder builderForValue)
public PeripheralsConfig.Builder setSparkHistoryServerConfig(SparkHistoryServerConfig.Builder builderForValue)Optional. The Spark History Server configuration for the workload.
.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SparkHistoryServerConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
PeripheralsConfig.Builder |
|