public static final class LinuxNodeConfig.SwapConfig.BootDiskProfile extends GeneratedMessage implements LinuxNodeConfig.SwapConfig.BootDiskProfileOrBuilderSwap on the node's boot disk.
Protobuf type google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > LinuxNodeConfig.SwapConfig.BootDiskProfileStatic Fields
SWAP_SIZE_GIB_FIELD_NUMBER
public static final int SWAP_SIZE_GIB_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SWAP_SIZE_PERCENT_FIELD_NUMBER
public static final int SWAP_SIZE_PERCENT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static LinuxNodeConfig.SwapConfig.BootDiskProfile getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static LinuxNodeConfig.SwapConfig.BootDiskProfile.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile.Builder |
|
newBuilder(LinuxNodeConfig.SwapConfig.BootDiskProfile prototype)
public static LinuxNodeConfig.SwapConfig.BootDiskProfile.Builder newBuilder(LinuxNodeConfig.SwapConfig.BootDiskProfile prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
LinuxNodeConfig.SwapConfig.BootDiskProfile |
| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile.Builder |
|
parseDelimitedFrom(InputStream input)
public static LinuxNodeConfig.SwapConfig.BootDiskProfile parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LinuxNodeConfig.SwapConfig.BootDiskProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static LinuxNodeConfig.SwapConfig.BootDiskProfile parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LinuxNodeConfig.SwapConfig.BootDiskProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static LinuxNodeConfig.SwapConfig.BootDiskProfile parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LinuxNodeConfig.SwapConfig.BootDiskProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static LinuxNodeConfig.SwapConfig.BootDiskProfile parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LinuxNodeConfig.SwapConfig.BootDiskProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static LinuxNodeConfig.SwapConfig.BootDiskProfile parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LinuxNodeConfig.SwapConfig.BootDiskProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static LinuxNodeConfig.SwapConfig.BootDiskProfile parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LinuxNodeConfig.SwapConfig.BootDiskProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<LinuxNodeConfig.SwapConfig.BootDiskProfile> parser()| Returns | |
|---|---|
| Type | Description |
Parser<BootDiskProfile> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public LinuxNodeConfig.SwapConfig.BootDiskProfile getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile |
|
getParserForType()
public Parser<LinuxNodeConfig.SwapConfig.BootDiskProfile> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<BootDiskProfile> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSwapSizeCase()
public LinuxNodeConfig.SwapConfig.BootDiskProfile.SwapSizeCase getSwapSizeCase()| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile.SwapSizeCase |
|
getSwapSizeGib()
public long getSwapSizeGib()Specifies the size of the swap space in gibibytes (GiB).
int64 swap_size_gib = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The swapSizeGib. |
getSwapSizePercent()
public int getSwapSizePercent()Specifies the size of the swap space as a percentage of the boot disk size.
int32 swap_size_percent = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The swapSizePercent. |
hasSwapSizeGib()
public boolean hasSwapSizeGib()Specifies the size of the swap space in gibibytes (GiB).
int64 swap_size_gib = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the swapSizeGib field is set. |
hasSwapSizePercent()
public boolean hasSwapSizePercent()Specifies the size of the swap space as a percentage of the boot disk size.
int32 swap_size_percent = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the swapSizePercent field is set. |
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 LinuxNodeConfig.SwapConfig.BootDiskProfile.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected LinuxNodeConfig.SwapConfig.BootDiskProfile.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile.Builder |
|
toBuilder()
public LinuxNodeConfig.SwapConfig.BootDiskProfile.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
LinuxNodeConfig.SwapConfig.BootDiskProfile.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|