Package k8s.io.api.core.v1
Interface Generated.TypedObjectReferenceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.TypedObjectReference,Generated.TypedObjectReference.Builder
- Enclosing class:
- Generated
public static interface Generated.TypedObjectReferenceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetApiGroup()APIGroup is the group for the resource being referenced.com.google.protobuf.ByteStringgetApiGroupBytes()APIGroup is the group for the resource being referenced.StringgetKind()Kind is the type of resource being referencedcom.google.protobuf.ByteStringgetKindBytes()Kind is the type of resource being referencedStringgetName()Name is the name of resource being referencedcom.google.protobuf.ByteStringgetNameBytes()Name is the name of resource being referencedStringgetNamespace()Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference.com.google.protobuf.ByteStringgetNamespaceBytes()Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference.booleanhasApiGroup()APIGroup is the group for the resource being referenced.booleanhasKind()Kind is the type of resource being referencedbooleanhasName()Name is the name of resource being referencedbooleanhasNamespace()Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasApiGroup
boolean hasApiGroup()
APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. +optional
optional string apiGroup = 1;- Returns:
- Whether the apiGroup field is set.
-
getApiGroup
String getApiGroup()
APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. +optional
optional string apiGroup = 1;- Returns:
- The apiGroup.
-
getApiGroupBytes
com.google.protobuf.ByteString getApiGroupBytes()
APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. +optional
optional string apiGroup = 1;- Returns:
- The bytes for apiGroup.
-
hasKind
boolean hasKind()
Kind is the type of resource being referenced
optional string kind = 2;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
Kind is the type of resource being referenced
optional string kind = 2;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
Kind is the type of resource being referenced
optional string kind = 2;- Returns:
- The bytes for kind.
-
hasName
boolean hasName()
Name is the name of resource being referenced
optional string name = 3;- Returns:
- Whether the name field is set.
-
getName
String getName()
Name is the name of resource being referenced
optional string name = 3;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name is the name of resource being referenced
optional string name = 3;- Returns:
- The bytes for name.
-
hasNamespace
boolean hasNamespace()
Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. +featureGate=CrossNamespaceVolumeDataSource +optional
optional string namespace = 4;- Returns:
- Whether the namespace field is set.
-
getNamespace
String getNamespace()
Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. +featureGate=CrossNamespaceVolumeDataSource +optional
optional string namespace = 4;- Returns:
- The namespace.
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()
Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. +featureGate=CrossNamespaceVolumeDataSource +optional
optional string namespace = 4;- Returns:
- The bytes for namespace.
-
-