public final class UsageMetrics extends com.google.protobuf.GeneratedMessageV3 implements UsageMetricsOrBuilder
Usage metrics represent approximate total resources consumed by a workload.Protobuf type
google.cloud.dataproc.v1.UsageMetrics| Modifier and Type | Class and Description |
|---|---|
static class |
UsageMetrics.Builder
Usage metrics represent approximate total resources consumed by a workload.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACCELERATOR_TYPE_FIELD_NUMBER |
static int |
MILLI_ACCELERATOR_SECONDS_FIELD_NUMBER |
static int |
MILLI_DCU_SECONDS_FIELD_NUMBER |
static int |
SHUFFLE_STORAGE_GB_SECONDS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAcceleratorType()
Optional.
|
com.google.protobuf.ByteString |
getAcceleratorTypeBytes()
Optional.
|
static UsageMetrics |
getDefaultInstance() |
UsageMetrics |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getMilliAcceleratorSeconds()
Optional.
|
long |
getMilliDcuSeconds()
Optional.
|
com.google.protobuf.Parser<UsageMetrics> |
getParserForType() |
int |
getSerializedSize() |
long |
getShuffleStorageGbSeconds()
Optional.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static UsageMetrics.Builder |
newBuilder() |
static UsageMetrics.Builder |
newBuilder(UsageMetrics prototype) |
UsageMetrics.Builder |
newBuilderForType() |
protected UsageMetrics.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static UsageMetrics |
parseDelimitedFrom(InputStream input) |
static UsageMetrics |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UsageMetrics |
parseFrom(byte[] data) |
static UsageMetrics |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UsageMetrics |
parseFrom(ByteBuffer data) |
static UsageMetrics |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UsageMetrics |
parseFrom(com.google.protobuf.ByteString data) |
static UsageMetrics |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UsageMetrics |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UsageMetrics |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UsageMetrics |
parseFrom(InputStream input) |
static UsageMetrics |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<UsageMetrics> |
parser() |
UsageMetrics.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MILLI_DCU_SECONDS_FIELD_NUMBER
public static final int SHUFFLE_STORAGE_GB_SECONDS_FIELD_NUMBER
public static final int MILLI_ACCELERATOR_SECONDS_FIELD_NUMBER
public static final int ACCELERATOR_TYPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public long getMilliDcuSeconds()
Optional. DCU (Dataproc Compute Units) usage in (`milliDCU` x `seconds`) (see [Dataproc Serverless pricing] (https://cloud.google.com/dataproc-serverless/pricing)).
int64 milli_dcu_seconds = 1 [(.google.api.field_behavior) = OPTIONAL];getMilliDcuSeconds in interface UsageMetricsOrBuilderpublic long getShuffleStorageGbSeconds()
Optional. Shuffle storage usage in (`GB` x `seconds`) (see [Dataproc Serverless pricing] (https://cloud.google.com/dataproc-serverless/pricing)).
int64 shuffle_storage_gb_seconds = 2 [(.google.api.field_behavior) = OPTIONAL];getShuffleStorageGbSeconds in interface UsageMetricsOrBuilderpublic long getMilliAcceleratorSeconds()
Optional. Accelerator usage in (`milliAccelerator` x `seconds`) (see [Dataproc Serverless pricing] (https://cloud.google.com/dataproc-serverless/pricing)).
int64 milli_accelerator_seconds = 3 [(.google.api.field_behavior) = OPTIONAL];getMilliAcceleratorSeconds in interface UsageMetricsOrBuilderpublic String getAcceleratorType()
Optional. Accelerator type being used, if any
string accelerator_type = 4 [(.google.api.field_behavior) = OPTIONAL];getAcceleratorType in interface UsageMetricsOrBuilderpublic com.google.protobuf.ByteString getAcceleratorTypeBytes()
Optional. Accelerator type being used, if any
string accelerator_type = 4 [(.google.api.field_behavior) = OPTIONAL];getAcceleratorTypeBytes in interface UsageMetricsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static UsageMetrics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UsageMetrics parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UsageMetrics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UsageMetrics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UsageMetrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UsageMetrics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UsageMetrics parseFrom(InputStream input) throws IOException
IOExceptionpublic static UsageMetrics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UsageMetrics parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static UsageMetrics parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UsageMetrics parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static UsageMetrics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic UsageMetrics.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UsageMetrics.Builder newBuilder()
public static UsageMetrics.Builder newBuilder(UsageMetrics prototype)
public UsageMetrics.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UsageMetrics.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static UsageMetrics getDefaultInstance()
public static com.google.protobuf.Parser<UsageMetrics> parser()
public com.google.protobuf.Parser<UsageMetrics> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public UsageMetrics getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.