Package k8s.io.api.core.v1
Interface Generated.SecretKeySelectorOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.SecretKeySelector,Generated.SecretKeySelector.Builder
- Enclosing class:
- Generated
public static interface Generated.SecretKeySelectorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKey()The key of the secret to select from.com.google.protobuf.ByteStringgetKeyBytes()The key of the secret to select from.Generated.LocalObjectReferencegetLocalObjectReference()The name of the secret in the pod's namespace to select from.Generated.LocalObjectReferenceOrBuildergetLocalObjectReferenceOrBuilder()The name of the secret in the pod's namespace to select from.booleangetOptional()Specify whether the Secret or its key must be defined +optionalbooleanhasKey()The key of the secret to select from.booleanhasLocalObjectReference()The name of the secret in the pod's namespace to select from.booleanhasOptional()Specify whether the Secret or its key must be defined +optional-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasLocalObjectReference
boolean hasLocalObjectReference()
The name of the secret in the pod's namespace to select from.
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;- Returns:
- Whether the localObjectReference field is set.
-
getLocalObjectReference
Generated.LocalObjectReference getLocalObjectReference()
The name of the secret in the pod's namespace to select from.
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;- Returns:
- The localObjectReference.
-
getLocalObjectReferenceOrBuilder
Generated.LocalObjectReferenceOrBuilder getLocalObjectReferenceOrBuilder()
The name of the secret in the pod's namespace to select from.
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
-
hasKey
boolean hasKey()
The key of the secret to select from. Must be a valid secret key.
optional string key = 2;- Returns:
- Whether the key field is set.
-
getKey
String getKey()
The key of the secret to select from. Must be a valid secret key.
optional string key = 2;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
The key of the secret to select from. Must be a valid secret key.
optional string key = 2;- Returns:
- The bytes for key.
-
hasOptional
boolean hasOptional()
Specify whether the Secret or its key must be defined +optional
optional bool optional = 3;- Returns:
- Whether the optional field is set.
-
getOptional
boolean getOptional()
Specify whether the Secret or its key must be defined +optional
optional bool optional = 3;- Returns:
- The optional.
-
-