Package io.kubernetes.client.proto
Interface V1.SecretOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1.Secret
,V1.Secret.Builder
- Enclosing class:
- V1
public static interface V1.SecretOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsData
(String key) Data contains the secret data.boolean
containsStringData
(String key) stringData allows specifying non-binary secret data in string form.getData()
Deprecated.int
Data contains the secret data.Data contains the secret data.com.google.protobuf.ByteString
getDataOrDefault
(String key, com.google.protobuf.ByteString defaultValue) Data contains the secret data.com.google.protobuf.ByteString
getDataOrThrow
(String key) Data contains the secret data.boolean
Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).Standard object's metadata.Standard object's metadata.Deprecated.int
stringData allows specifying non-binary secret data in string form.stringData allows specifying non-binary secret data in string form.getStringDataOrDefault
(String key, String defaultValue) stringData allows specifying non-binary secret data in string form.stringData allows specifying non-binary secret data in string form.getType()
Used to facilitate programmatic handling of secret data.com.google.protobuf.ByteString
Used to facilitate programmatic handling of secret data.boolean
Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).boolean
Standard object's metadata.boolean
hasType()
Used to facilitate programmatic handling of secret data.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
-
hasMetadata
boolean hasMetadata()Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
getMetadata
Meta.ObjectMeta getMetadata()Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
getMetadataOrBuilder
Meta.ObjectMetaOrBuilder getMetadataOrBuilder()Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
hasImmutable
boolean hasImmutable()Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. +optional
optional bool immutable = 5;
-
getImmutable
boolean getImmutable()Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. +optional
optional bool immutable = 5;
-
getDataCount
int getDataCount()Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 +optional
map<string, bytes> data = 2;
-
containsData
Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 +optional
map<string, bytes> data = 2;
-
getData
Deprecated.UsegetDataMap()
instead. -
getDataMap
Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 +optional
map<string, bytes> data = 2;
-
getDataOrDefault
com.google.protobuf.ByteString getDataOrDefault(String key, com.google.protobuf.ByteString defaultValue) Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 +optional
map<string, bytes> data = 2;
-
getDataOrThrow
Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 +optional
map<string, bytes> data = 2;
-
getStringDataCount
int getStringDataCount()stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. +k8s:conversion-gen=false +optional
map<string, string> stringData = 4;
-
containsStringData
stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. +k8s:conversion-gen=false +optional
map<string, string> stringData = 4;
-
getStringData
Deprecated.UsegetStringDataMap()
instead. -
getStringDataMap
stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. +k8s:conversion-gen=false +optional
map<string, string> stringData = 4;
-
getStringDataOrDefault
stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. +k8s:conversion-gen=false +optional
map<string, string> stringData = 4;
-
getStringDataOrThrow
stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. +k8s:conversion-gen=false +optional
map<string, string> stringData = 4;
-
hasType
boolean hasType()Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types +optional
optional string type = 3;
-
getType
String getType()Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types +optional
optional string type = 3;
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types +optional
optional string type = 3;
-