public static final class Protos.Image.Appc extends com.google.protobuf.GeneratedMessageV3 implements Protos.Image.AppcOrBuilder
Protobuf for specifying an Appc container image. See: https://github.com/appc/spec/blob/master/spec/aci.mdProtobuf type
mesos.Image.Appc
Modifier and Type | Class and Description |
---|---|
static class |
Protos.Image.Appc.Builder
Protobuf for specifying an Appc container image.
|
Modifier and Type | Field and Description |
---|---|
static int |
ID_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.Image.Appc |
getDefaultInstance() |
Protos.Image.Appc |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getId()
An image ID is a string of the format "hash-value", where
"hash" is the hash algorithm used and "value" is the hex
encoded string of the digest.
|
com.google.protobuf.ByteString |
getIdBytes()
An image ID is a string of the format "hash-value", where
"hash" is the hash algorithm used and "value" is the hex
encoded string of the digest.
|
Protos.Labels |
getLabels()
Optional labels.
|
Protos.LabelsOrBuilder |
getLabelsOrBuilder()
Optional labels.
|
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() |
int |
hashCode() |
boolean |
hasId()
An image ID is a string of the format "hash-value", where
"hash" is the hash algorithm used and "value" is the hex
encoded string of the digest.
|
boolean |
hasLabels()
Optional labels.
|
boolean |
hasName()
The name of the image.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Image.Appc.Builder |
newBuilder() |
static Protos.Image.Appc.Builder |
newBuilder(Protos.Image.Appc prototype) |
Protos.Image.Appc.Builder |
newBuilderForType() |
protected Protos.Image.Appc.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Image.Appc |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Image.Appc |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Image.Appc |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Image.Appc |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Image.Appc |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Image.Appc |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Image.Appc |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Image.Appc |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Image.Appc |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Image.Appc |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Image.Appc.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int NAME_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int LABELS_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.
required string name = 1;
hasName
in interface Protos.Image.AppcOrBuilder
public java.lang.String getName()
The name of the image.
required string name = 1;
getName
in interface Protos.Image.AppcOrBuilder
public com.google.protobuf.ByteString getNameBytes()
The name of the image.
required string name = 1;
getNameBytes
in interface Protos.Image.AppcOrBuilder
public boolean hasId()
An image ID is a string of the format "hash-value", where "hash" is the hash algorithm used and "value" is the hex encoded string of the digest. Currently the only permitted hash algorithm is sha512.
optional string id = 2;
hasId
in interface Protos.Image.AppcOrBuilder
public java.lang.String getId()
An image ID is a string of the format "hash-value", where "hash" is the hash algorithm used and "value" is the hex encoded string of the digest. Currently the only permitted hash algorithm is sha512.
optional string id = 2;
getId
in interface Protos.Image.AppcOrBuilder
public com.google.protobuf.ByteString getIdBytes()
An image ID is a string of the format "hash-value", where "hash" is the hash algorithm used and "value" is the hex encoded string of the digest. Currently the only permitted hash algorithm is sha512.
optional string id = 2;
getIdBytes
in interface Protos.Image.AppcOrBuilder
public boolean hasLabels()
Optional labels. Suggested labels: "version", "os", and "arch".
optional .mesos.Labels labels = 3;
hasLabels
in interface Protos.Image.AppcOrBuilder
public Protos.Labels getLabels()
Optional labels. Suggested labels: "version", "os", and "arch".
optional .mesos.Labels labels = 3;
getLabels
in interface Protos.Image.AppcOrBuilder
public Protos.LabelsOrBuilder getLabelsOrBuilder()
Optional labels. Suggested labels: "version", "os", and "arch".
optional .mesos.Labels labels = 3;
getLabelsOrBuilder
in interface Protos.Image.AppcOrBuilder
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.Appc parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Image.Appc parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Image.Appc parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Image.Appc parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Image.Appc parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Image.Appc parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Image.Appc parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Image.Appc parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Image.Appc parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Image.Appc parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Image.Appc.Builder newBuilderForType()
public static Protos.Image.Appc.Builder newBuilder()
public static Protos.Image.Appc.Builder newBuilder(Protos.Image.Appc prototype)
public Protos.Image.Appc.Builder toBuilder()
protected Protos.Image.Appc.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Image.Appc getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Image.Appc getDefaultInstanceForType()