Package k8s.io.api.core.v1
Interface Generated.ContainerResizePolicyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.ContainerResizePolicy,Generated.ContainerResizePolicy.Builder
- Enclosing class:
- Generated
public static interface Generated.ContainerResizePolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetResourceName()Name of the resource to which this resource resize policy applies.com.google.protobuf.ByteStringgetResourceNameBytes()Name of the resource to which this resource resize policy applies.StringgetRestartPolicy()Restart policy to apply when specified resource is resized.com.google.protobuf.ByteStringgetRestartPolicyBytes()Restart policy to apply when specified resource is resized.booleanhasResourceName()Name of the resource to which this resource resize policy applies.booleanhasRestartPolicy()Restart policy to apply when specified resource is resized.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasResourceName
boolean hasResourceName()
Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.
optional string resourceName = 1;- Returns:
- Whether the resourceName field is set.
-
getResourceName
String getResourceName()
Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.
optional string resourceName = 1;- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()
Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.
optional string resourceName = 1;- Returns:
- The bytes for resourceName.
-
hasRestartPolicy
boolean hasRestartPolicy()
Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.
optional string restartPolicy = 2;- Returns:
- Whether the restartPolicy field is set.
-
getRestartPolicy
String getRestartPolicy()
Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.
optional string restartPolicy = 2;- Returns:
- The restartPolicy.
-
getRestartPolicyBytes
com.google.protobuf.ByteString getRestartPolicyBytes()
Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.
optional string restartPolicy = 2;- Returns:
- The bytes for restartPolicy.
-
-