Interface ResourcesOrBuilder (2.37.0)

public interface ResourcesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCpu()

public abstract double getCpu()

Number of CPU cores needed.

double cpu = 1;

Returns
TypeDescription
double

The cpu.

getDiskGb()

public abstract double getDiskGb()

Disk size (GB) needed.

double disk_gb = 2;

Returns
TypeDescription
double

The diskGb.

getKmsKeyReference()

public abstract String getKmsKeyReference()

The name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to encrypt the vm disk

string kms_key_reference = 5;

Returns
TypeDescription
String

The kmsKeyReference.

getKmsKeyReferenceBytes()

public abstract ByteString getKmsKeyReferenceBytes()

The name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to encrypt the vm disk

string kms_key_reference = 5;

Returns
TypeDescription
ByteString

The bytes for kmsKeyReference.

getMemoryGb()

public abstract double getMemoryGb()

Memory (GB) needed.

double memory_gb = 3;

Returns
TypeDescription
double

The memoryGb.

getVolumes(int index)

public abstract Volume getVolumes(int index)

User specified volumes.

repeated .google.appengine.v1.Volume volumes = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Volume

getVolumesCount()

public abstract int getVolumesCount()

User specified volumes.

repeated .google.appengine.v1.Volume volumes = 4;

Returns
TypeDescription
int

getVolumesList()

public abstract List<Volume> getVolumesList()

User specified volumes.

repeated .google.appengine.v1.Volume volumes = 4;

Returns
TypeDescription
List<Volume>

getVolumesOrBuilder(int index)

public abstract VolumeOrBuilder getVolumesOrBuilder(int index)

User specified volumes.

repeated .google.appengine.v1.Volume volumes = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
VolumeOrBuilder

getVolumesOrBuilderList()

public abstract List<? extends VolumeOrBuilder> getVolumesOrBuilderList()

User specified volumes.

repeated .google.appengine.v1.Volume volumes = 4;

Returns
TypeDescription
List<? extends com.google.appengine.v1.VolumeOrBuilder>