- 2.79.0 (latest)
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.73.0
- 2.71.0
- 2.70.0
- 2.67.0
- 2.66.0
- 2.65.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.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.40.0
- 2.39.0
- 2.38.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.27.0
- 2.26.0
- 2.25.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.2
- 2.4.1
- 2.3.8
public static final class BootDisk.Builder extends GeneratedMessageV3.Builder<BootDisk.Builder> implements BootDiskOrBuilderBootDisk specifies the boot disk configuration for nodepools.
Protobuf type google.container.v1.BootDisk
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BootDisk.BuilderImplements
BootDiskOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BootDisk.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
|
build()
public BootDisk build()| Returns | |
|---|---|
| Type | Description |
BootDisk |
|
buildPartial()
public BootDisk buildPartial()| Returns | |
|---|---|
| Type | Description |
BootDisk |
|
clear()
public BootDisk.Builder clear()| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
|
clearDiskType()
public BootDisk.Builder clearDiskType()Disk type of the boot disk. (i.e. Hyperdisk-Balanced, PD-Balanced, etc.)
string disk_type = 1;
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BootDisk.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public BootDisk.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
|
clearProvisionedIops()
public BootDisk.Builder clearProvisionedIops()For Hyperdisk-Balanced only, the provisioned IOPS config value.
int64 provisioned_iops = 3;
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
This builder for chaining. |
clearProvisionedThroughput()
public BootDisk.Builder clearProvisionedThroughput()For Hyperdisk-Balanced only, the provisioned throughput config value.
int64 provisioned_throughput = 4;
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
This builder for chaining. |
clearSizeGb()
public BootDisk.Builder clearSizeGb()Disk size in GB. Replaces NodeConfig.disk_size_gb
int64 size_gb = 2;
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
This builder for chaining. |
clone()
public BootDisk.Builder clone()| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
|
getDefaultInstanceForType()
public BootDisk getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BootDisk |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDiskType()
public String getDiskType()Disk type of the boot disk. (i.e. Hyperdisk-Balanced, PD-Balanced, etc.)
string disk_type = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The diskType. |
getDiskTypeBytes()
public ByteString getDiskTypeBytes()Disk type of the boot disk. (i.e. Hyperdisk-Balanced, PD-Balanced, etc.)
string disk_type = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for diskType. |
getProvisionedIops()
public long getProvisionedIops()For Hyperdisk-Balanced only, the provisioned IOPS config value.
int64 provisioned_iops = 3;
| Returns | |
|---|---|
| Type | Description |
long |
The provisionedIops. |
getProvisionedThroughput()
public long getProvisionedThroughput()For Hyperdisk-Balanced only, the provisioned throughput config value.
int64 provisioned_throughput = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The provisionedThroughput. |
getSizeGb()
public long getSizeGb()Disk size in GB. Replaces NodeConfig.disk_size_gb
int64 size_gb = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The sizeGb. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BootDisk other)
public BootDisk.Builder mergeFrom(BootDisk other)| Parameter | |
|---|---|
| Name | Description |
other |
BootDisk |
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BootDisk.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BootDisk.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BootDisk.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
|
setDiskType(String value)
public BootDisk.Builder setDiskType(String value)Disk type of the boot disk. (i.e. Hyperdisk-Balanced, PD-Balanced, etc.)
string disk_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe diskType to set. |
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
This builder for chaining. |
setDiskTypeBytes(ByteString value)
public BootDisk.Builder setDiskTypeBytes(ByteString value)Disk type of the boot disk. (i.e. Hyperdisk-Balanced, PD-Balanced, etc.)
string disk_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for diskType to set. |
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BootDisk.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
|
setProvisionedIops(long value)
public BootDisk.Builder setProvisionedIops(long value)For Hyperdisk-Balanced only, the provisioned IOPS config value.
int64 provisioned_iops = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe provisionedIops to set. |
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
This builder for chaining. |
setProvisionedThroughput(long value)
public BootDisk.Builder setProvisionedThroughput(long value)For Hyperdisk-Balanced only, the provisioned throughput config value.
int64 provisioned_throughput = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe provisionedThroughput to set. |
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BootDisk.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
|
setSizeGb(long value)
public BootDisk.Builder setSizeGb(long value)Disk size in GB. Replaces NodeConfig.disk_size_gb
int64 size_gb = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe sizeGb to set. |
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BootDisk.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
|