public static final class Protos.Image.Docker extends com.google.protobuf.GeneratedMessage implements Protos.Image.DockerOrBuilder
mesos.v1.Image.Docker
Modifier and Type | Class and Description |
---|---|
static class |
Protos.Image.Docker.Builder
Protobuf type
mesos.v1.Image.Docker |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
CONFIG_FIELD_NUMBER |
static int |
CREDENTIAL_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<Protos.Image.Docker> |
PARSER |
Modifier and Type | Method and Description |
---|---|
Protos.Secret |
getConfig()
optional .mesos.v1.Secret config = 3; |
Protos.SecretOrBuilder |
getConfigOrBuilder()
optional .mesos.v1.Secret config = 3; |
Protos.Credential |
getCredential()
Deprecated.
|
Protos.CredentialOrBuilder |
getCredentialOrBuilder()
Deprecated.
|
static Protos.Image.Docker |
getDefaultInstance() |
Protos.Image.Docker |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
com.google.protobuf.Parser<Protos.Image.Docker> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasConfig()
optional .mesos.v1.Secret config = 3; |
boolean |
hasCredential()
Deprecated.
|
boolean |
hasName()
required string name = 1; |
protected com.google.protobuf.GeneratedMessage.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.GeneratedMessage.BuilderParent parent) |
static Protos.Image.Docker |
parseDelimitedFrom(InputStream input) |
static Protos.Image.Docker |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Image.Docker |
parseFrom(byte[] data) |
static Protos.Image.Docker |
parseFrom(byte[] 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(InputStream input) |
static Protos.Image.Docker |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Image.Docker.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<Protos.Image.Docker> PARSER
public static final int NAME_FIELD_NUMBER
public static final int CREDENTIAL_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
public static Protos.Image.Docker getDefaultInstance()
public Protos.Image.Docker getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<Protos.Image.Docker> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasName()
required string name = 1;
The name of the image. Expected format: [REGISTRY_HOST[:REGISTRY_PORT]/]REPOSITORY[:TAG|@TYPE:DIGEST] See: https://docs.docker.com/reference/commandline/pull/
hasName
in interface Protos.Image.DockerOrBuilder
public String getName()
required string name = 1;
The name of the image. Expected format: [REGISTRY_HOST[:REGISTRY_PORT]/]REPOSITORY[:TAG|@TYPE:DIGEST] See: https://docs.docker.com/reference/commandline/pull/
getName
in interface Protos.Image.DockerOrBuilder
public com.google.protobuf.ByteString getNameBytes()
required string name = 1;
The name of the image. Expected format: [REGISTRY_HOST[:REGISTRY_PORT]/]REPOSITORY[:TAG|@TYPE:DIGEST] See: https://docs.docker.com/reference/commandline/pull/
getNameBytes
in interface Protos.Image.DockerOrBuilder
@Deprecated public boolean hasCredential()
optional .mesos.v1.Credential credential = 2 [deprecated = true];
Credential to authenticate with docker registry. NOTE: This is not encrypted, therefore framework and operators should enable SSL when passing this information. This is field is never used in Mesos before and is deprecated since Mesos 1.3. Please use the `Secret::Value` field `config` below (see MESOS-7088 for details).
hasCredential
in interface Protos.Image.DockerOrBuilder
@Deprecated public Protos.Credential getCredential()
optional .mesos.v1.Credential credential = 2 [deprecated = true];
Credential to authenticate with docker registry. NOTE: This is not encrypted, therefore framework and operators should enable SSL when passing this information. This is field is never used in Mesos before and is deprecated since Mesos 1.3. Please use the `Secret::Value` field `config` below (see MESOS-7088 for details).
getCredential
in interface Protos.Image.DockerOrBuilder
@Deprecated public Protos.CredentialOrBuilder getCredentialOrBuilder()
optional .mesos.v1.Credential credential = 2 [deprecated = true];
Credential to authenticate with docker registry. NOTE: This is not encrypted, therefore framework and operators should enable SSL when passing this information. This is field is never used in Mesos before and is deprecated since Mesos 1.3. Please use the `Secret::Value` field `config` below (see MESOS-7088 for details).
getCredentialOrBuilder
in interface Protos.Image.DockerOrBuilder
public boolean hasConfig()
optional .mesos.v1.Secret config = 3;
The UTF-8 character encoded byte data, which is expected as a docker config file in JSON format. This field is used for supporting docker private registry credential per container. Users can specify different docker config files for pulling their private images from different registries.
hasConfig
in interface Protos.Image.DockerOrBuilder
public Protos.Secret getConfig()
optional .mesos.v1.Secret config = 3;
The UTF-8 character encoded byte data, which is expected as a docker config file in JSON format. This field is used for supporting docker private registry credential per container. Users can specify different docker config files for pulling their private images from different registries.
getConfig
in interface Protos.Image.DockerOrBuilder
public Protos.SecretOrBuilder getConfigOrBuilder()
optional .mesos.v1.Secret config = 3;
The UTF-8 character encoded byte data, which is expected as a docker config file in JSON format. This field is used for supporting docker private registry credential per container. Users can specify different docker config files for pulling their private images from different registries.
getConfigOrBuilder
in interface Protos.Image.DockerOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
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) 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(InputStream input) throws IOException
IOException
public static Protos.Image.Docker parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protos.Image.Docker parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Protos.Image.Docker parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protos.Image.Docker parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Protos.Image.Docker parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protos.Image.Docker.Builder newBuilder()
public Protos.Image.Docker.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Protos.Image.Docker.Builder newBuilder(Protos.Image.Docker prototype)
public Protos.Image.Docker.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Protos.Image.Docker.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2017 The Apache Software Foundation. All Rights Reserved.