public static final class Protos.Image.Docker extends com.google.protobuf.GeneratedMessageV3 implements Protos.Image.DockerOrBuilder
mesos.Image.Docker
Modifier and Type | Class and Description |
---|---|
static class |
Protos.Image.Docker.Builder
Protobuf type
mesos.Image.Docker |
Modifier and Type | Field and Description |
---|---|
static int |
CONFIG_FIELD_NUMBER |
static int |
CREDENTIAL_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Protos.Secret |
getConfig()
Docker config containing credentials to authenticate with
docker registry.
|
Protos.SecretOrBuilder |
getConfigOrBuilder()
Docker config containing credentials to authenticate with
docker registry.
|
Protos.Credential |
getCredential()
Deprecated.
|
Protos.CredentialOrBuilder |
getCredentialOrBuilder()
Deprecated.
|
static Protos.Image.Docker |
getDefaultInstance() |
Protos.Image.Docker |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getName()
The name of the image.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the image.
|
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasConfig()
Docker config containing credentials to authenticate with
docker registry.
|
boolean |
hasCredential()
Deprecated.
|
int |
hashCode() |
boolean |
hasName()
The name of the image.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Image.Docker.Builder |
newBuilder() |
static Protos.Image.Docker.Builder |
newBuilder(Protos.Image.Docker prototype) |
Protos.Image.Docker.Builder |
newBuilderForType() |
protected Protos.Image.Docker.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Image.Docker |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Image.Docker |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Image.Docker |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Image.Docker |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Image.Docker |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Image.Docker |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Image.Docker |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Image.Docker |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Image.Docker |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Image.Docker |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Image.Docker.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int NAME_FIELD_NUMBER
public static final int CREDENTIAL_FIELD_NUMBER
public static final int CONFIG_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 hasName()
The name of the image. Expected format: [REGISTRY_HOST[:REGISTRY_PORT]/]REPOSITORY[:TAG|@TYPE:DIGEST] See: https://docs.docker.com/reference/commandline/pull/
required string name = 1;
hasName
in interface Protos.Image.DockerOrBuilder
public java.lang.String getName()
The name of the image. Expected format: [REGISTRY_HOST[:REGISTRY_PORT]/]REPOSITORY[:TAG|@TYPE:DIGEST] See: https://docs.docker.com/reference/commandline/pull/
required string name = 1;
getName
in interface Protos.Image.DockerOrBuilder
public com.google.protobuf.ByteString getNameBytes()
The name of the image. Expected format: [REGISTRY_HOST[:REGISTRY_PORT]/]REPOSITORY[:TAG|@TYPE:DIGEST] See: https://docs.docker.com/reference/commandline/pull/
required string name = 1;
getNameBytes
in interface Protos.Image.DockerOrBuilder
@Deprecated public boolean hasCredential()
Credential to authenticate with docker registry. NOTE: This is not encrypted, therefore framework and operators should enable SSL when passing this information. This field has never been used in Mesos before and is deprecated since Mesos 1.3. Please use `config` below (see MESOS-7088 for details).
optional .mesos.Credential credential = 2 [deprecated = true];
hasCredential
in interface Protos.Image.DockerOrBuilder
@Deprecated public Protos.Credential getCredential()
Credential to authenticate with docker registry. NOTE: This is not encrypted, therefore framework and operators should enable SSL when passing this information. This field has never been used in Mesos before and is deprecated since Mesos 1.3. Please use `config` below (see MESOS-7088 for details).
optional .mesos.Credential credential = 2 [deprecated = true];
getCredential
in interface Protos.Image.DockerOrBuilder
@Deprecated public Protos.CredentialOrBuilder getCredentialOrBuilder()
Credential to authenticate with docker registry. NOTE: This is not encrypted, therefore framework and operators should enable SSL when passing this information. This field has never been used in Mesos before and is deprecated since Mesos 1.3. Please use `config` below (see MESOS-7088 for details).
optional .mesos.Credential credential = 2 [deprecated = true];
getCredentialOrBuilder
in interface Protos.Image.DockerOrBuilder
public boolean hasConfig()
Docker config containing credentials to authenticate with docker registry. The secret is expected to be a docker config file in JSON format with UTF-8 character encoding.
optional .mesos.Secret config = 3;
hasConfig
in interface Protos.Image.DockerOrBuilder
public Protos.Secret getConfig()
Docker config containing credentials to authenticate with docker registry. The secret is expected to be a docker config file in JSON format with UTF-8 character encoding.
optional .mesos.Secret config = 3;
getConfig
in interface Protos.Image.DockerOrBuilder
public Protos.SecretOrBuilder getConfigOrBuilder()
Docker config containing credentials to authenticate with docker registry. The secret is expected to be a docker config file in JSON format with UTF-8 character encoding.
optional .mesos.Secret config = 3;
getConfigOrBuilder
in interface Protos.Image.DockerOrBuilder
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.Image.Docker parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Image.Docker parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Image.Docker parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Image.Docker parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Image.Docker parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Image.Docker parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Image.Docker parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Image.Docker parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Image.Docker parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Image.Docker parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Image.Docker.Builder newBuilderForType()
public static Protos.Image.Docker.Builder newBuilder()
public static Protos.Image.Docker.Builder newBuilder(Protos.Image.Docker prototype)
public Protos.Image.Docker.Builder toBuilder()
protected Protos.Image.Docker.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Image.Docker getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Image.Docker getDefaultInstanceForType()