Package flyteidl.core
Class Tasks.K8sObjectMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- flyteidl.core.Tasks.K8sObjectMetadata
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Tasks.K8sObjectMetadataOrBuilder,Serializable
- Enclosing class:
- Tasks
public static final class Tasks.K8sObjectMetadata extends com.google.protobuf.GeneratedMessageV3 implements Tasks.K8sObjectMetadataOrBuilder
Metadata for building a kubernetes object when a task is executed.
Protobuf typeflyteidl.core.K8sObjectMetadata- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classTasks.K8sObjectMetadata.AnnotationsDefaultEntryHolderstatic classTasks.K8sObjectMetadata.BuilderMetadata for building a kubernetes object when a task is executed.private static classTasks.K8sObjectMetadata.LabelsDefaultEntryHolder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description private com.google.protobuf.MapField<String,String>annotations_static intANNOTATIONS_FIELD_NUMBERprivate static Tasks.K8sObjectMetadataDEFAULT_INSTANCEprivate com.google.protobuf.MapField<String,String>labels_static intLABELS_FIELD_NUMBERprivate bytememoizedIsInitializedprivate static com.google.protobuf.Parser<Tasks.K8sObjectMetadata>PARSERprivate static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateK8sObjectMetadata()privateK8sObjectMetadata(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsAnnotations(String key)Optional annotations to add to the pod definition.booleancontainsLabels(String key)Optional labels to add to the pod definition.booleanequals(Object obj)Map<String,String>getAnnotations()Deprecated.intgetAnnotationsCount()Optional annotations to add to the pod definition.Map<String,String>getAnnotationsMap()Optional annotations to add to the pod definition.StringgetAnnotationsOrDefault(String key, String defaultValue)Optional annotations to add to the pod definition.StringgetAnnotationsOrThrow(String key)Optional annotations to add to the pod definition.static Tasks.K8sObjectMetadatagetDefaultInstance()Tasks.K8sObjectMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional labels to add to the pod definition.Map<String,String>getLabelsMap()Optional labels to add to the pod definition.StringgetLabelsOrDefault(String key, String defaultValue)Optional labels to add to the pod definition.StringgetLabelsOrThrow(String key)Optional labels to add to the pod definition.com.google.protobuf.Parser<Tasks.K8sObjectMetadata>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()private com.google.protobuf.MapField<String,String>internalGetAnnotations()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()private com.google.protobuf.MapField<String,String>internalGetLabels()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Tasks.K8sObjectMetadata.BuildernewBuilder()static Tasks.K8sObjectMetadata.BuildernewBuilder(Tasks.K8sObjectMetadata prototype)Tasks.K8sObjectMetadata.BuildernewBuilderForType()protected Tasks.K8sObjectMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Tasks.K8sObjectMetadataparseDelimitedFrom(InputStream input)static Tasks.K8sObjectMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Tasks.K8sObjectMetadataparseFrom(byte[] data)static Tasks.K8sObjectMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Tasks.K8sObjectMetadataparseFrom(com.google.protobuf.ByteString data)static Tasks.K8sObjectMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Tasks.K8sObjectMetadataparseFrom(com.google.protobuf.CodedInputStream input)static Tasks.K8sObjectMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Tasks.K8sObjectMetadataparseFrom(InputStream input)static Tasks.K8sObjectMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Tasks.K8sObjectMetadataparseFrom(ByteBuffer data)static Tasks.K8sObjectMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Tasks.K8sObjectMetadata>parser()Tasks.K8sObjectMetadata.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Tasks.K8sObjectMetadata DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Tasks.K8sObjectMetadata> PARSER
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:Tasks.K8sObjectMetadataOrBuilderOptional labels to add to the pod definition.
map<string, string> labels = 1;- Specified by:
getLabelsCountin interfaceTasks.K8sObjectMetadataOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional labels to add to the pod definition.
map<string, string> labels = 1;- Specified by:
containsLabelsin interfaceTasks.K8sObjectMetadataOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceTasks.K8sObjectMetadataOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional labels to add to the pod definition.
map<string, string> labels = 1;- Specified by:
getLabelsMapin interfaceTasks.K8sObjectMetadataOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional labels to add to the pod definition.
map<string, string> labels = 1;- Specified by:
getLabelsOrDefaultin interfaceTasks.K8sObjectMetadataOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional labels to add to the pod definition.
map<string, string> labels = 1;- Specified by:
getLabelsOrThrowin interfaceTasks.K8sObjectMetadataOrBuilder
-
internalGetAnnotations
private com.google.protobuf.MapField<String,String> internalGetAnnotations()
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:Tasks.K8sObjectMetadataOrBuilderOptional annotations to add to the pod definition.
map<string, string> annotations = 2;- Specified by:
getAnnotationsCountin interfaceTasks.K8sObjectMetadataOrBuilder
-
containsAnnotations
public boolean containsAnnotations(String key)
Optional annotations to add to the pod definition.
map<string, string> annotations = 2;- Specified by:
containsAnnotationsin interfaceTasks.K8sObjectMetadataOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceTasks.K8sObjectMetadataOrBuilder
-
getAnnotationsMap
public Map<String,String> getAnnotationsMap()
Optional annotations to add to the pod definition.
map<string, string> annotations = 2;- Specified by:
getAnnotationsMapin interfaceTasks.K8sObjectMetadataOrBuilder
-
getAnnotationsOrDefault
public String getAnnotationsOrDefault(String key, String defaultValue)
Optional annotations to add to the pod definition.
map<string, string> annotations = 2;- Specified by:
getAnnotationsOrDefaultin interfaceTasks.K8sObjectMetadataOrBuilder
-
getAnnotationsOrThrow
public String getAnnotationsOrThrow(String key)
Optional annotations to add to the pod definition.
map<string, string> annotations = 2;- Specified by:
getAnnotationsOrThrowin interfaceTasks.K8sObjectMetadataOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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 Tasks.K8sObjectMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.K8sObjectMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.K8sObjectMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.K8sObjectMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.K8sObjectMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.K8sObjectMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.K8sObjectMetadata parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Tasks.K8sObjectMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Tasks.K8sObjectMetadata parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Tasks.K8sObjectMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Tasks.K8sObjectMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Tasks.K8sObjectMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Tasks.K8sObjectMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Tasks.K8sObjectMetadata.Builder newBuilder()
-
newBuilder
public static Tasks.K8sObjectMetadata.Builder newBuilder(Tasks.K8sObjectMetadata prototype)
-
toBuilder
public Tasks.K8sObjectMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Tasks.K8sObjectMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Tasks.K8sObjectMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Tasks.K8sObjectMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<Tasks.K8sObjectMetadata> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Tasks.K8sObjectMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-