public static final class Protos.Call extends com.google.protobuf.GeneratedMessage implements Protos.CallOrBuilder
mesos.v1.executor.Call
Executor call API. Like Event, a Call is described using the standard protocol buffer "union" trick (see above).
Modifier and Type | Class and Description |
---|---|
static class |
Protos.Call.Builder
Protobuf type
mesos.v1.executor.Call |
static class |
Protos.Call.Message
Protobuf type
mesos.v1.executor.Call.Message |
static interface |
Protos.Call.MessageOrBuilder |
static class |
Protos.Call.Subscribe
Protobuf type
mesos.v1.executor.Call.Subscribe |
static interface |
Protos.Call.SubscribeOrBuilder |
static class |
Protos.Call.Type
Protobuf enum
mesos.v1.executor.Call.Type |
static class |
Protos.Call.Update
Protobuf type
mesos.v1.executor.Call.Update |
static interface |
Protos.Call.UpdateOrBuilder |
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 |
EXECUTOR_ID_FIELD_NUMBER |
static int |
FRAMEWORK_ID_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static com.google.protobuf.Parser<Protos.Call> |
PARSER |
static int |
SUBSCRIBE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
UPDATE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
static Protos.Call |
getDefaultInstance() |
Protos.Call |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.ExecutorID |
getExecutorId()
required .mesos.v1.ExecutorID executor_id = 1; |
Protos.ExecutorIDOrBuilder |
getExecutorIdOrBuilder()
required .mesos.v1.ExecutorID executor_id = 1; |
Protos.FrameworkID |
getFrameworkId()
required .mesos.v1.FrameworkID framework_id = 2; |
Protos.FrameworkIDOrBuilder |
getFrameworkIdOrBuilder()
required .mesos.v1.FrameworkID framework_id = 2; |
Protos.Call.Message |
getMessage()
optional .mesos.v1.executor.Call.Message message = 6; |
Protos.Call.MessageOrBuilder |
getMessageOrBuilder()
optional .mesos.v1.executor.Call.Message message = 6; |
com.google.protobuf.Parser<Protos.Call> |
getParserForType() |
int |
getSerializedSize() |
Protos.Call.Subscribe |
getSubscribe()
optional .mesos.v1.executor.Call.Subscribe subscribe = 4; |
Protos.Call.SubscribeOrBuilder |
getSubscribeOrBuilder()
optional .mesos.v1.executor.Call.Subscribe subscribe = 4; |
Protos.Call.Type |
getType()
optional .mesos.v1.executor.Call.Type type = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Protos.Call.Update |
getUpdate()
optional .mesos.v1.executor.Call.Update update = 5; |
Protos.Call.UpdateOrBuilder |
getUpdateOrBuilder()
optional .mesos.v1.executor.Call.Update update = 5; |
boolean |
hasExecutorId()
required .mesos.v1.ExecutorID executor_id = 1; |
boolean |
hasFrameworkId()
required .mesos.v1.FrameworkID framework_id = 2; |
boolean |
hasMessage()
optional .mesos.v1.executor.Call.Message message = 6; |
boolean |
hasSubscribe()
optional .mesos.v1.executor.Call.Subscribe subscribe = 4; |
boolean |
hasType()
optional .mesos.v1.executor.Call.Type type = 3; |
boolean |
hasUpdate()
optional .mesos.v1.executor.Call.Update update = 5; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Call.Builder |
newBuilder() |
static Protos.Call.Builder |
newBuilder(Protos.Call prototype) |
Protos.Call.Builder |
newBuilderForType() |
protected Protos.Call.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Protos.Call |
parseDelimitedFrom(InputStream input) |
static Protos.Call |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Call |
parseFrom(byte[] data) |
static Protos.Call |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Call |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Call |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Call |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Call |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Call |
parseFrom(InputStream input) |
static Protos.Call |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Call.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.Call> PARSER
public static final int EXECUTOR_ID_FIELD_NUMBER
public static final int FRAMEWORK_ID_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int SUBSCRIBE_FIELD_NUMBER
public static final int UPDATE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
public static Protos.Call getDefaultInstance()
public Protos.Call 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.Call> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasExecutorId()
required .mesos.v1.ExecutorID executor_id = 1;
Identifies the executor which generated this call.
hasExecutorId
in interface Protos.CallOrBuilder
public Protos.ExecutorID getExecutorId()
required .mesos.v1.ExecutorID executor_id = 1;
Identifies the executor which generated this call.
getExecutorId
in interface Protos.CallOrBuilder
public Protos.ExecutorIDOrBuilder getExecutorIdOrBuilder()
required .mesos.v1.ExecutorID executor_id = 1;
Identifies the executor which generated this call.
getExecutorIdOrBuilder
in interface Protos.CallOrBuilder
public boolean hasFrameworkId()
required .mesos.v1.FrameworkID framework_id = 2;
hasFrameworkId
in interface Protos.CallOrBuilder
public Protos.FrameworkID getFrameworkId()
required .mesos.v1.FrameworkID framework_id = 2;
getFrameworkId
in interface Protos.CallOrBuilder
public Protos.FrameworkIDOrBuilder getFrameworkIdOrBuilder()
required .mesos.v1.FrameworkID framework_id = 2;
getFrameworkIdOrBuilder
in interface Protos.CallOrBuilder
public boolean hasType()
optional .mesos.v1.executor.Call.Type type = 3;
Type of the call, indicates which optional field below should be present if that type has a nested message definition. In case type is SUBSCRIBED, no message needs to be set. See comments on `Event::Type` above on the reasoning behind this field being optional.
hasType
in interface Protos.CallOrBuilder
public Protos.Call.Type getType()
optional .mesos.v1.executor.Call.Type type = 3;
Type of the call, indicates which optional field below should be present if that type has a nested message definition. In case type is SUBSCRIBED, no message needs to be set. See comments on `Event::Type` above on the reasoning behind this field being optional.
getType
in interface Protos.CallOrBuilder
public boolean hasSubscribe()
optional .mesos.v1.executor.Call.Subscribe subscribe = 4;
hasSubscribe
in interface Protos.CallOrBuilder
public Protos.Call.Subscribe getSubscribe()
optional .mesos.v1.executor.Call.Subscribe subscribe = 4;
getSubscribe
in interface Protos.CallOrBuilder
public Protos.Call.SubscribeOrBuilder getSubscribeOrBuilder()
optional .mesos.v1.executor.Call.Subscribe subscribe = 4;
getSubscribeOrBuilder
in interface Protos.CallOrBuilder
public boolean hasUpdate()
optional .mesos.v1.executor.Call.Update update = 5;
hasUpdate
in interface Protos.CallOrBuilder
public Protos.Call.Update getUpdate()
optional .mesos.v1.executor.Call.Update update = 5;
getUpdate
in interface Protos.CallOrBuilder
public Protos.Call.UpdateOrBuilder getUpdateOrBuilder()
optional .mesos.v1.executor.Call.Update update = 5;
getUpdateOrBuilder
in interface Protos.CallOrBuilder
public boolean hasMessage()
optional .mesos.v1.executor.Call.Message message = 6;
hasMessage
in interface Protos.CallOrBuilder
public Protos.Call.Message getMessage()
optional .mesos.v1.executor.Call.Message message = 6;
getMessage
in interface Protos.CallOrBuilder
public Protos.Call.MessageOrBuilder getMessageOrBuilder()
optional .mesos.v1.executor.Call.Message message = 6;
getMessageOrBuilder
in interface Protos.CallOrBuilder
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.Call parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Call parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Call parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Call parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Call parseFrom(InputStream input) throws IOException
IOException
public static Protos.Call parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protos.Call parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Protos.Call parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protos.Call parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Protos.Call parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protos.Call.Builder newBuilder()
public Protos.Call.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Protos.Call.Builder newBuilder(Protos.Call prototype)
public Protos.Call.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Protos.Call.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2017 The Apache Software Foundation. All Rights Reserved.