Interface Generated.OwnerReferenceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.OwnerReference,Generated.OwnerReference.Builder
- Enclosing class:
- Generated
public static interface Generated.OwnerReferenceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetApiVersion()API version of the referent.com.google.protobuf.ByteStringgetApiVersionBytes()API version of the referent.booleangetBlockOwnerDeletion()If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed.booleangetController()If true, this reference points to the managing controller.StringgetKind()Kind of the referent.com.google.protobuf.ByteStringgetKindBytes()Kind of the referent.StringgetName()Name of the referent.com.google.protobuf.ByteStringgetNameBytes()Name of the referent.StringgetUid()UID of the referent.com.google.protobuf.ByteStringgetUidBytes()UID of the referent.booleanhasApiVersion()API version of the referent.booleanhasBlockOwnerDeletion()If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed.booleanhasController()If true, this reference points to the managing controller.booleanhasKind()Kind of the referent.booleanhasName()Name of the referent.booleanhasUid()UID of the referent.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasApiVersion
boolean hasApiVersion()
API version of the referent.
optional string apiVersion = 5;- Returns:
- Whether the apiVersion field is set.
-
getApiVersion
String getApiVersion()
API version of the referent.
optional string apiVersion = 5;- Returns:
- The apiVersion.
-
getApiVersionBytes
com.google.protobuf.ByteString getApiVersionBytes()
API version of the referent.
optional string apiVersion = 5;- Returns:
- The bytes for apiVersion.
-
hasKind
boolean hasKind()
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
optional string kind = 1;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
optional string kind = 1;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
optional string kind = 1;- Returns:
- The bytes for kind.
-
hasName
boolean hasName()
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
optional string name = 3;- Returns:
- Whether the name field is set.
-
getName
String getName()
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
optional string name = 3;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
optional string name = 3;- Returns:
- The bytes for name.
-
hasUid
boolean hasUid()
UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
optional string uid = 4;- Returns:
- Whether the uid field is set.
-
getUid
String getUid()
UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
optional string uid = 4;- Returns:
- The uid.
-
getUidBytes
com.google.protobuf.ByteString getUidBytes()
UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
optional string uid = 4;- Returns:
- The bytes for uid.
-
hasController
boolean hasController()
If true, this reference points to the managing controller. +optional
optional bool controller = 6;- Returns:
- Whether the controller field is set.
-
getController
boolean getController()
If true, this reference points to the managing controller. +optional
optional bool controller = 6;- Returns:
- The controller.
-
hasBlockOwnerDeletion
boolean hasBlockOwnerDeletion()
If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. +optional
optional bool blockOwnerDeletion = 7;- Returns:
- Whether the blockOwnerDeletion field is set.
-
getBlockOwnerDeletion
boolean getBlockOwnerDeletion()
If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. +optional
optional bool blockOwnerDeletion = 7;- Returns:
- The blockOwnerDeletion.
-
-