public static final class Meta.OwnerReference.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Meta.OwnerReference.Builder> implements Meta.OwnerReferenceOrBuilder
OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.Protobuf type
k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference| Modifier and Type | Method and Description |
|---|---|
Meta.OwnerReference.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Meta.OwnerReference |
build() |
Meta.OwnerReference |
buildPartial() |
Meta.OwnerReference.Builder |
clear() |
Meta.OwnerReference.Builder |
clearApiVersion()
API version of the referent.
|
Meta.OwnerReference.Builder |
clearBlockOwnerDeletion()
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.
|
Meta.OwnerReference.Builder |
clearController()
If true, this reference points to the managing controller.
|
Meta.OwnerReference.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Meta.OwnerReference.Builder |
clearKind()
Kind of the referent.
|
Meta.OwnerReference.Builder |
clearName()
Name of the referent.
|
Meta.OwnerReference.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Meta.OwnerReference.Builder |
clearUid()
UID of the referent.
|
Meta.OwnerReference.Builder |
clone() |
String |
getApiVersion()
API version of the referent.
|
com.google.protobuf.ByteString |
getApiVersionBytes()
API version of the referent.
|
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.
|
boolean |
getController()
If true, this reference points to the managing controller.
|
Meta.OwnerReference |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getKind()
Kind of the referent.
|
com.google.protobuf.ByteString |
getKindBytes()
Kind of the referent.
|
String |
getName()
Name of the referent.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the referent.
|
String |
getUid()
UID of the referent.
|
com.google.protobuf.ByteString |
getUidBytes()
UID of the referent.
|
boolean |
hasApiVersion()
API version of the referent.
|
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.
|
boolean |
hasController()
If true, this reference points to the managing controller.
|
boolean |
hasKind()
Kind of the referent.
|
boolean |
hasName()
Name of the referent.
|
boolean |
hasUid()
UID of the referent.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Meta.OwnerReference.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Meta.OwnerReference.Builder |
mergeFrom(com.google.protobuf.Message other) |
Meta.OwnerReference.Builder |
mergeFrom(Meta.OwnerReference other) |
Meta.OwnerReference.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Meta.OwnerReference.Builder |
setApiVersion(String value)
API version of the referent.
|
Meta.OwnerReference.Builder |
setApiVersionBytes(com.google.protobuf.ByteString value)
API version of the referent.
|
Meta.OwnerReference.Builder |
setBlockOwnerDeletion(boolean value)
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.
|
Meta.OwnerReference.Builder |
setController(boolean value)
If true, this reference points to the managing controller.
|
Meta.OwnerReference.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Meta.OwnerReference.Builder |
setKind(String value)
Kind of the referent.
|
Meta.OwnerReference.Builder |
setKindBytes(com.google.protobuf.ByteString value)
Kind of the referent.
|
Meta.OwnerReference.Builder |
setName(String value)
Name of the referent.
|
Meta.OwnerReference.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the referent.
|
Meta.OwnerReference.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Meta.OwnerReference.Builder |
setUid(String value)
UID of the referent.
|
Meta.OwnerReference.Builder |
setUidBytes(com.google.protobuf.ByteString value)
UID of the referent.
|
Meta.OwnerReference.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.OwnerReference.Builder>public Meta.OwnerReference.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.OwnerReference.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.OwnerReference.Builder>public Meta.OwnerReference getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Meta.OwnerReference build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Meta.OwnerReference buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Meta.OwnerReference.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.OwnerReference.Builder>public Meta.OwnerReference.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.OwnerReference.Builder>public Meta.OwnerReference.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.OwnerReference.Builder>public Meta.OwnerReference.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.OwnerReference.Builder>public Meta.OwnerReference.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.OwnerReference.Builder>public Meta.OwnerReference.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.OwnerReference.Builder>public Meta.OwnerReference.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Meta.OwnerReference.Builder>public Meta.OwnerReference.Builder mergeFrom(Meta.OwnerReference other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.OwnerReference.Builder>public Meta.OwnerReference.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Meta.OwnerReference.Builder>IOExceptionpublic boolean hasApiVersion()
API version of the referent.
optional string apiVersion = 5;hasApiVersion in interface Meta.OwnerReferenceOrBuilderpublic String getApiVersion()
API version of the referent.
optional string apiVersion = 5;getApiVersion in interface Meta.OwnerReferenceOrBuilderpublic com.google.protobuf.ByteString getApiVersionBytes()
API version of the referent.
optional string apiVersion = 5;getApiVersionBytes in interface Meta.OwnerReferenceOrBuilderpublic Meta.OwnerReference.Builder setApiVersion(String value)
API version of the referent.
optional string apiVersion = 5;public Meta.OwnerReference.Builder clearApiVersion()
API version of the referent.
optional string apiVersion = 5;public Meta.OwnerReference.Builder setApiVersionBytes(com.google.protobuf.ByteString value)
API version of the referent.
optional string apiVersion = 5;public boolean hasKind()
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
optional string kind = 1;hasKind in interface Meta.OwnerReferenceOrBuilderpublic String getKind()
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
optional string kind = 1;getKind in interface Meta.OwnerReferenceOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
optional string kind = 1;getKindBytes in interface Meta.OwnerReferenceOrBuilderpublic Meta.OwnerReference.Builder setKind(String value)
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
optional string kind = 1;public Meta.OwnerReference.Builder clearKind()
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
optional string kind = 1;public Meta.OwnerReference.Builder setKindBytes(com.google.protobuf.ByteString value)
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
optional string kind = 1;public boolean hasName()
Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
optional string name = 3;hasName in interface Meta.OwnerReferenceOrBuilderpublic String getName()
Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
optional string name = 3;getName in interface Meta.OwnerReferenceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
optional string name = 3;getNameBytes in interface Meta.OwnerReferenceOrBuilderpublic Meta.OwnerReference.Builder setName(String value)
Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
optional string name = 3;public Meta.OwnerReference.Builder clearName()
Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
optional string name = 3;public Meta.OwnerReference.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
optional string name = 3;public boolean hasUid()
UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
optional string uid = 4;hasUid in interface Meta.OwnerReferenceOrBuilderpublic String getUid()
UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
optional string uid = 4;getUid in interface Meta.OwnerReferenceOrBuilderpublic com.google.protobuf.ByteString getUidBytes()
UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
optional string uid = 4;getUidBytes in interface Meta.OwnerReferenceOrBuilderpublic Meta.OwnerReference.Builder setUid(String value)
UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
optional string uid = 4;public Meta.OwnerReference.Builder clearUid()
UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
optional string uid = 4;public Meta.OwnerReference.Builder setUidBytes(com.google.protobuf.ByteString value)
UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
optional string uid = 4;public boolean hasController()
If true, this reference points to the managing controller. +optional
optional bool controller = 6;hasController in interface Meta.OwnerReferenceOrBuilderpublic boolean getController()
If true, this reference points to the managing controller. +optional
optional bool controller = 6;getController in interface Meta.OwnerReferenceOrBuilderpublic Meta.OwnerReference.Builder setController(boolean value)
If true, this reference points to the managing controller. +optional
optional bool controller = 6;public Meta.OwnerReference.Builder clearController()
If true, this reference points to the managing controller. +optional
optional bool controller = 6;public 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. 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;hasBlockOwnerDeletion in interface Meta.OwnerReferenceOrBuilderpublic 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. 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;getBlockOwnerDeletion in interface Meta.OwnerReferenceOrBuilderpublic Meta.OwnerReference.Builder setBlockOwnerDeletion(boolean value)
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. 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;public Meta.OwnerReference.Builder clearBlockOwnerDeletion()
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. 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;public final Meta.OwnerReference.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.OwnerReference.Builder>public final Meta.OwnerReference.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.OwnerReference.Builder>Copyright © 2020. All rights reserved.