public static final class Protos.SeccompInfo extends com.google.protobuf.GeneratedMessageV3 implements Protos.SeccompInfoOrBuilder
Encapsulation for Seccomp configuration, which is Linux specific.Protobuf type
mesos.SeccompInfo
Modifier and Type | Class and Description |
---|---|
static class |
Protos.SeccompInfo.Builder
Encapsulation for Seccomp configuration, which is Linux specific.
|
Modifier and Type | Field and Description |
---|---|
static <any> |
PARSER
Deprecated.
|
static int |
PROFILE_NAME_FIELD_NUMBER |
static int |
UNCONFINED_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.SeccompInfo |
getDefaultInstance() |
Protos.SeccompInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
<any> |
getParserForType() |
java.lang.String |
getProfileName()
A filename of the Seccomp profile.
|
com.google.protobuf.ByteString |
getProfileNameBytes()
A filename of the Seccomp profile.
|
int |
getSerializedSize() |
boolean |
getUnconfined()
If set to `true`, Seccomp is not applied to the container.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
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() |
static Protos.SeccompInfo.Builder |
newBuilder() |
static Protos.SeccompInfo.Builder |
newBuilder(Protos.SeccompInfo prototype) |
Protos.SeccompInfo.Builder |
newBuilderForType() |
protected Protos.SeccompInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.SeccompInfo |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.SeccompInfo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.SeccompInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.SeccompInfo |
parseFrom(java.nio.ByteBuffer data) |
static Protos.SeccompInfo |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.SeccompInfo |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.SeccompInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.SeccompInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.SeccompInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.SeccompInfo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.SeccompInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int PROFILE_NAME_FIELD_NUMBER
public static final int UNCONFINED_FIELD_NUMBER
@Deprecated public static final <any> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public 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 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 final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.SeccompInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.SeccompInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.SeccompInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.SeccompInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.SeccompInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.SeccompInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.SeccompInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.SeccompInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.SeccompInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.SeccompInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.SeccompInfo.Builder newBuilderForType()
public static Protos.SeccompInfo.Builder newBuilder()
public static Protos.SeccompInfo.Builder newBuilder(Protos.SeccompInfo prototype)
public Protos.SeccompInfo.Builder toBuilder()
protected Protos.SeccompInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.SeccompInfo getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.SeccompInfo getDefaultInstanceForType()