public static final class Protos.SeccompInfo.Builder extends <any> implements Protos.SeccompInfoOrBuilder
Encapsulation for Seccomp configuration, which is Linux specific.Protobuf type
mesos.SeccompInfo| Modifier and Type | Method and Description |
|---|---|
Protos.SeccompInfo.Builder |
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.SeccompInfo |
build () |
Protos.SeccompInfo |
buildPartial () |
Protos.SeccompInfo.Builder |
clear () |
Protos.SeccompInfo.Builder |
clearField (com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.SeccompInfo.Builder |
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.SeccompInfo.Builder |
clearProfileName ()
A filename of the Seccomp profile.
|
Protos.SeccompInfo.Builder |
clearUnconfined ()
If set to `true`, Seccomp is not applied to the container.
|
Protos.SeccompInfo.Builder |
clone () |
Protos.SeccompInfo |
getDefaultInstanceForType () |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor () |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType () |
java.lang.String |
getProfileName ()
A filename of the Seccomp profile.
|
com.google.protobuf.ByteString |
getProfileNameBytes ()
A filename of the Seccomp profile.
|
boolean |
getUnconfined ()
If set to `true`, Seccomp is not applied to the container.
|
boolean |
hasProfileName ()
A filename of the Seccomp profile.
|
boolean |
hasUnconfined ()
If set to `true`, Seccomp is not applied to the container.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable () |
boolean |
isInitialized () |
Protos.SeccompInfo.Builder |
mergeFrom (com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.SeccompInfo.Builder |
mergeFrom (com.google.protobuf.Message other) |
Protos.SeccompInfo.Builder |
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.SeccompInfo.Builder |
setField (com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.SeccompInfo.Builder |
setProfileName (java.lang.String value)
A filename of the Seccomp profile.
|
Protos.SeccompInfo.Builder |
setProfileNameBytes (com.google.protobuf.ByteString value)
A filename of the Seccomp profile.
|
Protos.SeccompInfo.Builder |
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.SeccompInfo.Builder |
setUnconfined (boolean value)
If set to `true`, Seccomp is not applied to the container.
|
Protos.SeccompInfo.Builder |
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.SeccompInfo.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.SeccompInfo getDefaultInstanceForType()
public Protos.SeccompInfo build()
public Protos.SeccompInfo buildPartial()
public Protos.SeccompInfo.Builder clone()
public Protos.SeccompInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.SeccompInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.SeccompInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.SeccompInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.SeccompInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.SeccompInfo.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.SeccompInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic boolean hasProfileName()
A filename of the Seccomp profile. This should be a path relative to the directory containing Seccomp profiles, which is specified on the agent via the `--seccomp_config_dir` flag.
optional string profile_name = 1;hasProfileName in interface Protos.SeccompInfoOrBuilder public java.lang.String getProfileName()
A filename of the Seccomp profile. This should be a path relative to the directory containing Seccomp profiles, which is specified on the agent via the `--seccomp_config_dir` flag.
optional string profile_name = 1;getProfileName in interface Protos.SeccompInfoOrBuilder public com.google.protobuf.ByteString getProfileNameBytes()
A filename of the Seccomp profile. This should be a path relative to the directory containing Seccomp profiles, which is specified on the agent via the `--seccomp_config_dir` flag.
optional string profile_name = 1;getProfileNameBytes in interface Protos.SeccompInfoOrBuilder public Protos.SeccompInfo.Builder setProfileName(java.lang.String value)
A filename of the Seccomp profile. This should be a path relative to the directory containing Seccomp profiles, which is specified on the agent via the `--seccomp_config_dir` flag.
optional string profile_name = 1;public Protos.SeccompInfo.Builder clearProfileName()
A filename of the Seccomp profile. This should be a path relative to the directory containing Seccomp profiles, which is specified on the agent via the `--seccomp_config_dir` flag.
optional string profile_name = 1;public Protos.SeccompInfo.Builder setProfileNameBytes(com.google.protobuf.ByteString value)
A filename of the Seccomp profile. This should be a path relative to the directory containing Seccomp profiles, which is specified on the agent via the `--seccomp_config_dir` flag.
optional string profile_name = 1;public boolean hasUnconfined()
If set to `true`, Seccomp is not applied to the container. If not set or set to `false`, the container is launched with the profile specified in the `profile_name` field. NOTE: `profile_name` must not be specified if `unconfined` set to `true`. `profile_name` must be specified if `unconfined` is not set or is set to `false`.
optional bool unconfined = 2;hasUnconfined in interface Protos.SeccompInfoOrBuilder public boolean getUnconfined()
If set to `true`, Seccomp is not applied to the container. If not set or set to `false`, the container is launched with the profile specified in the `profile_name` field. NOTE: `profile_name` must not be specified if `unconfined` set to `true`. `profile_name` must be specified if `unconfined` is not set or is set to `false`.
optional bool unconfined = 2;getUnconfined in interface Protos.SeccompInfoOrBuilder public Protos.SeccompInfo.Builder setUnconfined(boolean value)
If set to `true`, Seccomp is not applied to the container. If not set or set to `false`, the container is launched with the profile specified in the `profile_name` field. NOTE: `profile_name` must not be specified if `unconfined` set to `true`. `profile_name` must be specified if `unconfined` is not set or is set to `false`.
optional bool unconfined = 2;public Protos.SeccompInfo.Builder clearUnconfined()
If set to `true`, Seccomp is not applied to the container. If not set or set to `false`, the container is launched with the profile specified in the `profile_name` field. NOTE: `profile_name` must not be specified if `unconfined` set to `true`. `profile_name` must be specified if `unconfined` is not set or is set to `false`.
optional bool unconfined = 2;public final Protos.SeccompInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.SeccompInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)