public final class DataprocMetricConfig extends GeneratedMessageV3 implements DataprocMetricConfigOrBuilder
Dataproc metric config.
Protobuf type google.cloud.dataproc.v1.DataprocMetricConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static DataprocMetricConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataprocMetricConfig.Builder newBuilder()
newBuilder(DataprocMetricConfig prototype)
public static DataprocMetricConfig.Builder newBuilder(DataprocMetricConfig prototype)
public static DataprocMetricConfig parseDelimitedFrom(InputStream input)
public static DataprocMetricConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataprocMetricConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataprocMetricConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataprocMetricConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataprocMetricConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataprocMetricConfig parseFrom(CodedInputStream input)
public static DataprocMetricConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataprocMetricConfig parseFrom(InputStream input)
public static DataprocMetricConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataprocMetricConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataprocMetricConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataprocMetricConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public DataprocMetricConfig getDefaultInstanceForType()
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
|
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> | |
getParserForType()
public Parser<DataprocMetricConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DataprocMetricConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataprocMetricConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public DataprocMetricConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides