Package k8s.io.api.core.v1
Interface Generated.ObjectReferenceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.ObjectReference,Generated.ObjectReference.Builder
- Enclosing class:
- Generated
public static interface Generated.ObjectReferenceOrBuilder 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.StringgetFieldPath()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.ByteStringgetFieldPathBytes()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].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.StringgetNamespace()Namespace of the referent.com.google.protobuf.ByteStringgetNamespaceBytes()Namespace of the referent.StringgetResourceVersion()Specific resourceVersion to which this reference is made, if any.com.google.protobuf.ByteStringgetResourceVersionBytes()Specific resourceVersion to which this reference is made, if any.StringgetUid()UID of the referent.com.google.protobuf.ByteStringgetUidBytes()UID of the referent.booleanhasApiVersion()API version of the referent.booleanhasFieldPath()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].booleanhasKind()Kind of the referent.booleanhasName()Name of the referent.booleanhasNamespace()Namespace of the referent.booleanhasResourceVersion()Specific resourceVersion to which this reference is made, if any.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
-
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;- 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
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
optional string kind = 1;- Returns:
- The bytes for kind.
-
hasNamespace
boolean hasNamespace()
Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ +optional
optional string namespace = 2;- Returns:
- Whether the namespace field is set.
-
getNamespace
String getNamespace()
Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ +optional
optional string namespace = 2;- Returns:
- The namespace.
-
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;- Returns:
- The bytes for namespace.
-
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;- 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
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
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
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
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
optional string uid = 4;- Returns:
- The bytes for uid.
-
hasApiVersion
boolean hasApiVersion()
API version of the referent. +optional
optional string apiVersion = 5;- Returns:
- Whether the apiVersion field is set.
-
getApiVersion
String getApiVersion()
API version of the referent. +optional
optional string apiVersion = 5;- Returns:
- The apiVersion.
-
getApiVersionBytes
com.google.protobuf.ByteString getApiVersionBytes()
API version of the referent. +optional
optional string apiVersion = 5;- Returns:
- The bytes for apiVersion.
-
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;- Returns:
- Whether the resourceVersion field is set.
-
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;- Returns:
- The resourceVersion.
-
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;- Returns:
- The bytes for resourceVersion.
-
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. +optionaloptional string fieldPath = 7;- Returns:
- Whether the fieldPath field is set.
-
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. +optionaloptional string fieldPath = 7;- Returns:
- The fieldPath.
-
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. +optionaloptional string fieldPath = 7;- Returns:
- The bytes for fieldPath.
-
-