Class EvictionGracePeriod (2.73.0)

public final class EvictionGracePeriod extends GeneratedMessageV3 implements EvictionGracePeriodOrBuilder

Eviction grace periods are grace periods for each eviction signal.

Protobuf type google.container.v1beta1.EvictionGracePeriod

Static Fields

IMAGEFS_AVAILABLE_FIELD_NUMBER

public static final int IMAGEFS_AVAILABLE_FIELD_NUMBER
Field Value
Type Description
int

IMAGEFS_INODES_FREE_FIELD_NUMBER

public static final int IMAGEFS_INODES_FREE_FIELD_NUMBER
Field Value
Type Description
int

MEMORY_AVAILABLE_FIELD_NUMBER

public static final int MEMORY_AVAILABLE_FIELD_NUMBER
Field Value
Type Description
int

NODEFS_AVAILABLE_FIELD_NUMBER

public static final int NODEFS_AVAILABLE_FIELD_NUMBER
Field Value
Type Description
int

NODEFS_INODES_FREE_FIELD_NUMBER

public static final int NODEFS_INODES_FREE_FIELD_NUMBER
Field Value
Type Description
int

PID_AVAILABLE_FIELD_NUMBER

public static final int PID_AVAILABLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EvictionGracePeriod getDefaultInstance()
Returns
Type Description
EvictionGracePeriod

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EvictionGracePeriod.Builder newBuilder()
Returns
Type Description
EvictionGracePeriod.Builder

newBuilder(EvictionGracePeriod prototype)

public static EvictionGracePeriod.Builder newBuilder(EvictionGracePeriod prototype)
Parameter
Name Description
prototype EvictionGracePeriod
Returns
Type Description
EvictionGracePeriod.Builder

parseDelimitedFrom(InputStream input)

public static EvictionGracePeriod parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EvictionGracePeriod
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvictionGracePeriod parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvictionGracePeriod
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EvictionGracePeriod parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EvictionGracePeriod
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EvictionGracePeriod parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvictionGracePeriod
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EvictionGracePeriod parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EvictionGracePeriod
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EvictionGracePeriod parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvictionGracePeriod
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EvictionGracePeriod parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EvictionGracePeriod
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EvictionGracePeriod parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvictionGracePeriod
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EvictionGracePeriod parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EvictionGracePeriod
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvictionGracePeriod parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvictionGracePeriod
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EvictionGracePeriod parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EvictionGracePeriod
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EvictionGracePeriod parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvictionGracePeriod
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EvictionGracePeriod> parser()
Returns
Type Description
Parser<EvictionGracePeriod>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public EvictionGracePeriod getDefaultInstanceForType()
Returns
Type Description
EvictionGracePeriod

getImagefsAvailable()

public String getImagefsAvailable()

Optional. Grace period for eviction due to imagefs available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string imagefs_available = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The imagefsAvailable.

getImagefsAvailableBytes()

public ByteString getImagefsAvailableBytes()

Optional. Grace period for eviction due to imagefs available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string imagefs_available = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for imagefsAvailable.

getImagefsInodesFree()

public String getImagefsInodesFree()

Optional. Grace period for eviction due to imagefs inodes free signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string imagefs_inodes_free = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The imagefsInodesFree.

getImagefsInodesFreeBytes()

public ByteString getImagefsInodesFreeBytes()

Optional. Grace period for eviction due to imagefs inodes free signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string imagefs_inodes_free = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for imagefsInodesFree.

getMemoryAvailable()

public String getMemoryAvailable()

Optional. Grace period for eviction due to memory available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string memory_available = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The memoryAvailable.

getMemoryAvailableBytes()

public ByteString getMemoryAvailableBytes()

Optional. Grace period for eviction due to memory available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string memory_available = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for memoryAvailable.

getNodefsAvailable()

public String getNodefsAvailable()

Optional. Grace period for eviction due to nodefs available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string nodefs_available = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The nodefsAvailable.

getNodefsAvailableBytes()

public ByteString getNodefsAvailableBytes()

Optional. Grace period for eviction due to nodefs available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string nodefs_available = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for nodefsAvailable.

getNodefsInodesFree()

public String getNodefsInodesFree()

Optional. Grace period for eviction due to nodefs inodes free signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string nodefs_inodes_free = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The nodefsInodesFree.

getNodefsInodesFreeBytes()

public ByteString getNodefsInodesFreeBytes()

Optional. Grace period for eviction due to nodefs inodes free signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string nodefs_inodes_free = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for nodefsInodesFree.

getParserForType()

public Parser<EvictionGracePeriod> getParserForType()
Returns
Type Description
Parser<EvictionGracePeriod>
Overrides

getPidAvailable()

public String getPidAvailable()

Optional. Grace period for eviction due to pid available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string pid_available = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pidAvailable.

getPidAvailableBytes()

public ByteString getPidAvailableBytes()

Optional. Grace period for eviction due to pid available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string pid_available = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pidAvailable.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EvictionGracePeriod.Builder newBuilderForType()
Returns
Type Description
EvictionGracePeriod.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EvictionGracePeriod.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EvictionGracePeriod.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EvictionGracePeriod.Builder toBuilder()
Returns
Type Description
EvictionGracePeriod.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException