public final class DataprocMetricConfig extends GeneratedMessageV3 implements DataprocMetricConfigOrBuilder
Dataproc metric config.
Protobuf type google.cloud.dataproc.v1.DataprocMetricConfig
Static Fields
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DataprocMetricConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DataprocMetricConfig.Builder newBuilder()
Returns
newBuilder(DataprocMetricConfig prototype)
public static DataprocMetricConfig.Builder newBuilder(DataprocMetricConfig prototype)
Parameter
Returns
public static DataprocMetricConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataprocMetricConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DataprocMetricConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataprocMetricConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DataprocMetricConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataprocMetricConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataprocMetricConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DataprocMetricConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataprocMetricConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataprocMetricConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DataprocMetricConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataprocMetricConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DataprocMetricConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DataprocMetricConfig getDefaultInstanceForType()
Returns
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
Returns
getMetricsCount()
public int getMetricsCount()
Required. Metrics sources to enable.
repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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];
Returns
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
Returns
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> | |
getParserForType()
public Parser<DataprocMetricConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DataprocMetricConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataprocMetricConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DataprocMetricConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions