Package io.kubernetes.client.proto
Interface V1.ObjectReferenceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1.ObjectReference
,V1.ObjectReference.Builder
- Enclosing class:
- V1
public static interface V1.ObjectReferenceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAPI version of the referent.com.google.protobuf.ByteString
API version of the referent.If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].com.google.protobuf.ByteString
If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].getKind()
Kind of the referent.com.google.protobuf.ByteString
Kind of the referent.getName()
Name of the referent.com.google.protobuf.ByteString
Name of the referent.Namespace of the referent.com.google.protobuf.ByteString
Namespace of the referent.Specific resourceVersion to which this reference is made, if any.com.google.protobuf.ByteString
Specific resourceVersion to which this reference is made, if any.getUid()
UID of the referent.com.google.protobuf.ByteString
UID of the referent.boolean
API version of the referent.boolean
If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].boolean
hasKind()
Kind of the referent.boolean
hasName()
Name of the referent.boolean
Namespace of the referent.boolean
Specific resourceVersion to which this reference is made, if any.boolean
hasUid()
UID of the referent.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasKind
boolean hasKind()Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional string kind = 1;
-
getKind
String getKind()Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional string kind = 1;
-
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
optional string kind = 1;
-
hasNamespace
boolean hasNamespace()Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ +optional
optional string namespace = 2;
-
getNamespace
String getNamespace()Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ +optional
optional string namespace = 2;
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ +optional
optional string namespace = 2;
-
hasName
boolean hasName()Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +optional
optional string name = 3;
-
getName
String getName()Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +optional
optional string name = 3;
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +optional
optional string name = 3;
-
hasUid
boolean hasUid()UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids +optional
optional string uid = 4;
-
getUid
String getUid()UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids +optional
optional string uid = 4;
-
getUidBytes
com.google.protobuf.ByteString getUidBytes()UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids +optional
optional string uid = 4;
-
hasApiVersion
boolean hasApiVersion()API version of the referent. +optional
optional string apiVersion = 5;
-
getApiVersion
String getApiVersion()API version of the referent. +optional
optional string apiVersion = 5;
-
getApiVersionBytes
com.google.protobuf.ByteString getApiVersionBytes()API version of the referent. +optional
optional string apiVersion = 5;
-
hasResourceVersion
boolean hasResourceVersion()Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency +optional
optional string resourceVersion = 6;
-
getResourceVersion
String getResourceVersion()Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency +optional
optional string resourceVersion = 6;
-
getResourceVersionBytes
com.google.protobuf.ByteString getResourceVersionBytes()Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency +optional
optional string resourceVersion = 6;
-
hasFieldPath
boolean hasFieldPath()If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. +optional
optional string fieldPath = 7;
-
getFieldPath
String getFieldPath()If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. +optional
optional string fieldPath = 7;
-
getFieldPathBytes
com.google.protobuf.ByteString getFieldPathBytes()If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. +optional
optional string fieldPath = 7;
-