- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.appengine.v1.Volume> |
Returns | |
---|---|
Type | Description |
Resources.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Resources.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Resources.Builder |
addVolumes(Volume value)
public Resources.Builder addVolumes(Volume value)
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Parameter | |
---|---|
Name | Description |
value | Volume |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Volume.Builder |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | Volume |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Volume.Builder |
Returns | |
---|---|
Type | Description |
Resources.Builder |
addVolumesBuilder()
public Volume.Builder addVolumesBuilder()
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Returns | |
---|---|
Type | Description |
Volume.Builder |
addVolumesBuilder(int index)
public Volume.Builder addVolumesBuilder(int index)
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Volume.Builder |
build()
public Resources build()
Returns | |
---|---|
Type | Description |
Resources |
buildPartial()
public Resources buildPartial()
Returns | |
---|---|
Type | Description |
Resources |
clear()
public Resources.Builder clear()
Returns | |
---|---|
Type | Description |
Resources.Builder |
clearCpu()
public Resources.Builder clearCpu()
Number of CPU cores needed.
double cpu = 1;
Returns | |
---|---|
Type | Description |
Resources.Builder | This builder for chaining. |
clearDiskGb()
public Resources.Builder clearDiskGb()
Disk size (GB) needed.
double disk_gb = 2;
Returns | |
---|---|
Type | Description |
Resources.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Resources.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Resources.Builder | This builder for chaining. |
clearMemoryGb()
public Resources.Builder clearMemoryGb()
Memory (GB) needed.
double memory_gb = 3;
Returns | |
---|---|
Type | Description |
Resources.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Resources.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Resources.Builder |
clearVolumes()
public Resources.Builder clearVolumes()
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Returns | |
---|---|
Type | Description |
Resources.Builder |
clone()
public Resources.Builder clone()
Returns | |
---|---|
Type | Description |
Resources.Builder |
getCpu()
public double getCpu()
Number of CPU cores needed.
double cpu = 1;
Returns | |
---|---|
Type | Description |
double | The cpu. |
getDefaultInstanceForType()
public Resources getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Resources |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDiskGb()
public double getDiskGb()
Disk size (GB) needed.
double disk_gb = 2;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for kmsKeyReference. |
getMemoryGb()
public double getMemoryGb()
Memory (GB) needed.
double memory_gb = 3;
Returns | |
---|---|
Type | Description |
double | The memoryGb. |
getVolumes(int index)
public Volume getVolumes(int index)
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Volume |
getVolumesBuilder(int index)
public Volume.Builder getVolumesBuilder(int index)
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Volume.Builder |
getVolumesBuilderList()
public List<Volume.Builder> getVolumesBuilderList()
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Returns | |
---|---|
Type | Description |
List<Builder> |
getVolumesCount()
public int getVolumesCount()
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Returns | |
---|---|
Type | Description |
int |
getVolumesList()
public List<Volume> getVolumesList()
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Returns | |
---|---|
Type | Description |
List<Volume> |
getVolumesOrBuilder(int index)
public VolumeOrBuilder getVolumesOrBuilder(int index)
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VolumeOrBuilder |
getVolumesOrBuilderList()
public List<? extends VolumeOrBuilder> getVolumesOrBuilderList()
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Returns | |
---|---|
Type | Description |
List<? extends com.google.appengine.v1.VolumeOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Resources other)
public Resources.Builder mergeFrom(Resources other)
Parameter | |
---|---|
Name | Description |
other | Resources |
Returns | |
---|---|
Type | Description |
Resources.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Resources.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Resources.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Resources.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Resources.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Resources.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Resources.Builder |
removeVolumes(int index)
public Resources.Builder removeVolumes(int index)
User specified volumes.
repeated .google.appengine.v1.Volume volumes = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Resources.Builder |
setCpu(double value)
public Resources.Builder setCpu(double value)
Number of CPU cores needed.
double cpu = 1;
Parameter | |
---|---|
Name | Description |
value | double The cpu to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | double The diskGb to set. |
Returns | |
---|---|
Type | Description |
Resources.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Resources.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The kmsKeyReference to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for kmsKeyReference to set. |
Returns | |
---|---|
Type | Description |
Resources.Builder | This builder for chaining. |
setMemoryGb(double value)
public Resources.Builder setMemoryGb(double value)
Memory (GB) needed.
double memory_gb = 3;
Parameter | |
---|---|
Name | Description |
value | double The memoryGb to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Resources.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Resources.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | Volume |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Volume.Builder |
Returns | |
---|---|
Type | Description |
Resources.Builder |