Interface UsageSnapshotOrBuilder (4.33.0)

public interface UsageSnapshotOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcceleratorType()

public abstract String getAcceleratorType()

Optional. Accelerator type being used, if any

string accelerator_type = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The acceleratorType.

getAcceleratorTypeBytes()

public abstract ByteString getAcceleratorTypeBytes()

Optional. Accelerator type being used, if any

string accelerator_type = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for acceleratorType.

getMilliAccelerator()

public abstract long getMilliAccelerator()

Optional. Milli (one-thousandth) accelerator. (see Dataproc Serverless pricing)

int64 milli_accelerator = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
long

The milliAccelerator.

getMilliDcu()

public abstract long getMilliDcu()

Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc Serverless pricing).

int64 milli_dcu = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
long

The milliDcu.

getMilliDcuPremium()

public abstract long getMilliDcuPremium()

Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) charged at premium tier (see Dataproc Serverless pricing).

int64 milli_dcu_premium = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
long

The milliDcuPremium.

getShuffleStorageGb()

public abstract long getShuffleStorageGb()

Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing)

int64 shuffle_storage_gb = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
long

The shuffleStorageGb.

getShuffleStorageGbPremium()

public abstract long getShuffleStorageGbPremium()

Optional. Shuffle Storage in gigabytes (GB) charged at premium tier. (see Dataproc Serverless pricing)

int64 shuffle_storage_gb_premium = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
long

The shuffleStorageGbPremium.

getSnapshotTime()

public abstract Timestamp getSnapshotTime()

Optional. The timestamp of the usage snapshot.

.google.protobuf.Timestamp snapshot_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Timestamp

The snapshotTime.

getSnapshotTimeOrBuilder()

public abstract TimestampOrBuilder getSnapshotTimeOrBuilder()

Optional. The timestamp of the usage snapshot.

.google.protobuf.Timestamp snapshot_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
TimestampOrBuilder

hasSnapshotTime()

public abstract boolean hasSnapshotTime()

Optional. The timestamp of the usage snapshot.

.google.protobuf.Timestamp snapshot_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the snapshotTime field is set.