Class DataprocMetricConfig (4.39.0)

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
Type Description
int

Static Methods

getDefaultInstance()

public static DataprocMetricConfig getDefaultInstance()
Returns
Type Description
DataprocMetricConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DataprocMetricConfig.Builder newBuilder()
Returns
Type Description
DataprocMetricConfig.Builder

newBuilder(DataprocMetricConfig prototype)

public static DataprocMetricConfig.Builder newBuilder(DataprocMetricConfig prototype)
Parameter
Name Description
prototype DataprocMetricConfig
Returns
Type Description
DataprocMetricConfig.Builder

parseDelimitedFrom(InputStream input)

public static DataprocMetricConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataprocMetricConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataprocMetricConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataprocMetricConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataprocMetricConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataprocMetricConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataprocMetricConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataprocMetricConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataprocMetricConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataprocMetricConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataprocMetricConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataprocMetricConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataprocMetricConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataprocMetricConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataprocMetricConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataprocMetricConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataprocMetricConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataprocMetricConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataprocMetricConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataprocMetricConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataprocMetricConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataprocMetricConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataprocMetricConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataprocMetricConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataprocMetricConfig> parser()
Returns
Type Description
Parser<DataprocMetricConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DataprocMetricConfig getDefaultInstanceForType()
Returns
Type Description
DataprocMetricConfig

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
Returns
Type Description
DataprocMetricConfig.Metric

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];

Returns
Type Description
List<Metric>

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
Returns
Type Description
DataprocMetricConfig.MetricOrBuilder

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
Type Description
Parser<DataprocMetricConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataprocMetricConfig.Builder newBuilderForType()
Returns
Type Description
DataprocMetricConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataprocMetricConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataprocMetricConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DataprocMetricConfig.Builder toBuilder()
Returns
Type Description
DataprocMetricConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException