Interface UsageSnapshotOrBuilder (4.43.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the snapshotTime field is set.