Package com.google.cloud.dataproc.v1
Interface UsageSnapshotOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UsageSnapshot
,UsageSnapshot.Builder
public interface UsageSnapshotOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getMilliDcu()
Optional.long
getShuffleStorageGb()
Optional.com.google.protobuf.Timestamp
getSnapshotTime()
Optional.com.google.protobuf.TimestampOrBuilder
getSnapshotTimeOrBuilder()
Optional.boolean
hasSnapshotTime()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMilliDcu
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];
- Returns:
- The milliDcu.
-
getShuffleStorageGb
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];
- Returns:
- The shuffleStorageGb.
-
hasSnapshotTime
boolean hasSnapshotTime()
Optional. The timestamp of the usage snapshot.
.google.protobuf.Timestamp snapshot_time = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the snapshotTime field is set.
-
getSnapshotTime
com.google.protobuf.Timestamp getSnapshotTime()
Optional. The timestamp of the usage snapshot.
.google.protobuf.Timestamp snapshot_time = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The snapshotTime.
-
getSnapshotTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder()
Optional. The timestamp of the usage snapshot.
.google.protobuf.Timestamp snapshot_time = 3 [(.google.api.field_behavior) = OPTIONAL];
-
-