Package com.google.container.v1
Class LinuxNodeConfig.SwapConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.container.v1.LinuxNodeConfig.SwapConfig
- All Implemented Interfaces:
LinuxNodeConfig.SwapConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- LinuxNodeConfig
public static final class LinuxNodeConfig.SwapConfig
extends com.google.protobuf.GeneratedMessage
implements LinuxNodeConfig.SwapConfigOrBuilder
Configuration for swap memory on a node pool.Protobuf type
google.container.v1.LinuxNodeConfig.SwapConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSwap on the node's boot disk.static interfacestatic final classConfiguration for swap memory on a node pool.static final classProvisions a new, separate local NVMe SSD exclusively for swap.static interfacestatic final classDefines encryption settings for the swap space.static interfacestatic final classSwap on the local SSD shared with pod ephemeral storage.static interfacestatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanSwap on the node's boot disk.Swap on the node's boot disk.Provisions a new, separate local NVMe SSD exclusively for swap.Provisions a new, separate local NVMe SSD exclusively for swap.static LinuxNodeConfig.SwapConfigstatic final com.google.protobuf.Descriptors.DescriptorbooleanOptional.Optional.Optional.Swap on the local SSD shared with pod ephemeral storage.Swap on the local SSD shared with pod ephemeral storage.com.google.protobuf.Parser<LinuxNodeConfig.SwapConfig>intbooleanSwap on the node's boot disk.booleanProvisions a new, separate local NVMe SSD exclusively for swap.booleanOptional.booleanOptional.booleanSwap on the local SSD shared with pod ephemeral storage.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(LinuxNodeConfig.SwapConfig prototype) protected LinuxNodeConfig.SwapConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static LinuxNodeConfig.SwapConfigparseDelimitedFrom(InputStream input) static LinuxNodeConfig.SwapConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinuxNodeConfig.SwapConfigparseFrom(byte[] data) static LinuxNodeConfig.SwapConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinuxNodeConfig.SwapConfigparseFrom(com.google.protobuf.ByteString data) static LinuxNodeConfig.SwapConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinuxNodeConfig.SwapConfigparseFrom(com.google.protobuf.CodedInputStream input) static LinuxNodeConfig.SwapConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinuxNodeConfig.SwapConfigparseFrom(InputStream input) static LinuxNodeConfig.SwapConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinuxNodeConfig.SwapConfigparseFrom(ByteBuffer data) static LinuxNodeConfig.SwapConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LinuxNodeConfig.SwapConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER- See Also:
-
ENCRYPTION_CONFIG_FIELD_NUMBER
public static final int ENCRYPTION_CONFIG_FIELD_NUMBER- See Also:
-
BOOT_DISK_PROFILE_FIELD_NUMBER
public static final int BOOT_DISK_PROFILE_FIELD_NUMBER- See Also:
-
EPHEMERAL_LOCAL_SSD_PROFILE_FIELD_NUMBER
public static final int EPHEMERAL_LOCAL_SSD_PROFILE_FIELD_NUMBER- See Also:
-
DEDICATED_LOCAL_SSD_PROFILE_FIELD_NUMBER
public static final int DEDICATED_LOCAL_SSD_PROFILE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getPerformanceProfileCase
- Specified by:
getPerformanceProfileCasein interfaceLinuxNodeConfig.SwapConfigOrBuilder
-
hasEnabled
public boolean hasEnabled()Optional. Enables or disables swap for the node pool.
optional bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasEnabledin interfaceLinuxNodeConfig.SwapConfigOrBuilder- Returns:
- Whether the enabled field is set.
-
getEnabled
public boolean getEnabled()Optional. Enables or disables swap for the node pool.
optional bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEnabledin interfaceLinuxNodeConfig.SwapConfigOrBuilder- Returns:
- The enabled.
-
hasEncryptionConfig
public boolean hasEncryptionConfig()Optional. If omitted, swap space is encrypted by default.
optional .google.container.v1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasEncryptionConfigin interfaceLinuxNodeConfig.SwapConfigOrBuilder- Returns:
- Whether the encryptionConfig field is set.
-
getEncryptionConfig
Optional. If omitted, swap space is encrypted by default.
optional .google.container.v1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEncryptionConfigin interfaceLinuxNodeConfig.SwapConfigOrBuilder- Returns:
- The encryptionConfig.
-
getEncryptionConfigOrBuilder
Optional. If omitted, swap space is encrypted by default.
optional .google.container.v1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEncryptionConfigOrBuilderin interfaceLinuxNodeConfig.SwapConfigOrBuilder
-
hasBootDiskProfile
public boolean hasBootDiskProfile()Swap on the node's boot disk.
.google.container.v1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3;- Specified by:
hasBootDiskProfilein interfaceLinuxNodeConfig.SwapConfigOrBuilder- Returns:
- Whether the bootDiskProfile field is set.
-
getBootDiskProfile
Swap on the node's boot disk.
.google.container.v1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3;- Specified by:
getBootDiskProfilein interfaceLinuxNodeConfig.SwapConfigOrBuilder- Returns:
- The bootDiskProfile.
-
getBootDiskProfileOrBuilder
Swap on the node's boot disk.
.google.container.v1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3;- Specified by:
getBootDiskProfileOrBuilderin interfaceLinuxNodeConfig.SwapConfigOrBuilder
-
hasEphemeralLocalSsdProfile
public boolean hasEphemeralLocalSsdProfile()Swap on the local SSD shared with pod ephemeral storage.
.google.container.v1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4;- Specified by:
hasEphemeralLocalSsdProfilein interfaceLinuxNodeConfig.SwapConfigOrBuilder- Returns:
- Whether the ephemeralLocalSsdProfile field is set.
-
getEphemeralLocalSsdProfile
Swap on the local SSD shared with pod ephemeral storage.
.google.container.v1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4;- Specified by:
getEphemeralLocalSsdProfilein interfaceLinuxNodeConfig.SwapConfigOrBuilder- Returns:
- The ephemeralLocalSsdProfile.
-
getEphemeralLocalSsdProfileOrBuilder
public LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfileOrBuilder getEphemeralLocalSsdProfileOrBuilder()Swap on the local SSD shared with pod ephemeral storage.
.google.container.v1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4;- Specified by:
getEphemeralLocalSsdProfileOrBuilderin interfaceLinuxNodeConfig.SwapConfigOrBuilder
-
hasDedicatedLocalSsdProfile
public boolean hasDedicatedLocalSsdProfile()Provisions a new, separate local NVMe SSD exclusively for swap.
.google.container.v1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5;- Specified by:
hasDedicatedLocalSsdProfilein interfaceLinuxNodeConfig.SwapConfigOrBuilder- Returns:
- Whether the dedicatedLocalSsdProfile field is set.
-
getDedicatedLocalSsdProfile
Provisions a new, separate local NVMe SSD exclusively for swap.
.google.container.v1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5;- Specified by:
getDedicatedLocalSsdProfilein interfaceLinuxNodeConfig.SwapConfigOrBuilder- Returns:
- The dedicatedLocalSsdProfile.
-
getDedicatedLocalSsdProfileOrBuilder
public LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfileOrBuilder getDedicatedLocalSsdProfileOrBuilder()Provisions a new, separate local NVMe SSD exclusively for swap.
.google.container.v1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5;- Specified by:
getDedicatedLocalSsdProfileOrBuilderin interfaceLinuxNodeConfig.SwapConfigOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LinuxNodeConfig.SwapConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinuxNodeConfig.SwapConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinuxNodeConfig.SwapConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinuxNodeConfig.SwapConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinuxNodeConfig.SwapConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinuxNodeConfig.SwapConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LinuxNodeConfig.SwapConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LinuxNodeConfig.SwapConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static LinuxNodeConfig.SwapConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static LinuxNodeConfig.SwapConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LinuxNodeConfig.SwapConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-