Package com.google.cloud.dataproc.v1
Class ClusterConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataproc.v1.ClusterConfig
-
- All Implemented Interfaces:
ClusterConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ClusterConfig extends com.google.protobuf.GeneratedMessageV3 implements ClusterConfigOrBuilder
The cluster config.
Protobuf typegoogle.cloud.dataproc.v1.ClusterConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClusterConfig.BuilderThe cluster config.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAUTOSCALING_CONFIG_FIELD_NUMBERstatic intAUXILIARY_NODE_GROUPS_FIELD_NUMBERstatic intCONFIG_BUCKET_FIELD_NUMBERstatic intDATAPROC_METRIC_CONFIG_FIELD_NUMBERstatic intENCRYPTION_CONFIG_FIELD_NUMBERstatic intENDPOINT_CONFIG_FIELD_NUMBERstatic intGCE_CLUSTER_CONFIG_FIELD_NUMBERstatic intINITIALIZATION_ACTIONS_FIELD_NUMBERstatic intLIFECYCLE_CONFIG_FIELD_NUMBERstatic intMASTER_CONFIG_FIELD_NUMBERstatic intMETASTORE_CONFIG_FIELD_NUMBERstatic intSECONDARY_WORKER_CONFIG_FIELD_NUMBERstatic intSECURITY_CONFIG_FIELD_NUMBERstatic intSOFTWARE_CONFIG_FIELD_NUMBERstatic intTEMP_BUCKET_FIELD_NUMBERstatic intWORKER_CONFIG_FIELD_NUMBER
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CONFIG_BUCKET_FIELD_NUMBER
public static final int CONFIG_BUCKET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEMP_BUCKET_FIELD_NUMBER
public static final int TEMP_BUCKET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GCE_CLUSTER_CONFIG_FIELD_NUMBER
public static final int GCE_CLUSTER_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MASTER_CONFIG_FIELD_NUMBER
public static final int MASTER_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKER_CONFIG_FIELD_NUMBER
public static final int WORKER_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECONDARY_WORKER_CONFIG_FIELD_NUMBER
public static final int SECONDARY_WORKER_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOFTWARE_CONFIG_FIELD_NUMBER
public static final int SOFTWARE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INITIALIZATION_ACTIONS_FIELD_NUMBER
public static final int INITIALIZATION_ACTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCRYPTION_CONFIG_FIELD_NUMBER
public static final int ENCRYPTION_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTOSCALING_CONFIG_FIELD_NUMBER
public static final int AUTOSCALING_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECURITY_CONFIG_FIELD_NUMBER
public static final int SECURITY_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIFECYCLE_CONFIG_FIELD_NUMBER
public static final int LIFECYCLE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENDPOINT_CONFIG_FIELD_NUMBER
public static final int ENDPOINT_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METASTORE_CONFIG_FIELD_NUMBER
public static final int METASTORE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATAPROC_METRIC_CONFIG_FIELD_NUMBER
public static final int DATAPROC_METRIC_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUXILIARY_NODE_GROUPS_FIELD_NUMBER
public static final int AUXILIARY_NODE_GROUPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getConfigBucket
public String getConfigBucket()
Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see [Dataproc staging and temp buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). **This field requires a Cloud Storage bucket name, not a `gs://...` URI to a Cloud Storage bucket.**
string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConfigBucketin interfaceClusterConfigOrBuilder- Returns:
- The configBucket.
-
getConfigBucketBytes
public com.google.protobuf.ByteString getConfigBucketBytes()
Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see [Dataproc staging and temp buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). **This field requires a Cloud Storage bucket name, not a `gs://...` URI to a Cloud Storage bucket.**
string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConfigBucketBytesin interfaceClusterConfigOrBuilder- Returns:
- The bytes for configBucket.
-
getTempBucket
public String getTempBucket()
Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket (see [Dataproc staging and temp buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). **This field requires a Cloud Storage bucket name, not a `gs://...` URI to a Cloud Storage bucket.**
string temp_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTempBucketin interfaceClusterConfigOrBuilder- Returns:
- The tempBucket.
-
getTempBucketBytes
public com.google.protobuf.ByteString getTempBucketBytes()
Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket (see [Dataproc staging and temp buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). **This field requires a Cloud Storage bucket name, not a `gs://...` URI to a Cloud Storage bucket.**
string temp_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTempBucketBytesin interfaceClusterConfigOrBuilder- Returns:
- The bytes for tempBucket.
-
hasGceClusterConfig
public boolean hasGceClusterConfig()
Optional. The shared Compute Engine config settings for all instances in a cluster.
.google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasGceClusterConfigin interfaceClusterConfigOrBuilder- Returns:
- Whether the gceClusterConfig field is set.
-
getGceClusterConfig
public GceClusterConfig getGceClusterConfig()
Optional. The shared Compute Engine config settings for all instances in a cluster.
.google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGceClusterConfigin interfaceClusterConfigOrBuilder- Returns:
- The gceClusterConfig.
-
getGceClusterConfigOrBuilder
public GceClusterConfigOrBuilder getGceClusterConfigOrBuilder()
Optional. The shared Compute Engine config settings for all instances in a cluster.
.google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGceClusterConfigOrBuilderin interfaceClusterConfigOrBuilder
-
hasMasterConfig
public boolean hasMasterConfig()
Optional. The Compute Engine config settings for the cluster's master instance.
.google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasMasterConfigin interfaceClusterConfigOrBuilder- Returns:
- Whether the masterConfig field is set.
-
getMasterConfig
public InstanceGroupConfig getMasterConfig()
Optional. The Compute Engine config settings for the cluster's master instance.
.google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMasterConfigin interfaceClusterConfigOrBuilder- Returns:
- The masterConfig.
-
getMasterConfigOrBuilder
public InstanceGroupConfigOrBuilder getMasterConfigOrBuilder()
Optional. The Compute Engine config settings for the cluster's master instance.
.google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMasterConfigOrBuilderin interfaceClusterConfigOrBuilder
-
hasWorkerConfig
public boolean hasWorkerConfig()
Optional. The Compute Engine config settings for the cluster's worker instances.
.google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasWorkerConfigin interfaceClusterConfigOrBuilder- Returns:
- Whether the workerConfig field is set.
-
getWorkerConfig
public InstanceGroupConfig getWorkerConfig()
Optional. The Compute Engine config settings for the cluster's worker instances.
.google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getWorkerConfigin interfaceClusterConfigOrBuilder- Returns:
- The workerConfig.
-
getWorkerConfigOrBuilder
public InstanceGroupConfigOrBuilder getWorkerConfigOrBuilder()
Optional. The Compute Engine config settings for the cluster's worker instances.
.google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getWorkerConfigOrBuilderin interfaceClusterConfigOrBuilder
-
hasSecondaryWorkerConfig
public boolean hasSecondaryWorkerConfig()
Optional. The Compute Engine config settings for a cluster's secondary worker instances
.google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSecondaryWorkerConfigin interfaceClusterConfigOrBuilder- Returns:
- Whether the secondaryWorkerConfig field is set.
-
getSecondaryWorkerConfig
public InstanceGroupConfig getSecondaryWorkerConfig()
Optional. The Compute Engine config settings for a cluster's secondary worker instances
.google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSecondaryWorkerConfigin interfaceClusterConfigOrBuilder- Returns:
- The secondaryWorkerConfig.
-
getSecondaryWorkerConfigOrBuilder
public InstanceGroupConfigOrBuilder getSecondaryWorkerConfigOrBuilder()
Optional. The Compute Engine config settings for a cluster's secondary worker instances
.google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSecondaryWorkerConfigOrBuilderin interfaceClusterConfigOrBuilder
-
hasSoftwareConfig
public boolean hasSoftwareConfig()
Optional. The config settings for cluster software.
.google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSoftwareConfigin interfaceClusterConfigOrBuilder- Returns:
- Whether the softwareConfig field is set.
-
getSoftwareConfig
public SoftwareConfig getSoftwareConfig()
Optional. The config settings for cluster software.
.google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSoftwareConfigin interfaceClusterConfigOrBuilder- Returns:
- The softwareConfig.
-
getSoftwareConfigOrBuilder
public SoftwareConfigOrBuilder getSoftwareConfigOrBuilder()
Optional. The config settings for cluster software.
.google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSoftwareConfigOrBuilderin interfaceClusterConfigOrBuilder
-
getInitializationActionsList
public List<NodeInitializationAction> getInitializationActionsList()
Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's `role` metadata to run an executable on a master or worker node, as shown below using `curl` (you can also use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ "${ROLE}" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... firepeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInitializationActionsListin interfaceClusterConfigOrBuilder
-
getInitializationActionsOrBuilderList
public List<? extends NodeInitializationActionOrBuilder> getInitializationActionsOrBuilderList()
Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's `role` metadata to run an executable on a master or worker node, as shown below using `curl` (you can also use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ "${ROLE}" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... firepeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInitializationActionsOrBuilderListin interfaceClusterConfigOrBuilder
-
getInitializationActionsCount
public int getInitializationActionsCount()
Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's `role` metadata to run an executable on a master or worker node, as shown below using `curl` (you can also use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ "${ROLE}" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... firepeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInitializationActionsCountin interfaceClusterConfigOrBuilder
-
getInitializationActions
public NodeInitializationAction getInitializationActions(int index)
Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's `role` metadata to run an executable on a master or worker node, as shown below using `curl` (you can also use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ "${ROLE}" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... firepeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInitializationActionsin interfaceClusterConfigOrBuilder
-
getInitializationActionsOrBuilder
public NodeInitializationActionOrBuilder getInitializationActionsOrBuilder(int index)
Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's `role` metadata to run an executable on a master or worker node, as shown below using `curl` (you can also use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ "${ROLE}" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... firepeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInitializationActionsOrBuilderin interfaceClusterConfigOrBuilder
-
hasEncryptionConfig
public boolean hasEncryptionConfig()
Optional. Encryption settings for the cluster.
.google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasEncryptionConfigin interfaceClusterConfigOrBuilder- Returns:
- Whether the encryptionConfig field is set.
-
getEncryptionConfig
public EncryptionConfig getEncryptionConfig()
Optional. Encryption settings for the cluster.
.google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEncryptionConfigin interfaceClusterConfigOrBuilder- Returns:
- The encryptionConfig.
-
getEncryptionConfigOrBuilder
public EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()
Optional. Encryption settings for the cluster.
.google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEncryptionConfigOrBuilderin interfaceClusterConfigOrBuilder
-
hasAutoscalingConfig
public boolean hasAutoscalingConfig()
Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset.
.google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasAutoscalingConfigin interfaceClusterConfigOrBuilder- Returns:
- Whether the autoscalingConfig field is set.
-
getAutoscalingConfig
public AutoscalingConfig getAutoscalingConfig()
Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset.
.google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAutoscalingConfigin interfaceClusterConfigOrBuilder- Returns:
- The autoscalingConfig.
-
getAutoscalingConfigOrBuilder
public AutoscalingConfigOrBuilder getAutoscalingConfigOrBuilder()
Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset.
.google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAutoscalingConfigOrBuilderin interfaceClusterConfigOrBuilder
-
hasSecurityConfig
public boolean hasSecurityConfig()
Optional. Security settings for the cluster.
.google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSecurityConfigin interfaceClusterConfigOrBuilder- Returns:
- Whether the securityConfig field is set.
-
getSecurityConfig
public SecurityConfig getSecurityConfig()
Optional. Security settings for the cluster.
.google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSecurityConfigin interfaceClusterConfigOrBuilder- Returns:
- The securityConfig.
-
getSecurityConfigOrBuilder
public SecurityConfigOrBuilder getSecurityConfigOrBuilder()
Optional. Security settings for the cluster.
.google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSecurityConfigOrBuilderin interfaceClusterConfigOrBuilder
-
hasLifecycleConfig
public boolean hasLifecycleConfig()
Optional. Lifecycle setting for the cluster.
.google.cloud.dataproc.v1.LifecycleConfig lifecycle_config = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasLifecycleConfigin interfaceClusterConfigOrBuilder- Returns:
- Whether the lifecycleConfig field is set.
-
getLifecycleConfig
public LifecycleConfig getLifecycleConfig()
Optional. Lifecycle setting for the cluster.
.google.cloud.dataproc.v1.LifecycleConfig lifecycle_config = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLifecycleConfigin interfaceClusterConfigOrBuilder- Returns:
- The lifecycleConfig.
-
getLifecycleConfigOrBuilder
public LifecycleConfigOrBuilder getLifecycleConfigOrBuilder()
Optional. Lifecycle setting for the cluster.
.google.cloud.dataproc.v1.LifecycleConfig lifecycle_config = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLifecycleConfigOrBuilderin interfaceClusterConfigOrBuilder
-
hasEndpointConfig
public boolean hasEndpointConfig()
Optional. Port/endpoint configuration for this cluster
.google.cloud.dataproc.v1.EndpointConfig endpoint_config = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasEndpointConfigin interfaceClusterConfigOrBuilder- Returns:
- Whether the endpointConfig field is set.
-
getEndpointConfig
public EndpointConfig getEndpointConfig()
Optional. Port/endpoint configuration for this cluster
.google.cloud.dataproc.v1.EndpointConfig endpoint_config = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEndpointConfigin interfaceClusterConfigOrBuilder- Returns:
- The endpointConfig.
-
getEndpointConfigOrBuilder
public EndpointConfigOrBuilder getEndpointConfigOrBuilder()
Optional. Port/endpoint configuration for this cluster
.google.cloud.dataproc.v1.EndpointConfig endpoint_config = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEndpointConfigOrBuilderin interfaceClusterConfigOrBuilder
-
hasMetastoreConfig
public boolean hasMetastoreConfig()
Optional. Metastore configuration.
.google.cloud.dataproc.v1.MetastoreConfig metastore_config = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasMetastoreConfigin interfaceClusterConfigOrBuilder- Returns:
- Whether the metastoreConfig field is set.
-
getMetastoreConfig
public MetastoreConfig getMetastoreConfig()
Optional. Metastore configuration.
.google.cloud.dataproc.v1.MetastoreConfig metastore_config = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetastoreConfigin interfaceClusterConfigOrBuilder- Returns:
- The metastoreConfig.
-
getMetastoreConfigOrBuilder
public MetastoreConfigOrBuilder getMetastoreConfigOrBuilder()
Optional. Metastore configuration.
.google.cloud.dataproc.v1.MetastoreConfig metastore_config = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetastoreConfigOrBuilderin interfaceClusterConfigOrBuilder
-
hasDataprocMetricConfig
public boolean hasDataprocMetricConfig()
Optional. The config for Dataproc metrics.
.google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDataprocMetricConfigin interfaceClusterConfigOrBuilder- Returns:
- Whether the dataprocMetricConfig field is set.
-
getDataprocMetricConfig
public DataprocMetricConfig getDataprocMetricConfig()
Optional. The config for Dataproc metrics.
.google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDataprocMetricConfigin interfaceClusterConfigOrBuilder- Returns:
- The dataprocMetricConfig.
-
getDataprocMetricConfigOrBuilder
public DataprocMetricConfigOrBuilder getDataprocMetricConfigOrBuilder()
Optional. The config for Dataproc metrics.
.google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDataprocMetricConfigOrBuilderin interfaceClusterConfigOrBuilder
-
getAuxiliaryNodeGroupsList
public List<AuxiliaryNodeGroup> getAuxiliaryNodeGroupsList()
Optional. The node group settings.
repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAuxiliaryNodeGroupsListin interfaceClusterConfigOrBuilder
-
getAuxiliaryNodeGroupsOrBuilderList
public List<? extends AuxiliaryNodeGroupOrBuilder> getAuxiliaryNodeGroupsOrBuilderList()
Optional. The node group settings.
repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAuxiliaryNodeGroupsOrBuilderListin interfaceClusterConfigOrBuilder
-
getAuxiliaryNodeGroupsCount
public int getAuxiliaryNodeGroupsCount()
Optional. The node group settings.
repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAuxiliaryNodeGroupsCountin interfaceClusterConfigOrBuilder
-
getAuxiliaryNodeGroups
public AuxiliaryNodeGroup getAuxiliaryNodeGroups(int index)
Optional. The node group settings.
repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAuxiliaryNodeGroupsin interfaceClusterConfigOrBuilder
-
getAuxiliaryNodeGroupsOrBuilder
public AuxiliaryNodeGroupOrBuilder getAuxiliaryNodeGroupsOrBuilder(int index)
Optional. The node group settings.
repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAuxiliaryNodeGroupsOrBuilderin interfaceClusterConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ClusterConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ClusterConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ClusterConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ClusterConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ClusterConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ClusterConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ClusterConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ClusterConfig.Builder newBuilder()
-
newBuilder
public static ClusterConfig.Builder newBuilder(ClusterConfig prototype)
-
toBuilder
public ClusterConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClusterConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ClusterConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ClusterConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<ClusterConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ClusterConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-