public static final class Protos.Call.Update.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.Call.Update.Builder> implements Protos.Call.UpdateOrBuilder
mesos.v1.executor.Call.Update
Notifies the scheduler that a task has transitioned from one state to another. Status updates should be used by executors to reliably communicate the status of the tasks that they manage. It is crucial that a terminal update (see TaskState in v1/mesos.proto) is sent to the scheduler as soon as the task terminates, in order for Mesos to release the resources allocated to the task. It is the responsibility of the scheduler to explicitly acknowledge the receipt of a status update. See 'Acknowledged' in the 'Events' section above for the semantics.
Modifier and Type | Method and Description |
---|---|
Protos.Call.Update |
build() |
Protos.Call.Update |
buildPartial() |
Protos.Call.Update.Builder |
clear() |
Protos.Call.Update.Builder |
clearStatus()
required .mesos.v1.TaskStatus status = 1; |
Protos.Call.Update.Builder |
clone() |
Protos.Call.Update |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.TaskStatus |
getStatus()
required .mesos.v1.TaskStatus status = 1; |
Protos.TaskStatus.Builder |
getStatusBuilder()
required .mesos.v1.TaskStatus status = 1; |
Protos.TaskStatusOrBuilder |
getStatusOrBuilder()
required .mesos.v1.TaskStatus status = 1; |
boolean |
hasStatus()
required .mesos.v1.TaskStatus status = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Call.Update.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Call.Update.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Call.Update.Builder |
mergeFrom(Protos.Call.Update other) |
Protos.Call.Update.Builder |
mergeStatus(Protos.TaskStatus value)
required .mesos.v1.TaskStatus status = 1; |
Protos.Call.Update.Builder |
setStatus(Protos.TaskStatus.Builder builderForValue)
required .mesos.v1.TaskStatus status = 1; |
Protos.Call.Update.Builder |
setStatus(Protos.TaskStatus value)
required .mesos.v1.TaskStatus status = 1; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Protos.Call.Update.Builder>
public Protos.Call.Update.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Protos.Call.Update.Builder>
public Protos.Call.Update.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<Protos.Call.Update.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Protos.Call.Update.Builder>
public Protos.Call.Update getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.Call.Update build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.Call.Update buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.Call.Update.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.Call.Update.Builder>
public Protos.Call.Update.Builder mergeFrom(Protos.Call.Update other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Protos.Call.Update.Builder>
public Protos.Call.Update.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.Call.Update.Builder>
IOException
public boolean hasStatus()
required .mesos.v1.TaskStatus status = 1;
hasStatus
in interface Protos.Call.UpdateOrBuilder
public Protos.TaskStatus getStatus()
required .mesos.v1.TaskStatus status = 1;
getStatus
in interface Protos.Call.UpdateOrBuilder
public Protos.Call.Update.Builder setStatus(Protos.TaskStatus value)
required .mesos.v1.TaskStatus status = 1;
public Protos.Call.Update.Builder setStatus(Protos.TaskStatus.Builder builderForValue)
required .mesos.v1.TaskStatus status = 1;
public Protos.Call.Update.Builder mergeStatus(Protos.TaskStatus value)
required .mesos.v1.TaskStatus status = 1;
public Protos.Call.Update.Builder clearStatus()
required .mesos.v1.TaskStatus status = 1;
public Protos.TaskStatus.Builder getStatusBuilder()
required .mesos.v1.TaskStatus status = 1;
public Protos.TaskStatusOrBuilder getStatusOrBuilder()
required .mesos.v1.TaskStatus status = 1;
getStatusOrBuilder
in interface Protos.Call.UpdateOrBuilder
Copyright © 2017 The Apache Software Foundation. All Rights Reserved.