public static final class TSOProto.Transaction extends com.google.protobuf.GeneratedMessage implements TSOProto.TransactionOrBuilder
Transaction| Modifier and Type | Class and Description |
|---|---|
static class |
TSOProto.Transaction.Builder
Protobuf type
Transaction |
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 |
EPOCH_FIELD_NUMBER |
static com.google.protobuf.Parser<TSOProto.Transaction> |
PARSER |
static int |
READTIMESTAMP_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
static int |
VISIBILITYLEVEL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static TSOProto.Transaction |
getDefaultInstance() |
TSOProto.Transaction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getEpoch()
optional int64 epoch = 4; |
com.google.protobuf.Parser<TSOProto.Transaction> |
getParserForType() |
long |
getReadTimestamp()
optional int64 readTimestamp = 2; |
int |
getSerializedSize() |
long |
getTimestamp()
optional int64 timestamp = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getVisibilityLevel()
optional int32 visibilityLevel = 3; |
boolean |
hasEpoch()
optional int64 epoch = 4; |
boolean |
hasReadTimestamp()
optional int64 readTimestamp = 2; |
boolean |
hasTimestamp()
optional int64 timestamp = 1; |
boolean |
hasVisibilityLevel()
optional int32 visibilityLevel = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TSOProto.Transaction.Builder |
newBuilder() |
static TSOProto.Transaction.Builder |
newBuilder(TSOProto.Transaction prototype) |
TSOProto.Transaction.Builder |
newBuilderForType() |
protected TSOProto.Transaction.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static TSOProto.Transaction |
parseDelimitedFrom(InputStream input) |
static TSOProto.Transaction |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TSOProto.Transaction |
parseFrom(byte[] data) |
static TSOProto.Transaction |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TSOProto.Transaction |
parseFrom(com.google.protobuf.ByteString data) |
static TSOProto.Transaction |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TSOProto.Transaction |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TSOProto.Transaction |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TSOProto.Transaction |
parseFrom(InputStream input) |
static TSOProto.Transaction |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TSOProto.Transaction.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<TSOProto.Transaction> PARSER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int READTIMESTAMP_FIELD_NUMBER
public static final int VISIBILITYLEVEL_FIELD_NUMBER
public static final int EPOCH_FIELD_NUMBER
public static TSOProto.Transaction getDefaultInstance()
public TSOProto.Transaction 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<TSOProto.Transaction> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasTimestamp()
optional int64 timestamp = 1;hasTimestamp in interface TSOProto.TransactionOrBuilderpublic long getTimestamp()
optional int64 timestamp = 1;getTimestamp in interface TSOProto.TransactionOrBuilderpublic boolean hasReadTimestamp()
optional int64 readTimestamp = 2;hasReadTimestamp in interface TSOProto.TransactionOrBuilderpublic long getReadTimestamp()
optional int64 readTimestamp = 2;getReadTimestamp in interface TSOProto.TransactionOrBuilderpublic boolean hasVisibilityLevel()
optional int32 visibilityLevel = 3;hasVisibilityLevel in interface TSOProto.TransactionOrBuilderpublic int getVisibilityLevel()
optional int32 visibilityLevel = 3;getVisibilityLevel in interface TSOProto.TransactionOrBuilderpublic boolean hasEpoch()
optional int64 epoch = 4;hasEpoch in interface TSOProto.TransactionOrBuilderpublic long getEpoch()
optional int64 epoch = 4;getEpoch in interface TSOProto.TransactionOrBuilderpublic 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 TSOProto.Transaction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TSOProto.Transaction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TSOProto.Transaction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TSOProto.Transaction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TSOProto.Transaction parseFrom(InputStream input) throws IOException
IOExceptionpublic static TSOProto.Transaction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TSOProto.Transaction parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TSOProto.Transaction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TSOProto.Transaction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TSOProto.Transaction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TSOProto.Transaction.Builder newBuilder()
public TSOProto.Transaction.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TSOProto.Transaction.Builder newBuilder(TSOProto.Transaction prototype)
public TSOProto.Transaction.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TSOProto.Transaction.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2011–2020 Apache Software Foundation. All rights reserved.