Send feedback
Class EnvironmentConfig.Builder (3.0.3)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.0.3 keyboard_arrow_down
public static final class EnvironmentConfig . Builder extends GeneratedMessageV3 . Builder<EnvironmentConfig . Builder > implements EnvironmentConfigOrBuilder
Environment configuration for a workload.
Protobuf type google.cloud.dataproc.v1.EnvironmentConfig
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EnvironmentConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public EnvironmentConfig build ()
Returns
buildPartial()
public EnvironmentConfig buildPartial ()
Returns
clear()
public EnvironmentConfig . Builder clear ()
Returns
Overrides
clearExecutionConfig()
public EnvironmentConfig . Builder clearExecutionConfig ()
Optional. Execution configuration for a workload.
.google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearField(Descriptors.FieldDescriptor field)
public EnvironmentConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EnvironmentConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearPeripheralsConfig()
public EnvironmentConfig . Builder clearPeripheralsConfig ()
Optional. Peripherals configuration that workload has access to.
.google.cloud.dataproc.v1.PeripheralsConfig peripherals_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clone()
public EnvironmentConfig . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public EnvironmentConfig getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getExecutionConfig()
public ExecutionConfig getExecutionConfig ()
Optional. Execution configuration for a workload.
.google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getExecutionConfigBuilder()
public ExecutionConfig . Builder getExecutionConfigBuilder ()
Optional. Execution configuration for a workload.
.google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getExecutionConfigOrBuilder()
public ExecutionConfigOrBuilder getExecutionConfigOrBuilder ()
Optional. Execution configuration for a workload.
.google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getPeripheralsConfig()
public PeripheralsConfig getPeripheralsConfig ()
Optional. Peripherals configuration that workload has access to.
.google.cloud.dataproc.v1.PeripheralsConfig peripherals_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getPeripheralsConfigBuilder()
public PeripheralsConfig . Builder getPeripheralsConfigBuilder ()
Optional. Peripherals configuration that workload has access to.
.google.cloud.dataproc.v1.PeripheralsConfig peripherals_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getPeripheralsConfigOrBuilder()
public PeripheralsConfigOrBuilder getPeripheralsConfigOrBuilder ()
Optional. Peripherals configuration that workload has access to.
.google.cloud.dataproc.v1.PeripheralsConfig peripherals_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
hasExecutionConfig()
public boolean hasExecutionConfig ()
Optional. Execution configuration for a workload.
.google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type Description boolean Whether the executionConfig field is set.
hasPeripheralsConfig()
public boolean hasPeripheralsConfig ()
Optional. Peripherals configuration that workload has access to.
.google.cloud.dataproc.v1.PeripheralsConfig peripherals_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type Description boolean Whether the peripheralsConfig field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeExecutionConfig(ExecutionConfig value)
public EnvironmentConfig . Builder mergeExecutionConfig ( ExecutionConfig value )
Optional. Execution configuration for a workload.
.google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
mergeFrom(EnvironmentConfig other)
public EnvironmentConfig . Builder mergeFrom ( EnvironmentConfig other )
Parameter
Returns
public EnvironmentConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public EnvironmentConfig . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergePeripheralsConfig(PeripheralsConfig value)
public EnvironmentConfig . Builder mergePeripheralsConfig ( PeripheralsConfig value )
Optional. Peripherals configuration that workload has access to.
.google.cloud.dataproc.v1.PeripheralsConfig peripherals_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EnvironmentConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setExecutionConfig(ExecutionConfig value)
public EnvironmentConfig . Builder setExecutionConfig ( ExecutionConfig value )
Optional. Execution configuration for a workload.
.google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setExecutionConfig(ExecutionConfig.Builder builderForValue)
public EnvironmentConfig . Builder setExecutionConfig ( ExecutionConfig . Builder builderForValue )
Optional. Execution configuration for a workload.
.google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public EnvironmentConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setPeripheralsConfig(PeripheralsConfig value)
public EnvironmentConfig . Builder setPeripheralsConfig ( PeripheralsConfig value )
Optional. Peripherals configuration that workload has access to.
.google.cloud.dataproc.v1.PeripheralsConfig peripherals_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setPeripheralsConfig(PeripheralsConfig.Builder builderForValue)
public EnvironmentConfig . Builder setPeripheralsConfig ( PeripheralsConfig . Builder builderForValue )
Optional. Peripherals configuration that workload has access to.
.google.cloud.dataproc.v1.PeripheralsConfig peripherals_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EnvironmentConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EnvironmentConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]