public static final class Protos.Image.Appc.Builder extends <any> 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 | Method and Description |
---|---|
Protos.Image.Appc.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Image.Appc |
build() |
Protos.Image.Appc |
buildPartial() |
Protos.Image.Appc.Builder |
clear() |
Protos.Image.Appc.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Image.Appc.Builder |
clearId()
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.Image.Appc.Builder |
clearLabels()
Optional labels.
|
Protos.Image.Appc.Builder |
clearName()
The name of the image.
|
Protos.Image.Appc.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Image.Appc.Builder |
clone() |
Protos.Image.Appc |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.Labels.Builder |
getLabelsBuilder()
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.
|
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() |
Protos.Image.Appc.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Image.Appc.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Image.Appc.Builder |
mergeLabels(Protos.Labels value)
Optional labels.
|
Protos.Image.Appc.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Image.Appc.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Image.Appc.Builder |
setId(java.lang.String value)
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.Image.Appc.Builder |
setIdBytes(com.google.protobuf.ByteString value)
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.Image.Appc.Builder |
setLabels(Protos.Labels.Builder builderForValue)
Optional labels.
|
Protos.Image.Appc.Builder |
setLabels(Protos.Labels value)
Optional labels.
|
Protos.Image.Appc.Builder |
setName(java.lang.String value)
The name of the image.
|
Protos.Image.Appc.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the image.
|
Protos.Image.Appc.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Image.Appc.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.Image.Appc.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Image.Appc getDefaultInstanceForType()
public Protos.Image.Appc build()
public Protos.Image.Appc buildPartial()
public Protos.Image.Appc.Builder clone()
public Protos.Image.Appc.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Image.Appc.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Image.Appc.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Image.Appc.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Image.Appc.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Image.Appc.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Image.Appc.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
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 Protos.Image.Appc.Builder setName(java.lang.String value)
The name of the image.
required string name = 1;
public Protos.Image.Appc.Builder clearName()
The name of the image.
required string name = 1;
public Protos.Image.Appc.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the image.
required string name = 1;
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 Protos.Image.Appc.Builder setId(java.lang.String value)
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;
public Protos.Image.Appc.Builder clearId()
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;
public Protos.Image.Appc.Builder setIdBytes(com.google.protobuf.ByteString value)
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;
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.Image.Appc.Builder setLabels(Protos.Labels value)
Optional labels. Suggested labels: "version", "os", and "arch".
optional .mesos.Labels labels = 3;
public Protos.Image.Appc.Builder setLabels(Protos.Labels.Builder builderForValue)
Optional labels. Suggested labels: "version", "os", and "arch".
optional .mesos.Labels labels = 3;
public Protos.Image.Appc.Builder mergeLabels(Protos.Labels value)
Optional labels. Suggested labels: "version", "os", and "arch".
optional .mesos.Labels labels = 3;
public Protos.Image.Appc.Builder clearLabels()
Optional labels. Suggested labels: "version", "os", and "arch".
optional .mesos.Labels labels = 3;
public Protos.Labels.Builder getLabelsBuilder()
Optional labels. Suggested labels: "version", "os", and "arch".
optional .mesos.Labels labels = 3;
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 Protos.Image.Appc.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Image.Appc.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)