public static final class DiagnoseClusterRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DiagnoseClusterRequest.Builder> implements DiagnoseClusterRequestOrBuilder
A request to collect cluster diagnostic information.Protobuf type
google.cloud.dataproc.v1.DiagnoseClusterRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DiagnoseClusterRequest.Builder>public DiagnoseClusterRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DiagnoseClusterRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DiagnoseClusterRequest.Builder>public DiagnoseClusterRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DiagnoseClusterRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DiagnoseClusterRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DiagnoseClusterRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DiagnoseClusterRequest.Builder>public DiagnoseClusterRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DiagnoseClusterRequest.Builder>public DiagnoseClusterRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DiagnoseClusterRequest.Builder>public DiagnoseClusterRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DiagnoseClusterRequest.Builder>public DiagnoseClusterRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DiagnoseClusterRequest.Builder>public DiagnoseClusterRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DiagnoseClusterRequest.Builder>public DiagnoseClusterRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DiagnoseClusterRequest.Builder>public DiagnoseClusterRequest.Builder mergeFrom(DiagnoseClusterRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DiagnoseClusterRequest.Builder>public DiagnoseClusterRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DiagnoseClusterRequest.Builder>IOExceptionpublic String getProjectId()
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];getProjectId in interface DiagnoseClusterRequestOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];getProjectIdBytes in interface DiagnoseClusterRequestOrBuilderpublic DiagnoseClusterRequest.Builder setProjectId(String value)
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];value - The projectId to set.public DiagnoseClusterRequest.Builder clearProjectId()
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];public DiagnoseClusterRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for projectId to set.public String getRegion()
Required. The Dataproc region in which to handle the request.
string region = 3 [(.google.api.field_behavior) = REQUIRED];getRegion in interface DiagnoseClusterRequestOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
Required. The Dataproc region in which to handle the request.
string region = 3 [(.google.api.field_behavior) = REQUIRED];getRegionBytes in interface DiagnoseClusterRequestOrBuilderpublic DiagnoseClusterRequest.Builder setRegion(String value)
Required. The Dataproc region in which to handle the request.
string region = 3 [(.google.api.field_behavior) = REQUIRED];value - The region to set.public DiagnoseClusterRequest.Builder clearRegion()
Required. The Dataproc region in which to handle the request.
string region = 3 [(.google.api.field_behavior) = REQUIRED];public DiagnoseClusterRequest.Builder setRegionBytes(com.google.protobuf.ByteString value)
Required. The Dataproc region in which to handle the request.
string region = 3 [(.google.api.field_behavior) = REQUIRED];value - The bytes for region to set.public String getClusterName()
Required. The cluster name.
string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];getClusterName in interface DiagnoseClusterRequestOrBuilderpublic com.google.protobuf.ByteString getClusterNameBytes()
Required. The cluster name.
string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];getClusterNameBytes in interface DiagnoseClusterRequestOrBuilderpublic DiagnoseClusterRequest.Builder setClusterName(String value)
Required. The cluster name.
string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The clusterName to set.public DiagnoseClusterRequest.Builder clearClusterName()
Required. The cluster name.
string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];public DiagnoseClusterRequest.Builder setClusterNameBytes(com.google.protobuf.ByteString value)
Required. The cluster name.
string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for clusterName to set.public String getTarballGcsDir()
Optional. The output Cloud Storage directory for the diagnostic tarball. If not specified, a task-specific directory in the cluster's staging bucket will be used.
string tarball_gcs_dir = 4 [(.google.api.field_behavior) = OPTIONAL];getTarballGcsDir in interface DiagnoseClusterRequestOrBuilderpublic com.google.protobuf.ByteString getTarballGcsDirBytes()
Optional. The output Cloud Storage directory for the diagnostic tarball. If not specified, a task-specific directory in the cluster's staging bucket will be used.
string tarball_gcs_dir = 4 [(.google.api.field_behavior) = OPTIONAL];getTarballGcsDirBytes in interface DiagnoseClusterRequestOrBuilderpublic DiagnoseClusterRequest.Builder setTarballGcsDir(String value)
Optional. The output Cloud Storage directory for the diagnostic tarball. If not specified, a task-specific directory in the cluster's staging bucket will be used.
string tarball_gcs_dir = 4 [(.google.api.field_behavior) = OPTIONAL];value - The tarballGcsDir to set.public DiagnoseClusterRequest.Builder clearTarballGcsDir()
Optional. The output Cloud Storage directory for the diagnostic tarball. If not specified, a task-specific directory in the cluster's staging bucket will be used.
string tarball_gcs_dir = 4 [(.google.api.field_behavior) = OPTIONAL];public DiagnoseClusterRequest.Builder setTarballGcsDirBytes(com.google.protobuf.ByteString value)
Optional. The output Cloud Storage directory for the diagnostic tarball. If not specified, a task-specific directory in the cluster's staging bucket will be used.
string tarball_gcs_dir = 4 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for tarballGcsDir to set.public boolean hasDiagnosisInterval()
Optional. Time interval in which diagnosis should be carried out on the cluster.
.google.type.Interval diagnosis_interval = 6 [(.google.api.field_behavior) = OPTIONAL];
hasDiagnosisInterval in interface DiagnoseClusterRequestOrBuilderpublic com.google.type.Interval getDiagnosisInterval()
Optional. Time interval in which diagnosis should be carried out on the cluster.
.google.type.Interval diagnosis_interval = 6 [(.google.api.field_behavior) = OPTIONAL];
getDiagnosisInterval in interface DiagnoseClusterRequestOrBuilderpublic DiagnoseClusterRequest.Builder setDiagnosisInterval(com.google.type.Interval value)
Optional. Time interval in which diagnosis should be carried out on the cluster.
.google.type.Interval diagnosis_interval = 6 [(.google.api.field_behavior) = OPTIONAL];
public DiagnoseClusterRequest.Builder setDiagnosisInterval(com.google.type.Interval.Builder builderForValue)
Optional. Time interval in which diagnosis should be carried out on the cluster.
.google.type.Interval diagnosis_interval = 6 [(.google.api.field_behavior) = OPTIONAL];
public DiagnoseClusterRequest.Builder mergeDiagnosisInterval(com.google.type.Interval value)
Optional. Time interval in which diagnosis should be carried out on the cluster.
.google.type.Interval diagnosis_interval = 6 [(.google.api.field_behavior) = OPTIONAL];
public DiagnoseClusterRequest.Builder clearDiagnosisInterval()
Optional. Time interval in which diagnosis should be carried out on the cluster.
.google.type.Interval diagnosis_interval = 6 [(.google.api.field_behavior) = OPTIONAL];
public com.google.type.Interval.Builder getDiagnosisIntervalBuilder()
Optional. Time interval in which diagnosis should be carried out on the cluster.
.google.type.Interval diagnosis_interval = 6 [(.google.api.field_behavior) = OPTIONAL];
public com.google.type.IntervalOrBuilder getDiagnosisIntervalOrBuilder()
Optional. Time interval in which diagnosis should be carried out on the cluster.
.google.type.Interval diagnosis_interval = 6 [(.google.api.field_behavior) = OPTIONAL];
getDiagnosisIntervalOrBuilder in interface DiagnoseClusterRequestOrBuilderpublic com.google.protobuf.ProtocolStringList getJobsList()
Optional. Specifies a list of jobs on which diagnosis is to be performed.
Format: projects/{project}/regions/{region}/jobs/{job}
repeated string jobs = 10 [(.google.api.field_behavior) = OPTIONAL];getJobsList in interface DiagnoseClusterRequestOrBuilderpublic int getJobsCount()
Optional. Specifies a list of jobs on which diagnosis is to be performed.
Format: projects/{project}/regions/{region}/jobs/{job}
repeated string jobs = 10 [(.google.api.field_behavior) = OPTIONAL];getJobsCount in interface DiagnoseClusterRequestOrBuilderpublic String getJobs(int index)
Optional. Specifies a list of jobs on which diagnosis is to be performed.
Format: projects/{project}/regions/{region}/jobs/{job}
repeated string jobs = 10 [(.google.api.field_behavior) = OPTIONAL];getJobs in interface DiagnoseClusterRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getJobsBytes(int index)
Optional. Specifies a list of jobs on which diagnosis is to be performed.
Format: projects/{project}/regions/{region}/jobs/{job}
repeated string jobs = 10 [(.google.api.field_behavior) = OPTIONAL];getJobsBytes in interface DiagnoseClusterRequestOrBuilderindex - The index of the value to return.public DiagnoseClusterRequest.Builder setJobs(int index, String value)
Optional. Specifies a list of jobs on which diagnosis is to be performed.
Format: projects/{project}/regions/{region}/jobs/{job}
repeated string jobs = 10 [(.google.api.field_behavior) = OPTIONAL];index - The index to set the value at.value - The jobs to set.public DiagnoseClusterRequest.Builder addJobs(String value)
Optional. Specifies a list of jobs on which diagnosis is to be performed.
Format: projects/{project}/regions/{region}/jobs/{job}
repeated string jobs = 10 [(.google.api.field_behavior) = OPTIONAL];value - The jobs to add.public DiagnoseClusterRequest.Builder addAllJobs(Iterable<String> values)
Optional. Specifies a list of jobs on which diagnosis is to be performed.
Format: projects/{project}/regions/{region}/jobs/{job}
repeated string jobs = 10 [(.google.api.field_behavior) = OPTIONAL];values - The jobs to add.public DiagnoseClusterRequest.Builder clearJobs()
Optional. Specifies a list of jobs on which diagnosis is to be performed.
Format: projects/{project}/regions/{region}/jobs/{job}
repeated string jobs = 10 [(.google.api.field_behavior) = OPTIONAL];public DiagnoseClusterRequest.Builder addJobsBytes(com.google.protobuf.ByteString value)
Optional. Specifies a list of jobs on which diagnosis is to be performed.
Format: projects/{project}/regions/{region}/jobs/{job}
repeated string jobs = 10 [(.google.api.field_behavior) = OPTIONAL];value - The bytes of the jobs to add.public com.google.protobuf.ProtocolStringList getYarnApplicationIdsList()
Optional. Specifies a list of yarn applications on which diagnosis is to be performed.
repeated string yarn_application_ids = 11 [(.google.api.field_behavior) = OPTIONAL];
getYarnApplicationIdsList in interface DiagnoseClusterRequestOrBuilderpublic int getYarnApplicationIdsCount()
Optional. Specifies a list of yarn applications on which diagnosis is to be performed.
repeated string yarn_application_ids = 11 [(.google.api.field_behavior) = OPTIONAL];
getYarnApplicationIdsCount in interface DiagnoseClusterRequestOrBuilderpublic String getYarnApplicationIds(int index)
Optional. Specifies a list of yarn applications on which diagnosis is to be performed.
repeated string yarn_application_ids = 11 [(.google.api.field_behavior) = OPTIONAL];
getYarnApplicationIds in interface DiagnoseClusterRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getYarnApplicationIdsBytes(int index)
Optional. Specifies a list of yarn applications on which diagnosis is to be performed.
repeated string yarn_application_ids = 11 [(.google.api.field_behavior) = OPTIONAL];
getYarnApplicationIdsBytes in interface DiagnoseClusterRequestOrBuilderindex - The index of the value to return.public DiagnoseClusterRequest.Builder setYarnApplicationIds(int index, String value)
Optional. Specifies a list of yarn applications on which diagnosis is to be performed.
repeated string yarn_application_ids = 11 [(.google.api.field_behavior) = OPTIONAL];
index - The index to set the value at.value - The yarnApplicationIds to set.public DiagnoseClusterRequest.Builder addYarnApplicationIds(String value)
Optional. Specifies a list of yarn applications on which diagnosis is to be performed.
repeated string yarn_application_ids = 11 [(.google.api.field_behavior) = OPTIONAL];
value - The yarnApplicationIds to add.public DiagnoseClusterRequest.Builder addAllYarnApplicationIds(Iterable<String> values)
Optional. Specifies a list of yarn applications on which diagnosis is to be performed.
repeated string yarn_application_ids = 11 [(.google.api.field_behavior) = OPTIONAL];
values - The yarnApplicationIds to add.public DiagnoseClusterRequest.Builder clearYarnApplicationIds()
Optional. Specifies a list of yarn applications on which diagnosis is to be performed.
repeated string yarn_application_ids = 11 [(.google.api.field_behavior) = OPTIONAL];
public DiagnoseClusterRequest.Builder addYarnApplicationIdsBytes(com.google.protobuf.ByteString value)
Optional. Specifies a list of yarn applications on which diagnosis is to be performed.
repeated string yarn_application_ids = 11 [(.google.api.field_behavior) = OPTIONAL];
value - The bytes of the yarnApplicationIds to add.public final DiagnoseClusterRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DiagnoseClusterRequest.Builder>public final DiagnoseClusterRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DiagnoseClusterRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.