Class Generated.ManagedFieldsEntry
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.apimachinery.pkg.apis.meta.v1.Generated.ManagedFieldsEntry
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.ManagedFieldsEntryOrBuilder
- Enclosing class:
- Generated
public static final class Generated.ManagedFieldsEntry extends com.google.protobuf.GeneratedMessageV3 implements Generated.ManagedFieldsEntryOrBuilder
ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.
Protobuf typek8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.ManagedFieldsEntry.BuilderManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAPIVERSION_FIELD_NUMBERstatic intFIELDSTYPE_FIELD_NUMBERstatic intFIELDSV1_FIELD_NUMBERstatic intMANAGER_FIELD_NUMBERstatic intOPERATION_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.ManagedFieldsEntry>PARSERDeprecated.static intSUBRESOURCE_FIELD_NUMBERstatic intTIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetApiVersion()APIVersion defines the version of this resource that this field set applies to.com.google.protobuf.ByteStringgetApiVersionBytes()APIVersion defines the version of this resource that this field set applies to.static Generated.ManagedFieldsEntrygetDefaultInstance()Generated.ManagedFieldsEntrygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFieldsType()FieldsType is the discriminator for the different fields format and version.com.google.protobuf.ByteStringgetFieldsTypeBytes()FieldsType is the discriminator for the different fields format and version.Generated.FieldsV1getFieldsV1()FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.Generated.FieldsV1OrBuildergetFieldsV1OrBuilder()FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.StringgetManager()Manager is an identifier of the workflow managing these fields.com.google.protobuf.ByteStringgetManagerBytes()Manager is an identifier of the workflow managing these fields.StringgetOperation()Operation is the type of operation which lead to this ManagedFieldsEntry being created.com.google.protobuf.ByteStringgetOperationBytes()Operation is the type of operation which lead to this ManagedFieldsEntry being created.com.google.protobuf.Parser<Generated.ManagedFieldsEntry>getParserForType()intgetSerializedSize()StringgetSubresource()Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource.com.google.protobuf.ByteStringgetSubresourceBytes()Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource.Generated.TimegetTime()Time is the timestamp of when the ManagedFields entry was added.Generated.TimeOrBuildergetTimeOrBuilder()Time is the timestamp of when the ManagedFields entry was added.booleanhasApiVersion()APIVersion defines the version of this resource that this field set applies to.booleanhasFieldsType()FieldsType is the discriminator for the different fields format and version.booleanhasFieldsV1()FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.inthashCode()booleanhasManager()Manager is an identifier of the workflow managing these fields.booleanhasOperation()Operation is the type of operation which lead to this ManagedFieldsEntry being created.booleanhasSubresource()Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource.booleanhasTime()Time is the timestamp of when the ManagedFields entry was added.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.ManagedFieldsEntry.BuildernewBuilder()static Generated.ManagedFieldsEntry.BuildernewBuilder(Generated.ManagedFieldsEntry prototype)Generated.ManagedFieldsEntry.BuildernewBuilderForType()protected Generated.ManagedFieldsEntry.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.ManagedFieldsEntryparseDelimitedFrom(InputStream input)static Generated.ManagedFieldsEntryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ManagedFieldsEntryparseFrom(byte[] data)static Generated.ManagedFieldsEntryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ManagedFieldsEntryparseFrom(com.google.protobuf.ByteString data)static Generated.ManagedFieldsEntryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ManagedFieldsEntryparseFrom(com.google.protobuf.CodedInputStream input)static Generated.ManagedFieldsEntryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ManagedFieldsEntryparseFrom(InputStream input)static Generated.ManagedFieldsEntryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ManagedFieldsEntryparseFrom(ByteBuffer data)static Generated.ManagedFieldsEntryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.ManagedFieldsEntry>parser()Generated.ManagedFieldsEntry.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
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, 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
-
MANAGER_FIELD_NUMBER
public static final int MANAGER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPERATION_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APIVERSION_FIELD_NUMBER
public static final int APIVERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIME_FIELD_NUMBER
public static final int TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FIELDSTYPE_FIELD_NUMBER
public static final int FIELDSTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FIELDSV1_FIELD_NUMBER
public static final int FIELDSV1_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBRESOURCE_FIELD_NUMBER
public static final int SUBRESOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.ManagedFieldsEntry> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasManager
public boolean hasManager()
Manager is an identifier of the workflow managing these fields.
optional string manager = 1;- Specified by:
hasManagerin interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- Whether the manager field is set.
-
getManager
public String getManager()
Manager is an identifier of the workflow managing these fields.
optional string manager = 1;- Specified by:
getManagerin interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- The manager.
-
getManagerBytes
public com.google.protobuf.ByteString getManagerBytes()
Manager is an identifier of the workflow managing these fields.
optional string manager = 1;- Specified by:
getManagerBytesin interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- The bytes for manager.
-
hasOperation
public boolean hasOperation()
Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.
optional string operation = 2;- Specified by:
hasOperationin interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- Whether the operation field is set.
-
getOperation
public String getOperation()
Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.
optional string operation = 2;- Specified by:
getOperationin interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- The operation.
-
getOperationBytes
public com.google.protobuf.ByteString getOperationBytes()
Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.
optional string operation = 2;- Specified by:
getOperationBytesin interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- The bytes for operation.
-
hasApiVersion
public boolean hasApiVersion()
APIVersion defines the version of this resource that this field set applies to. The format is "group/version" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.
optional string apiVersion = 3;- Specified by:
hasApiVersionin interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- Whether the apiVersion field is set.
-
getApiVersion
public String getApiVersion()
APIVersion defines the version of this resource that this field set applies to. The format is "group/version" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.
optional string apiVersion = 3;- Specified by:
getApiVersionin interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- The apiVersion.
-
getApiVersionBytes
public com.google.protobuf.ByteString getApiVersionBytes()
APIVersion defines the version of this resource that this field set applies to. The format is "group/version" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.
optional string apiVersion = 3;- Specified by:
getApiVersionBytesin interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- The bytes for apiVersion.
-
hasTime
public boolean hasTime()
Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;- Specified by:
hasTimein interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- Whether the time field is set.
-
getTime
public Generated.Time getTime()
Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;- Specified by:
getTimein interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- The time.
-
getTimeOrBuilder
public Generated.TimeOrBuilder getTimeOrBuilder()
Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;- Specified by:
getTimeOrBuilderin interfaceGenerated.ManagedFieldsEntryOrBuilder
-
hasFieldsType
public boolean hasFieldsType()
FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: "FieldsV1"
optional string fieldsType = 6;- Specified by:
hasFieldsTypein interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- Whether the fieldsType field is set.
-
getFieldsType
public String getFieldsType()
FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: "FieldsV1"
optional string fieldsType = 6;- Specified by:
getFieldsTypein interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- The fieldsType.
-
getFieldsTypeBytes
public com.google.protobuf.ByteString getFieldsTypeBytes()
FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: "FieldsV1"
optional string fieldsType = 6;- Specified by:
getFieldsTypeBytesin interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- The bytes for fieldsType.
-
hasFieldsV1
public boolean hasFieldsV1()
FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;- Specified by:
hasFieldsV1in interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- Whether the fieldsV1 field is set.
-
getFieldsV1
public Generated.FieldsV1 getFieldsV1()
FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;- Specified by:
getFieldsV1in interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- The fieldsV1.
-
getFieldsV1OrBuilder
public Generated.FieldsV1OrBuilder getFieldsV1OrBuilder()
FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;- Specified by:
getFieldsV1OrBuilderin interfaceGenerated.ManagedFieldsEntryOrBuilder
-
hasSubresource
public boolean hasSubresource()
Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.
optional string subresource = 8;- Specified by:
hasSubresourcein interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- Whether the subresource field is set.
-
getSubresource
public String getSubresource()
Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.
optional string subresource = 8;- Specified by:
getSubresourcein interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- The subresource.
-
getSubresourceBytes
public com.google.protobuf.ByteString getSubresourceBytes()
Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.
optional string subresource = 8;- Specified by:
getSubresourceBytesin interfaceGenerated.ManagedFieldsEntryOrBuilder- Returns:
- The bytes for subresource.
-
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 Generated.ManagedFieldsEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ManagedFieldsEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ManagedFieldsEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ManagedFieldsEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ManagedFieldsEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ManagedFieldsEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ManagedFieldsEntry parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.ManagedFieldsEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.ManagedFieldsEntry parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.ManagedFieldsEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.ManagedFieldsEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.ManagedFieldsEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.ManagedFieldsEntry.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.ManagedFieldsEntry.Builder newBuilder()
-
newBuilder
public static Generated.ManagedFieldsEntry.Builder newBuilder(Generated.ManagedFieldsEntry prototype)
-
toBuilder
public Generated.ManagedFieldsEntry.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.ManagedFieldsEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.ManagedFieldsEntry getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.ManagedFieldsEntry> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.ManagedFieldsEntry> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.ManagedFieldsEntry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-