public final class UsageSnapshot extends com.google.protobuf.GeneratedMessageV3 implements UsageSnapshotOrBuilder
The usage snapshot represents the resources consumed by a workload at a specified time.Protobuf type
google.cloud.dataproc.v1.UsageSnapshot| Modifier and Type | Class and Description |
|---|---|
static class |
UsageSnapshot.Builder
The usage snapshot represents the resources consumed by a workload at a
specified time.
|
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_FIELD_NUMBER |
static int |
MILLI_DCU_FIELD_NUMBER |
static int |
MILLI_DCU_PREMIUM_FIELD_NUMBER |
static int |
SHUFFLE_STORAGE_GB_FIELD_NUMBER |
static int |
SHUFFLE_STORAGE_GB_PREMIUM_FIELD_NUMBER |
static int |
SNAPSHOT_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAcceleratorType()
Optional.
|
com.google.protobuf.ByteString |
getAcceleratorTypeBytes()
Optional.
|
static UsageSnapshot |
getDefaultInstance() |
UsageSnapshot |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getMilliAccelerator()
Optional.
|
long |
getMilliDcu()
Optional.
|
long |
getMilliDcuPremium()
Optional.
|
com.google.protobuf.Parser<UsageSnapshot> |
getParserForType() |
int |
getSerializedSize() |
long |
getShuffleStorageGb()
Optional.
|
long |
getShuffleStorageGbPremium()
Optional.
|
com.google.protobuf.Timestamp |
getSnapshotTime()
Optional.
|
com.google.protobuf.TimestampOrBuilder |
getSnapshotTimeOrBuilder()
Optional.
|
int |
hashCode() |
boolean |
hasSnapshotTime()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static UsageSnapshot.Builder |
newBuilder() |
static UsageSnapshot.Builder |
newBuilder(UsageSnapshot prototype) |
UsageSnapshot.Builder |
newBuilderForType() |
protected UsageSnapshot.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static UsageSnapshot |
parseDelimitedFrom(InputStream input) |
static UsageSnapshot |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UsageSnapshot |
parseFrom(byte[] data) |
static UsageSnapshot |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UsageSnapshot |
parseFrom(ByteBuffer data) |
static UsageSnapshot |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UsageSnapshot |
parseFrom(com.google.protobuf.ByteString data) |
static UsageSnapshot |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UsageSnapshot |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UsageSnapshot |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UsageSnapshot |
parseFrom(InputStream input) |
static UsageSnapshot |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<UsageSnapshot> |
parser() |
UsageSnapshot.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_FIELD_NUMBER
public static final int SHUFFLE_STORAGE_GB_FIELD_NUMBER
public static final int MILLI_DCU_PREMIUM_FIELD_NUMBER
public static final int SHUFFLE_STORAGE_GB_PREMIUM_FIELD_NUMBER
public static final int MILLI_ACCELERATOR_FIELD_NUMBER
public static final int ACCELERATOR_TYPE_FIELD_NUMBER
public static final int SNAPSHOT_TIME_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 getMilliDcu()
Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see [Dataproc Serverless pricing] (https://cloud.google.com/dataproc-serverless/pricing)).
int64 milli_dcu = 1 [(.google.api.field_behavior) = OPTIONAL];getMilliDcu in interface UsageSnapshotOrBuilderpublic long getShuffleStorageGb()
Optional. Shuffle Storage in gigabytes (GB). (see [Dataproc Serverless pricing] (https://cloud.google.com/dataproc-serverless/pricing))
int64 shuffle_storage_gb = 2 [(.google.api.field_behavior) = OPTIONAL];getShuffleStorageGb in interface UsageSnapshotOrBuilderpublic long getMilliDcuPremium()
Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) charged at premium tier (see [Dataproc Serverless pricing] (https://cloud.google.com/dataproc-serverless/pricing)).
int64 milli_dcu_premium = 4 [(.google.api.field_behavior) = OPTIONAL];getMilliDcuPremium in interface UsageSnapshotOrBuilderpublic long getShuffleStorageGbPremium()
Optional. Shuffle Storage in gigabytes (GB) charged at premium tier. (see [Dataproc Serverless pricing] (https://cloud.google.com/dataproc-serverless/pricing))
int64 shuffle_storage_gb_premium = 5 [(.google.api.field_behavior) = OPTIONAL];getShuffleStorageGbPremium in interface UsageSnapshotOrBuilderpublic long getMilliAccelerator()
Optional. Milli (one-thousandth) accelerator. (see [Dataproc Serverless pricing] (https://cloud.google.com/dataproc-serverless/pricing))
int64 milli_accelerator = 6 [(.google.api.field_behavior) = OPTIONAL];getMilliAccelerator in interface UsageSnapshotOrBuilderpublic String getAcceleratorType()
Optional. Accelerator type being used, if any
string accelerator_type = 7 [(.google.api.field_behavior) = OPTIONAL];getAcceleratorType in interface UsageSnapshotOrBuilderpublic com.google.protobuf.ByteString getAcceleratorTypeBytes()
Optional. Accelerator type being used, if any
string accelerator_type = 7 [(.google.api.field_behavior) = OPTIONAL];getAcceleratorTypeBytes in interface UsageSnapshotOrBuilderpublic boolean hasSnapshotTime()
Optional. The timestamp of the usage snapshot.
.google.protobuf.Timestamp snapshot_time = 3 [(.google.api.field_behavior) = OPTIONAL];
hasSnapshotTime in interface UsageSnapshotOrBuilderpublic com.google.protobuf.Timestamp getSnapshotTime()
Optional. The timestamp of the usage snapshot.
.google.protobuf.Timestamp snapshot_time = 3 [(.google.api.field_behavior) = OPTIONAL];
getSnapshotTime in interface UsageSnapshotOrBuilderpublic com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder()
Optional. The timestamp of the usage snapshot.
.google.protobuf.Timestamp snapshot_time = 3 [(.google.api.field_behavior) = OPTIONAL];
getSnapshotTimeOrBuilder in interface UsageSnapshotOrBuilderpublic 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 UsageSnapshot parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UsageSnapshot parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UsageSnapshot parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UsageSnapshot parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UsageSnapshot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UsageSnapshot parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UsageSnapshot parseFrom(InputStream input) throws IOException
IOExceptionpublic static UsageSnapshot parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UsageSnapshot parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static UsageSnapshot parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UsageSnapshot parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static UsageSnapshot parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic UsageSnapshot.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UsageSnapshot.Builder newBuilder()
public static UsageSnapshot.Builder newBuilder(UsageSnapshot prototype)
public UsageSnapshot.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UsageSnapshot.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static UsageSnapshot getDefaultInstance()
public static com.google.protobuf.Parser<UsageSnapshot> parser()
public com.google.protobuf.Parser<UsageSnapshot> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public UsageSnapshot getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.