public static final class SecondaryBootDisk.Builder extends GeneratedMessageV3.Builder<SecondaryBootDisk.Builder> implements SecondaryBootDiskOrBuilder
SecondaryBootDisk represents a persistent disk attached to a node
with special configurations based on its mode.
Protobuf type google.container.v1beta1.SecondaryBootDisk
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecondaryBootDisk.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SecondaryBootDisk build()
buildPartial()
public SecondaryBootDisk buildPartial()
clear()
public SecondaryBootDisk.Builder clear()
Overrides
clearDiskImage()
public SecondaryBootDisk.Builder clearDiskImage()
Fully-qualified resource ID for an existing disk image.
string disk_image = 2;
clearField(Descriptors.FieldDescriptor field)
public SecondaryBootDisk.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMode()
public SecondaryBootDisk.Builder clearMode()
Disk mode (container image cache, etc.)
.google.container.v1beta1.SecondaryBootDisk.Mode mode = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public SecondaryBootDisk.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SecondaryBootDisk.Builder clone()
Overrides
getDefaultInstanceForType()
public SecondaryBootDisk getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDiskImage()
public String getDiskImage()
Fully-qualified resource ID for an existing disk image.
string disk_image = 2;
Returns |
Type |
Description |
String |
The diskImage.
|
getDiskImageBytes()
public ByteString getDiskImageBytes()
Fully-qualified resource ID for an existing disk image.
string disk_image = 2;
Returns |
Type |
Description |
ByteString |
The bytes for diskImage.
|
getMode()
public SecondaryBootDisk.Mode getMode()
Disk mode (container image cache, etc.)
.google.container.v1beta1.SecondaryBootDisk.Mode mode = 1;
getModeValue()
public int getModeValue()
Disk mode (container image cache, etc.)
.google.container.v1beta1.SecondaryBootDisk.Mode mode = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for mode.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SecondaryBootDisk other)
public SecondaryBootDisk.Builder mergeFrom(SecondaryBootDisk other)
public SecondaryBootDisk.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SecondaryBootDisk.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecondaryBootDisk.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDiskImage(String value)
public SecondaryBootDisk.Builder setDiskImage(String value)
Fully-qualified resource ID for an existing disk image.
string disk_image = 2;
Parameter |
Name |
Description |
value |
String
The diskImage to set.
|
setDiskImageBytes(ByteString value)
public SecondaryBootDisk.Builder setDiskImageBytes(ByteString value)
Fully-qualified resource ID for an existing disk image.
string disk_image = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for diskImage to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SecondaryBootDisk.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMode(SecondaryBootDisk.Mode value)
public SecondaryBootDisk.Builder setMode(SecondaryBootDisk.Mode value)
Disk mode (container image cache, etc.)
.google.container.v1beta1.SecondaryBootDisk.Mode mode = 1;
setModeValue(int value)
public SecondaryBootDisk.Builder setModeValue(int value)
Disk mode (container image cache, etc.)
.google.container.v1beta1.SecondaryBootDisk.Mode mode = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for mode to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecondaryBootDisk.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SecondaryBootDisk.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides