Package flyteidl.core
Interface Tasks.Resources.ResourceEntryOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Tasks.Resources.ResourceEntry,Tasks.Resources.ResourceEntry.Builder
- Enclosing class:
- Tasks.Resources
public static interface Tasks.Resources.ResourceEntryOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tasks.Resources.ResourceNamegetName()Resource name.intgetNameValue()Resource name.StringgetValue()Value must be a valid k8s quantity.com.google.protobuf.ByteStringgetValueBytes()Value must be a valid k8s quantity.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNameValue
int getNameValue()
Resource name.
.flyteidl.core.Resources.ResourceName name = 1;- Returns:
- The enum numeric value on the wire for name.
-
getName
Tasks.Resources.ResourceName getName()
Resource name.
.flyteidl.core.Resources.ResourceName name = 1;- Returns:
- The name.
-
getValue
String getValue()
Value must be a valid k8s quantity. See https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80
string value = 2;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()
Value must be a valid k8s quantity. See https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80
string value = 2;- Returns:
- The bytes for value.
-
-