public static final class V1.SeccompProfile.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.SeccompProfile.Builder> implements V1.SeccompProfileOrBuilder
SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. +unionProtobuf type
k8s.io.api.core.v1.SeccompProfile| Modifier and Type | Method and Description |
|---|---|
V1.SeccompProfile.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.SeccompProfile |
build() |
V1.SeccompProfile |
buildPartial() |
V1.SeccompProfile.Builder |
clear() |
V1.SeccompProfile.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.SeccompProfile.Builder |
clearLocalhostProfile()
localhostProfile indicates a profile defined in a file on the node should be used.
|
V1.SeccompProfile.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.SeccompProfile.Builder |
clearType()
type indicates which kind of seccomp profile will be applied.
|
V1.SeccompProfile.Builder |
clone() |
V1.SeccompProfile |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getLocalhostProfile()
localhostProfile indicates a profile defined in a file on the node should be used.
|
com.google.protobuf.ByteString |
getLocalhostProfileBytes()
localhostProfile indicates a profile defined in a file on the node should be used.
|
String |
getType()
type indicates which kind of seccomp profile will be applied.
|
com.google.protobuf.ByteString |
getTypeBytes()
type indicates which kind of seccomp profile will be applied.
|
boolean |
hasLocalhostProfile()
localhostProfile indicates a profile defined in a file on the node should be used.
|
boolean |
hasType()
type indicates which kind of seccomp profile will be applied.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.SeccompProfile.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.SeccompProfile.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.SeccompProfile.Builder |
mergeFrom(V1.SeccompProfile other) |
V1.SeccompProfile.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.SeccompProfile.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.SeccompProfile.Builder |
setLocalhostProfile(String value)
localhostProfile indicates a profile defined in a file on the node should be used.
|
V1.SeccompProfile.Builder |
setLocalhostProfileBytes(com.google.protobuf.ByteString value)
localhostProfile indicates a profile defined in a file on the node should be used.
|
V1.SeccompProfile.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.SeccompProfile.Builder |
setType(String value)
type indicates which kind of seccomp profile will be applied.
|
V1.SeccompProfile.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
type indicates which kind of seccomp profile will be applied.
|
V1.SeccompProfile.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.SeccompProfile.Builder>public V1.SeccompProfile.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.SeccompProfile.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.SeccompProfile.Builder>public V1.SeccompProfile getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.SeccompProfile build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.SeccompProfile buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.SeccompProfile.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.SeccompProfile.Builder>public V1.SeccompProfile.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.SeccompProfile.Builder>public V1.SeccompProfile.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.SeccompProfile.Builder>public V1.SeccompProfile.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.SeccompProfile.Builder>public V1.SeccompProfile.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.SeccompProfile.Builder>public V1.SeccompProfile.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.SeccompProfile.Builder>public V1.SeccompProfile.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.SeccompProfile.Builder>public V1.SeccompProfile.Builder mergeFrom(V1.SeccompProfile other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.SeccompProfile.Builder>public V1.SeccompProfile.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.SeccompProfile.Builder>IOExceptionpublic boolean hasType()
type indicates which kind of seccomp profile will be applied. Valid options are: Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied. +unionDiscriminator
optional string type = 1;hasType in interface V1.SeccompProfileOrBuilderpublic String getType()
type indicates which kind of seccomp profile will be applied. Valid options are: Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied. +unionDiscriminator
optional string type = 1;getType in interface V1.SeccompProfileOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
type indicates which kind of seccomp profile will be applied. Valid options are: Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied. +unionDiscriminator
optional string type = 1;getTypeBytes in interface V1.SeccompProfileOrBuilderpublic V1.SeccompProfile.Builder setType(String value)
type indicates which kind of seccomp profile will be applied. Valid options are: Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied. +unionDiscriminator
optional string type = 1;public V1.SeccompProfile.Builder clearType()
type indicates which kind of seccomp profile will be applied. Valid options are: Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied. +unionDiscriminator
optional string type = 1;public V1.SeccompProfile.Builder setTypeBytes(com.google.protobuf.ByteString value)
type indicates which kind of seccomp profile will be applied. Valid options are: Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied. +unionDiscriminator
optional string type = 1;public boolean hasLocalhostProfile()
localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". +optional
optional string localhostProfile = 2;hasLocalhostProfile in interface V1.SeccompProfileOrBuilderpublic String getLocalhostProfile()
localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". +optional
optional string localhostProfile = 2;getLocalhostProfile in interface V1.SeccompProfileOrBuilderpublic com.google.protobuf.ByteString getLocalhostProfileBytes()
localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". +optional
optional string localhostProfile = 2;getLocalhostProfileBytes in interface V1.SeccompProfileOrBuilderpublic V1.SeccompProfile.Builder setLocalhostProfile(String value)
localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". +optional
optional string localhostProfile = 2;public V1.SeccompProfile.Builder clearLocalhostProfile()
localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". +optional
optional string localhostProfile = 2;public V1.SeccompProfile.Builder setLocalhostProfileBytes(com.google.protobuf.ByteString value)
localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". +optional
optional string localhostProfile = 2;public final V1.SeccompProfile.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.SeccompProfile.Builder>public final V1.SeccompProfile.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.SeccompProfile.Builder>Copyright © 2023. All rights reserved.