public static final class BootDisk.Builder extends GeneratedMessageV3.Builder<BootDisk.Builder> implements BootDiskOrBuilderBootDisk specifies the boot disk configuration for nodepools.
Protobuf type google.container.v1beta1.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 |
|