public static final class V1.SecretKeySelector.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.SecretKeySelector.Builder> implements V1.SecretKeySelectorOrBuilder
SecretKeySelector selects a key of a Secret.Protobuf type
k8s.io.api.core.v1.SecretKeySelector| Modifier and Type | Method and Description |
|---|---|
V1.SecretKeySelector.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.SecretKeySelector |
build() |
V1.SecretKeySelector |
buildPartial() |
V1.SecretKeySelector.Builder |
clear() |
V1.SecretKeySelector.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.SecretKeySelector.Builder |
clearKey()
The key of the secret to select from.
|
V1.SecretKeySelector.Builder |
clearLocalObjectReference()
The name of the secret in the pod's namespace to select from.
|
V1.SecretKeySelector.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.SecretKeySelector.Builder |
clearOptional()
Specify whether the Secret or it's key must be defined
+optional
|
V1.SecretKeySelector.Builder |
clone() |
V1.SecretKeySelector |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getKey()
The key of the secret to select from.
|
com.google.protobuf.ByteString |
getKeyBytes()
The key of the secret to select from.
|
V1.LocalObjectReference |
getLocalObjectReference()
The name of the secret in the pod's namespace to select from.
|
V1.LocalObjectReference.Builder |
getLocalObjectReferenceBuilder()
The name of the secret in the pod's namespace to select from.
|
V1.LocalObjectReferenceOrBuilder |
getLocalObjectReferenceOrBuilder()
The name of the secret in the pod's namespace to select from.
|
boolean |
getOptional()
Specify whether the Secret or it's key must be defined
+optional
|
boolean |
hasKey()
The key of the secret to select from.
|
boolean |
hasLocalObjectReference()
The name of the secret in the pod's namespace to select from.
|
boolean |
hasOptional()
Specify whether the Secret or it's key must be defined
+optional
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.SecretKeySelector.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.SecretKeySelector.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.SecretKeySelector.Builder |
mergeFrom(V1.SecretKeySelector other) |
V1.SecretKeySelector.Builder |
mergeLocalObjectReference(V1.LocalObjectReference value)
The name of the secret in the pod's namespace to select from.
|
V1.SecretKeySelector.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.SecretKeySelector.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.SecretKeySelector.Builder |
setKey(String value)
The key of the secret to select from.
|
V1.SecretKeySelector.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
The key of the secret to select from.
|
V1.SecretKeySelector.Builder |
setLocalObjectReference(V1.LocalObjectReference.Builder builderForValue)
The name of the secret in the pod's namespace to select from.
|
V1.SecretKeySelector.Builder |
setLocalObjectReference(V1.LocalObjectReference value)
The name of the secret in the pod's namespace to select from.
|
V1.SecretKeySelector.Builder |
setOptional(boolean value)
Specify whether the Secret or it's key must be defined
+optional
|
V1.SecretKeySelector.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.SecretKeySelector.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<V1.SecretKeySelector.Builder>public V1.SecretKeySelector.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.SecretKeySelector.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<V1.SecretKeySelector.Builder>public V1.SecretKeySelector getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.SecretKeySelector build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.SecretKeySelector buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.SecretKeySelector.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.SecretKeySelector.Builder>public V1.SecretKeySelector.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<V1.SecretKeySelector.Builder>public V1.SecretKeySelector.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.SecretKeySelector.Builder>public V1.SecretKeySelector.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.SecretKeySelector.Builder>public V1.SecretKeySelector.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<V1.SecretKeySelector.Builder>public V1.SecretKeySelector.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<V1.SecretKeySelector.Builder>public V1.SecretKeySelector.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.SecretKeySelector.Builder>public V1.SecretKeySelector.Builder mergeFrom(V1.SecretKeySelector other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.SecretKeySelector.Builder>public V1.SecretKeySelector.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<V1.SecretKeySelector.Builder>IOExceptionpublic boolean hasLocalObjectReference()
The name of the secret in the pod's namespace to select from.
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;hasLocalObjectReference in interface V1.SecretKeySelectorOrBuilderpublic V1.LocalObjectReference getLocalObjectReference()
The name of the secret in the pod's namespace to select from.
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;getLocalObjectReference in interface V1.SecretKeySelectorOrBuilderpublic V1.SecretKeySelector.Builder setLocalObjectReference(V1.LocalObjectReference value)
The name of the secret in the pod's namespace to select from.
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;public V1.SecretKeySelector.Builder setLocalObjectReference(V1.LocalObjectReference.Builder builderForValue)
The name of the secret in the pod's namespace to select from.
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;public V1.SecretKeySelector.Builder mergeLocalObjectReference(V1.LocalObjectReference value)
The name of the secret in the pod's namespace to select from.
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;public V1.SecretKeySelector.Builder clearLocalObjectReference()
The name of the secret in the pod's namespace to select from.
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;public V1.LocalObjectReference.Builder getLocalObjectReferenceBuilder()
The name of the secret in the pod's namespace to select from.
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;public V1.LocalObjectReferenceOrBuilder getLocalObjectReferenceOrBuilder()
The name of the secret in the pod's namespace to select from.
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;getLocalObjectReferenceOrBuilder in interface V1.SecretKeySelectorOrBuilderpublic boolean hasKey()
The key of the secret to select from. Must be a valid secret key.
optional string key = 2;hasKey in interface V1.SecretKeySelectorOrBuilderpublic String getKey()
The key of the secret to select from. Must be a valid secret key.
optional string key = 2;getKey in interface V1.SecretKeySelectorOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
The key of the secret to select from. Must be a valid secret key.
optional string key = 2;getKeyBytes in interface V1.SecretKeySelectorOrBuilderpublic V1.SecretKeySelector.Builder setKey(String value)
The key of the secret to select from. Must be a valid secret key.
optional string key = 2;public V1.SecretKeySelector.Builder clearKey()
The key of the secret to select from. Must be a valid secret key.
optional string key = 2;public V1.SecretKeySelector.Builder setKeyBytes(com.google.protobuf.ByteString value)
The key of the secret to select from. Must be a valid secret key.
optional string key = 2;public boolean hasOptional()
Specify whether the Secret or it's key must be defined +optional
optional bool optional = 3;hasOptional in interface V1.SecretKeySelectorOrBuilderpublic boolean getOptional()
Specify whether the Secret or it's key must be defined +optional
optional bool optional = 3;getOptional in interface V1.SecretKeySelectorOrBuilderpublic V1.SecretKeySelector.Builder setOptional(boolean value)
Specify whether the Secret or it's key must be defined +optional
optional bool optional = 3;public V1.SecretKeySelector.Builder clearOptional()
Specify whether the Secret or it's key must be defined +optional
optional bool optional = 3;public final V1.SecretKeySelector.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.SecretKeySelector.Builder>public final V1.SecretKeySelector.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.SecretKeySelector.Builder>Copyright © 2018. All rights reserved.