public static final class Protos.Offer.Operation.Reserve extends com.google.protobuf.GeneratedMessageV3 implements Protos.Offer.Operation.ReserveOrBuilder
mesos.Offer.Operation.Reserve
Modifier and Type | Class and Description |
---|---|
static class |
Protos.Offer.Operation.Reserve.Builder
Protobuf type
mesos.Offer.Operation.Reserve |
Modifier and Type | Field and Description |
---|---|
static <any> |
PARSER
Deprecated.
|
static int |
RESOURCES_FIELD_NUMBER |
static int |
SOURCE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.Offer.Operation.Reserve |
getDefaultInstance() |
Protos.Offer.Operation.Reserve |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
<any> |
getParserForType() |
Protos.Resource |
getResources(int index)
repeated .mesos.Resource resources = 1; |
int |
getResourcesCount()
repeated .mesos.Resource resources = 1; |
java.util.List<Protos.Resource> |
getResourcesList()
repeated .mesos.Resource resources = 1; |
Protos.ResourceOrBuilder |
getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 1; |
java.util.List<? extends Protos.ResourceOrBuilder> |
getResourcesOrBuilderList()
repeated .mesos.Resource resources = 1; |
int |
getSerializedSize() |
Protos.Resource |
getSource(int index)
repeated .mesos.Resource source = 2; |
int |
getSourceCount()
repeated .mesos.Resource source = 2; |
java.util.List<Protos.Resource> |
getSourceList()
repeated .mesos.Resource source = 2; |
Protos.ResourceOrBuilder |
getSourceOrBuilder(int index)
repeated .mesos.Resource source = 2; |
java.util.List<? extends Protos.ResourceOrBuilder> |
getSourceOrBuilderList()
repeated .mesos.Resource source = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Offer.Operation.Reserve.Builder |
newBuilder() |
static Protos.Offer.Operation.Reserve.Builder |
newBuilder(Protos.Offer.Operation.Reserve prototype) |
Protos.Offer.Operation.Reserve.Builder |
newBuilderForType() |
protected Protos.Offer.Operation.Reserve.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Offer.Operation.Reserve |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Offer.Operation.Reserve |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation.Reserve |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation.Reserve |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Offer.Operation.Reserve |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation.Reserve |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Offer.Operation.Reserve |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation.Reserve |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Offer.Operation.Reserve |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation.Reserve |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Offer.Operation.Reserve.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int SOURCE_FIELD_NUMBER
public static final int RESOURCES_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 java.util.List<Protos.Resource> getSourceList()
repeated .mesos.Resource source = 2;
getSourceList
in interface Protos.Offer.Operation.ReserveOrBuilder
public java.util.List<? extends Protos.ResourceOrBuilder> getSourceOrBuilderList()
repeated .mesos.Resource source = 2;
getSourceOrBuilderList
in interface Protos.Offer.Operation.ReserveOrBuilder
public int getSourceCount()
repeated .mesos.Resource source = 2;
getSourceCount
in interface Protos.Offer.Operation.ReserveOrBuilder
public Protos.Resource getSource(int index)
repeated .mesos.Resource source = 2;
getSource
in interface Protos.Offer.Operation.ReserveOrBuilder
public Protos.ResourceOrBuilder getSourceOrBuilder(int index)
repeated .mesos.Resource source = 2;
getSourceOrBuilder
in interface Protos.Offer.Operation.ReserveOrBuilder
public java.util.List<Protos.Resource> getResourcesList()
repeated .mesos.Resource resources = 1;
getResourcesList
in interface Protos.Offer.Operation.ReserveOrBuilder
public java.util.List<? extends Protos.ResourceOrBuilder> getResourcesOrBuilderList()
repeated .mesos.Resource resources = 1;
getResourcesOrBuilderList
in interface Protos.Offer.Operation.ReserveOrBuilder
public int getResourcesCount()
repeated .mesos.Resource resources = 1;
getResourcesCount
in interface Protos.Offer.Operation.ReserveOrBuilder
public Protos.Resource getResources(int index)
repeated .mesos.Resource resources = 1;
getResources
in interface Protos.Offer.Operation.ReserveOrBuilder
public Protos.ResourceOrBuilder getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 1;
getResourcesOrBuilder
in interface Protos.Offer.Operation.ReserveOrBuilder
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.Offer.Operation.Reserve parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Offer.Operation.Reserve parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Offer.Operation.Reserve parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Offer.Operation.Reserve parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Offer.Operation.Reserve parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Offer.Operation.Reserve parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Offer.Operation.Reserve parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Offer.Operation.Reserve parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Offer.Operation.Reserve parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Offer.Operation.Reserve parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Offer.Operation.Reserve.Builder newBuilderForType()
public static Protos.Offer.Operation.Reserve.Builder newBuilder()
public static Protos.Offer.Operation.Reserve.Builder newBuilder(Protos.Offer.Operation.Reserve prototype)
public Protos.Offer.Operation.Reserve.Builder toBuilder()
protected Protos.Offer.Operation.Reserve.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Offer.Operation.Reserve getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Offer.Operation.Reserve getDefaultInstanceForType()