public static final class DataprocMetricConfig.Builder extends GeneratedMessageV3.Builder<DataprocMetricConfig.Builder> implements DataprocMetricConfigOrBuilder
Dataproc metric config.
Protobuf type google.cloud.dataproc.v1.DataprocMetricConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllMetrics(Iterable<? extends DataprocMetricConfig.Metric> values)
public DataprocMetricConfig.Builder addAllMetrics(Iterable<? extends DataprocMetricConfig.Metric> values)
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.dataproc.v1.DataprocMetricConfig.Metric>
|
addMetrics(DataprocMetricConfig.Metric value)
public DataprocMetricConfig.Builder addMetrics(DataprocMetricConfig.Metric value)
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
addMetrics(DataprocMetricConfig.Metric.Builder builderForValue)
public DataprocMetricConfig.Builder addMetrics(DataprocMetricConfig.Metric.Builder builderForValue)
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
addMetrics(int index, DataprocMetricConfig.Metric value)
public DataprocMetricConfig.Builder addMetrics(int index, DataprocMetricConfig.Metric value)
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
addMetrics(int index, DataprocMetricConfig.Metric.Builder builderForValue)
public DataprocMetricConfig.Builder addMetrics(int index, DataprocMetricConfig.Metric.Builder builderForValue)
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
addMetricsBuilder()
public DataprocMetricConfig.Metric.Builder addMetricsBuilder()
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
addMetricsBuilder(int index)
public DataprocMetricConfig.Metric.Builder addMetricsBuilder(int index)
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataprocMetricConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DataprocMetricConfig build()
buildPartial()
public DataprocMetricConfig buildPartial()
clear()
public DataprocMetricConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DataprocMetricConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMetrics()
public DataprocMetricConfig.Builder clearMetrics()
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public DataprocMetricConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DataprocMetricConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public DataprocMetricConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMetrics(int index)
public DataprocMetricConfig.Metric getMetrics(int index)
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getMetricsBuilder(int index)
public DataprocMetricConfig.Metric.Builder getMetricsBuilder(int index)
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getMetricsBuilderList()
public List<DataprocMetricConfig.Metric.Builder> getMetricsBuilderList()
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
getMetricsCount()
public int getMetricsCount()
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | |
getMetricsList()
public List<DataprocMetricConfig.Metric> getMetricsList()
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
getMetricsOrBuilder(int index)
public DataprocMetricConfig.MetricOrBuilder getMetricsOrBuilder(int index)
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getMetricsOrBuilderList()
public List<? extends DataprocMetricConfig.MetricOrBuilder> getMetricsOrBuilderList()
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.dataproc.v1.DataprocMetricConfig.MetricOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DataprocMetricConfig other)
public DataprocMetricConfig.Builder mergeFrom(DataprocMetricConfig other)
public DataprocMetricConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DataprocMetricConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataprocMetricConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeMetrics(int index)
public DataprocMetricConfig.Builder removeMetrics(int index)
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public DataprocMetricConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMetrics(int index, DataprocMetricConfig.Metric value)
public DataprocMetricConfig.Builder setMetrics(int index, DataprocMetricConfig.Metric value)
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
setMetrics(int index, DataprocMetricConfig.Metric.Builder builderForValue)
public DataprocMetricConfig.Builder setMetrics(int index, DataprocMetricConfig.Metric.Builder builderForValue)
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataprocMetricConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataprocMetricConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides