- 4.73.0 (latest)
- 4.72.0
- 4.71.0
- 4.70.0
- 4.69.0
- 4.67.0
- 4.65.0
- 4.64.0
- 4.61.0
- 4.60.0
- 4.59.0
- 4.57.0
- 4.56.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.46.0
- 4.45.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
public static final class DiagnoseClusterRequest.Builder extends GeneratedMessageV3.Builder<DiagnoseClusterRequest.Builder> implements DiagnoseClusterRequestOrBuilderA request to collect cluster diagnostic information.
Protobuf type google.cloud.dataproc.v1.DiagnoseClusterRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DiagnoseClusterRequest.BuilderImplements
DiagnoseClusterRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllJobs(Iterable<String> values)
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];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The jobs to add. |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
addAllYarnApplicationIds(Iterable<String> values)
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];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The yarnApplicationIds to add. |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
addJobs(String value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe jobs to add. |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
addJobsBytes(ByteString value)
public DiagnoseClusterRequest.Builder addJobsBytes(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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the jobs to add. |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiagnoseClusterRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
|
addYarnApplicationIds(String value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe yarnApplicationIds to add. |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
addYarnApplicationIdsBytes(ByteString value)
public DiagnoseClusterRequest.Builder addYarnApplicationIdsBytes(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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the yarnApplicationIds to add. |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
build()
public DiagnoseClusterRequest build()| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest |
|
buildPartial()
public DiagnoseClusterRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest |
|
clear()
public DiagnoseClusterRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
|
clearClusterName()
public DiagnoseClusterRequest.Builder clearClusterName()Required. The cluster name.
string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
clearDiagnosisInterval()
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];
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public DiagnoseClusterRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
|
clearJobs()
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];
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DiagnoseClusterRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
|
clearProjectId()
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];
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
clearRegion()
public DiagnoseClusterRequest.Builder clearRegion()Required. The Dataproc region in which to handle the request.
string region = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
clearTarballAccess()
public DiagnoseClusterRequest.Builder clearTarballAccess()Optional. (Optional) The access type to the diagnostic tarball. If not specified, falls back to default access of the bucket
.google.cloud.dataproc.v1.DiagnoseClusterRequest.TarballAccess tarball_access = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
clearTarballGcsDir()
public DiagnoseClusterRequest.Builder clearTarballGcsDir()Optional. (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];
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
clearYarnApplicationIds()
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];
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
clone()
public DiagnoseClusterRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
|
getClusterName()
public String getClusterName()Required. The cluster name.
string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The clusterName. |
getClusterNameBytes()
public ByteString getClusterNameBytes()Required. The cluster name.
string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clusterName. |
getDefaultInstanceForType()
public DiagnoseClusterRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDiagnosisInterval()
public 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];
| Returns | |
|---|---|
| Type | Description |
com.google.type.Interval |
The diagnosisInterval. |
getDiagnosisIntervalBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
com.google.type.Interval.Builder |
|
getDiagnosisIntervalOrBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
com.google.type.IntervalOrBuilder |
|
getJobs(int index)
public 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The jobs at the given index. |
getJobsBytes(int index)
public 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the jobs at the given index. |
getJobsCount()
public 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];
| Returns | |
|---|---|
| Type | Description |
int |
The count of jobs. |
getJobsList()
public 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];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the jobs. |
getProjectId()
public 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];
| Returns | |
|---|---|
| Type | Description |
String |
The projectId. |
getProjectIdBytes()
public 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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for projectId. |
getRegion()
public String getRegion()Required. The Dataproc region in which to handle the request.
string region = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The region. |
getRegionBytes()
public ByteString getRegionBytes()Required. The Dataproc region in which to handle the request.
string region = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for region. |
getTarballAccess()
public DiagnoseClusterRequest.TarballAccess getTarballAccess()Optional. (Optional) The access type to the diagnostic tarball. If not specified, falls back to default access of the bucket
.google.cloud.dataproc.v1.DiagnoseClusterRequest.TarballAccess tarball_access = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.TarballAccess |
The tarballAccess. |
getTarballAccessValue()
public int getTarballAccessValue()Optional. (Optional) The access type to the diagnostic tarball. If not specified, falls back to default access of the bucket
.google.cloud.dataproc.v1.DiagnoseClusterRequest.TarballAccess tarball_access = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for tarballAccess. |
getTarballGcsDir()
public String getTarballGcsDir()Optional. (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];
| Returns | |
|---|---|
| Type | Description |
String |
The tarballGcsDir. |
getTarballGcsDirBytes()
public ByteString getTarballGcsDirBytes()Optional. (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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tarballGcsDir. |
getYarnApplicationIds(int index)
public 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The yarnApplicationIds at the given index. |
getYarnApplicationIdsBytes(int index)
public 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the yarnApplicationIds at the given index. |
getYarnApplicationIdsCount()
public 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];
| Returns | |
|---|---|
| Type | Description |
int |
The count of yarnApplicationIds. |
getYarnApplicationIdsList()
public 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];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the yarnApplicationIds. |
hasDiagnosisInterval()
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the diagnosisInterval field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDiagnosisInterval(Interval value)
public DiagnoseClusterRequest.Builder mergeDiagnosisInterval(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];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Interval |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
|
mergeFrom(DiagnoseClusterRequest other)
public DiagnoseClusterRequest.Builder mergeFrom(DiagnoseClusterRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DiagnoseClusterRequest |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiagnoseClusterRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DiagnoseClusterRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiagnoseClusterRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
|
setClusterName(String value)
public DiagnoseClusterRequest.Builder setClusterName(String value)Required. The cluster name.
string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clusterName to set. |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
setClusterNameBytes(ByteString value)
public DiagnoseClusterRequest.Builder setClusterNameBytes(ByteString value)Required. The cluster name.
string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clusterName to set. |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
setDiagnosisInterval(Interval value)
public DiagnoseClusterRequest.Builder setDiagnosisInterval(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];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Interval |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
|
setDiagnosisInterval(Interval.Builder builderForValue)
public DiagnoseClusterRequest.Builder setDiagnosisInterval(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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.type.Interval.Builder |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public DiagnoseClusterRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
|
setJobs(int index, String value)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe jobs to set. |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
setProjectId(String value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe projectId to set. |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
setProjectIdBytes(ByteString value)
public DiagnoseClusterRequest.Builder setProjectIdBytes(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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for projectId to set. |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
setRegion(String value)
public DiagnoseClusterRequest.Builder setRegion(String value)Required. The Dataproc region in which to handle the request.
string region = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public DiagnoseClusterRequest.Builder setRegionBytes(ByteString value)Required. The Dataproc region in which to handle the request.
string region = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiagnoseClusterRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
|
setTarballAccess(DiagnoseClusterRequest.TarballAccess value)
public DiagnoseClusterRequest.Builder setTarballAccess(DiagnoseClusterRequest.TarballAccess value)Optional. (Optional) The access type to the diagnostic tarball. If not specified, falls back to default access of the bucket
.google.cloud.dataproc.v1.DiagnoseClusterRequest.TarballAccess tarball_access = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DiagnoseClusterRequest.TarballAccessThe tarballAccess to set. |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
setTarballAccessValue(int value)
public DiagnoseClusterRequest.Builder setTarballAccessValue(int value)Optional. (Optional) The access type to the diagnostic tarball. If not specified, falls back to default access of the bucket
.google.cloud.dataproc.v1.DiagnoseClusterRequest.TarballAccess tarball_access = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for tarballAccess to set. |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
setTarballGcsDir(String value)
public DiagnoseClusterRequest.Builder setTarballGcsDir(String value)Optional. (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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tarballGcsDir to set. |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
setTarballGcsDirBytes(ByteString value)
public DiagnoseClusterRequest.Builder setTarballGcsDirBytes(ByteString value)Optional. (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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tarballGcsDir to set. |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DiagnoseClusterRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
|
setYarnApplicationIds(int index, String value)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe yarnApplicationIds to set. |
| Returns | |
|---|---|
| Type | Description |
DiagnoseClusterRequest.Builder |
This builder for chaining. |