public static final class BootDisk.Builder extends GeneratedMessage.Builder<BootDisk.Builder> implements BootDiskOrBuilderBootDisk specifies the boot disk configuration for nodepools.
Protobuf type google.container.v1beta1.BootDisk
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BootDisk.BuilderImplements
BootDiskOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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. |
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. |
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 GeneratedMessage.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 |
|
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. |
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. |
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. |