public final class UsageMetrics extends GeneratedMessageV3 implements UsageMetricsOrBuilder
Usage metrics represent approximate total resources consumed by a workload.
Protobuf type google.cloud.dataproc.v1.UsageMetrics
Static Fields
MILLI_DCU_SECONDS_FIELD_NUMBER
public static final int MILLI_DCU_SECONDS_FIELD_NUMBER
Field Value
SHUFFLE_STORAGE_GB_SECONDS_FIELD_NUMBER
public static final int SHUFFLE_STORAGE_GB_SECONDS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UsageMetrics getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UsageMetrics.Builder newBuilder()
Returns
newBuilder(UsageMetrics prototype)
public static UsageMetrics.Builder newBuilder(UsageMetrics prototype)
Parameter
Returns
public static UsageMetrics parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UsageMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UsageMetrics parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UsageMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UsageMetrics parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UsageMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UsageMetrics parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UsageMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UsageMetrics parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UsageMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UsageMetrics parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UsageMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UsageMetrics> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public UsageMetrics getDefaultInstanceForType()
Returns
getMilliDcuSeconds()
public long getMilliDcuSeconds()
Optional. DCU (Dataproc Compute Units) usage in (milliDCU
x seconds
)
(see Dataproc Serverless pricing).
int64 milli_dcu_seconds = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
long | The milliDcuSeconds.
|
getParserForType()
public Parser<UsageMetrics> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getShuffleStorageGbSeconds()
public long getShuffleStorageGbSeconds()
Optional. Shuffle storage usage in (GB
x seconds
) (see
Dataproc Serverless pricing).
int64 shuffle_storage_gb_seconds = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
long | The shuffleStorageGbSeconds.
|
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 UsageMetrics.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UsageMetrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UsageMetrics.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions