- 2.53.0 (latest)
- 2.52.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.4
- 2.2.0
- 2.1.10
- 0.2.0
public static final class Resources.Builder extends GeneratedMessageV3.Builder<Resources.Builder> implements ResourcesOrBuilder
Machine resources for a version.
Protobuf type google.appengine.v1.Resources
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Resources.BuilderImplements
ResourcesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllVolumes(Iterable<? extends Volume> values)
public Resources.Builder addAllVolumes(Iterable<? extends Volume> values)
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Name | Description |
values | Iterable<? extends com.google.appengine.v1.Volume> |
Type | Description |
Resources.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Resources.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Resources.Builder |
addVolumes(Volume value)
public Resources.Builder addVolumes(Volume value)
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Name | Description |
value | Volume |
Type | Description |
Resources.Builder |
addVolumes(Volume.Builder builderForValue)
public Resources.Builder addVolumes(Volume.Builder builderForValue)
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Name | Description |
builderForValue | Volume.Builder |
Type | Description |
Resources.Builder |
addVolumes(int index, Volume value)
public Resources.Builder addVolumes(int index, Volume value)
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Name | Description |
index | int |
value | Volume |
Type | Description |
Resources.Builder |
addVolumes(int index, Volume.Builder builderForValue)
public Resources.Builder addVolumes(int index, Volume.Builder builderForValue)
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Name | Description |
index | int |
builderForValue | Volume.Builder |
Type | Description |
Resources.Builder |
addVolumesBuilder()
public Volume.Builder addVolumesBuilder()
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Type | Description |
Volume.Builder |
addVolumesBuilder(int index)
public Volume.Builder addVolumesBuilder(int index)
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Name | Description |
index | int |
Type | Description |
Volume.Builder |
build()
public Resources build()
Type | Description |
Resources |
buildPartial()
public Resources buildPartial()
Type | Description |
Resources |
clear()
public Resources.Builder clear()
Type | Description |
Resources.Builder |
clearCpu()
public Resources.Builder clearCpu()
Number of CPU cores needed.
double cpu = 1;
Type | Description |
Resources.Builder | This builder for chaining. |
clearDiskGb()
public Resources.Builder clearDiskGb()
Disk size (GB) needed.
double disk_gb = 2;
Type | Description |
Resources.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Resources.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Resources.Builder |
clearKmsKeyReference()
public Resources.Builder clearKmsKeyReference()
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;
Type | Description |
Resources.Builder | This builder for chaining. |
clearMemoryGb()
public Resources.Builder clearMemoryGb()
Memory (GB) needed.
double memory_gb = 3;
Type | Description |
Resources.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Resources.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Resources.Builder |
clearVolumes()
public Resources.Builder clearVolumes()
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Type | Description |
Resources.Builder |
clone()
public Resources.Builder clone()
Type | Description |
Resources.Builder |
getCpu()
public double getCpu()
Number of CPU cores needed.
double cpu = 1;
Type | Description |
double | The cpu. |
getDefaultInstanceForType()
public Resources getDefaultInstanceForType()
Type | Description |
Resources |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDiskGb()
public double getDiskGb()
Disk size (GB) needed.
double disk_gb = 2;
Type | Description |
double | The diskGb. |
getKmsKeyReference()
public 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;
Type | Description |
String | The kmsKeyReference. |
getKmsKeyReferenceBytes()
public 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;
Type | Description |
ByteString | The bytes for kmsKeyReference. |
getMemoryGb()
public double getMemoryGb()
Memory (GB) needed.
double memory_gb = 3;
Type | Description |
double | The memoryGb. |
getVolumes(int index)
public Volume getVolumes(int index)
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Name | Description |
index | int |
Type | Description |
Volume |
getVolumesBuilder(int index)
public Volume.Builder getVolumesBuilder(int index)
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Name | Description |
index | int |
Type | Description |
Volume.Builder |
getVolumesBuilderList()
public List<Volume.Builder> getVolumesBuilderList()
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Type | Description |
List<Builder> |
getVolumesCount()
public int getVolumesCount()
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Type | Description |
int |
getVolumesList()
public List<Volume> getVolumesList()
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Type | Description |
List<Volume> |
getVolumesOrBuilder(int index)
public VolumeOrBuilder getVolumesOrBuilder(int index)
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Name | Description |
index | int |
Type | Description |
VolumeOrBuilder |
getVolumesOrBuilderList()
public List<? extends VolumeOrBuilder> getVolumesOrBuilderList()
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Type | Description |
List<? extends com.google.appengine.v1.VolumeOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Resources other)
public Resources.Builder mergeFrom(Resources other)
Name | Description |
other | Resources |
Type | Description |
Resources.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Resources.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Resources.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Resources.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Resources.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Resources.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Resources.Builder |
removeVolumes(int index)
public Resources.Builder removeVolumes(int index)
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Name | Description |
index | int |
Type | Description |
Resources.Builder |
setCpu(double value)
public Resources.Builder setCpu(double value)
Number of CPU cores needed.
double cpu = 1;
Name | Description |
value | double The cpu to set. |
Type | Description |
Resources.Builder | This builder for chaining. |
setDiskGb(double value)
public Resources.Builder setDiskGb(double value)
Disk size (GB) needed.
double disk_gb = 2;
Name | Description |
value | double The diskGb to set. |
Type | Description |
Resources.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Resources.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Resources.Builder |
setKmsKeyReference(String value)
public Resources.Builder setKmsKeyReference(String value)
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;
Name | Description |
value | String The kmsKeyReference to set. |
Type | Description |
Resources.Builder | This builder for chaining. |
setKmsKeyReferenceBytes(ByteString value)
public Resources.Builder setKmsKeyReferenceBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for kmsKeyReference to set. |
Type | Description |
Resources.Builder | This builder for chaining. |
setMemoryGb(double value)
public Resources.Builder setMemoryGb(double value)
Memory (GB) needed.
double memory_gb = 3;
Name | Description |
value | double The memoryGb to set. |
Type | Description |
Resources.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Resources.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Resources.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Resources.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Resources.Builder |
setVolumes(int index, Volume value)
public Resources.Builder setVolumes(int index, Volume value)
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Name | Description |
index | int |
value | Volume |
Type | Description |
Resources.Builder |
setVolumes(int index, Volume.Builder builderForValue)
public Resources.Builder setVolumes(int index, Volume.Builder builderForValue)
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Name | Description |
index | int |
builderForValue | Volume.Builder |
Type | Description |
Resources.Builder |