public static final class Messages.StatusUpdateRecord extends com.google.protobuf.GeneratedMessage implements Messages.StatusUpdateRecordOrBuilder
mesos.internal.StatusUpdateRecord
This message encapsulates how we checkpoint a status update to disk. NOTE: If type == UPDATE, the 'update' field is required. NOTE: If type == ACK, the 'uuid' field is required.
| Modifier and Type | Class and Description |
|---|---|
static class |
Messages.StatusUpdateRecord.Builder
Protobuf type
mesos.internal.StatusUpdateRecord |
static class |
Messages.StatusUpdateRecord.Type
Protobuf enum
mesos.internal.StatusUpdateRecord.Type |
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 com.google.protobuf.Parser<Messages.StatusUpdateRecord> |
PARSER |
static int |
TYPE_FIELD_NUMBER |
static int |
UPDATE_FIELD_NUMBER |
static int |
UUID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static Messages.StatusUpdateRecord |
getDefaultInstance() |
Messages.StatusUpdateRecord |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Messages.StatusUpdateRecord> |
getParserForType() |
int |
getSerializedSize() |
Messages.StatusUpdateRecord.Type |
getType()
required .mesos.internal.StatusUpdateRecord.Type type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Messages.StatusUpdate |
getUpdate()
optional .mesos.internal.StatusUpdate update = 2; |
Messages.StatusUpdateOrBuilder |
getUpdateOrBuilder()
optional .mesos.internal.StatusUpdate update = 2; |
com.google.protobuf.ByteString |
getUuid()
optional bytes uuid = 3; |
boolean |
hasType()
required .mesos.internal.StatusUpdateRecord.Type type = 1; |
boolean |
hasUpdate()
optional .mesos.internal.StatusUpdate update = 2; |
boolean |
hasUuid()
optional bytes uuid = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Messages.StatusUpdateRecord.Builder |
newBuilder() |
static Messages.StatusUpdateRecord.Builder |
newBuilder(Messages.StatusUpdateRecord prototype) |
Messages.StatusUpdateRecord.Builder |
newBuilderForType() |
protected Messages.StatusUpdateRecord.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Messages.StatusUpdateRecord |
parseDelimitedFrom(InputStream input) |
static Messages.StatusUpdateRecord |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.StatusUpdateRecord |
parseFrom(byte[] data) |
static Messages.StatusUpdateRecord |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.StatusUpdateRecord |
parseFrom(com.google.protobuf.ByteString data) |
static Messages.StatusUpdateRecord |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.StatusUpdateRecord |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Messages.StatusUpdateRecord |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.StatusUpdateRecord |
parseFrom(InputStream input) |
static Messages.StatusUpdateRecord |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Messages.StatusUpdateRecord.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<Messages.StatusUpdateRecord> PARSER
public static final int TYPE_FIELD_NUMBER
public static final int UPDATE_FIELD_NUMBER
public static final int UUID_FIELD_NUMBER
public static Messages.StatusUpdateRecord getDefaultInstance()
public Messages.StatusUpdateRecord getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<Messages.StatusUpdateRecord> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasType()
required .mesos.internal.StatusUpdateRecord.Type type = 1;hasType in interface Messages.StatusUpdateRecordOrBuilderpublic Messages.StatusUpdateRecord.Type getType()
required .mesos.internal.StatusUpdateRecord.Type type = 1;getType in interface Messages.StatusUpdateRecordOrBuilderpublic boolean hasUpdate()
optional .mesos.internal.StatusUpdate update = 2;hasUpdate in interface Messages.StatusUpdateRecordOrBuilderpublic Messages.StatusUpdate getUpdate()
optional .mesos.internal.StatusUpdate update = 2;getUpdate in interface Messages.StatusUpdateRecordOrBuilderpublic Messages.StatusUpdateOrBuilder getUpdateOrBuilder()
optional .mesos.internal.StatusUpdate update = 2;getUpdateOrBuilder in interface Messages.StatusUpdateRecordOrBuilderpublic boolean hasUuid()
optional bytes uuid = 3;hasUuid in interface Messages.StatusUpdateRecordOrBuilderpublic com.google.protobuf.ByteString getUuid()
optional bytes uuid = 3;getUuid in interface Messages.StatusUpdateRecordOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static Messages.StatusUpdateRecord parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.StatusUpdateRecord parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.StatusUpdateRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.StatusUpdateRecord parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.StatusUpdateRecord parseFrom(InputStream input) throws IOException
IOExceptionpublic static Messages.StatusUpdateRecord parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Messages.StatusUpdateRecord parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Messages.StatusUpdateRecord parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Messages.StatusUpdateRecord parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Messages.StatusUpdateRecord parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Messages.StatusUpdateRecord.Builder newBuilder()
public Messages.StatusUpdateRecord.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Messages.StatusUpdateRecord.Builder newBuilder(Messages.StatusUpdateRecord prototype)
public Messages.StatusUpdateRecord.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Messages.StatusUpdateRecord.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2014–2015. All rights reserved.