public final class SecondaryBootDisk extends GeneratedMessage implements SecondaryBootDiskOrBuilderSecondaryBootDisk represents a persistent disk attached to a node with special configurations based on its mode.
Protobuf type google.container.v1beta1.SecondaryBootDisk
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SecondaryBootDiskImplements
SecondaryBootDiskOrBuilderStatic Fields
DISK_IMAGE_FIELD_NUMBER
public static final int DISK_IMAGE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static SecondaryBootDisk getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static SecondaryBootDisk.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk.Builder |
|
newBuilder(SecondaryBootDisk prototype)
public static SecondaryBootDisk.Builder newBuilder(SecondaryBootDisk prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
SecondaryBootDisk |
| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk.Builder |
|
parseDelimitedFrom(InputStream input)
public static SecondaryBootDisk parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SecondaryBootDisk parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static SecondaryBootDisk parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecondaryBootDisk parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static SecondaryBootDisk parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecondaryBootDisk parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static SecondaryBootDisk parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SecondaryBootDisk parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static SecondaryBootDisk parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SecondaryBootDisk parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static SecondaryBootDisk parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecondaryBootDisk parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<SecondaryBootDisk> parser()| Returns | |
|---|---|
| Type | Description |
Parser<SecondaryBootDisk> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public SecondaryBootDisk getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk |
|
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;
| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk.Mode |
The mode. |
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. |
getParserForType()
public Parser<SecondaryBootDisk> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<SecondaryBootDisk> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public SecondaryBootDisk.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SecondaryBootDisk.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk.Builder |
|
toBuilder()
public SecondaryBootDisk.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
SecondaryBootDisk.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|