public static final class JournalProtocolProtos.JournalRequestProto extends com.google.protobuf.GeneratedMessage implements JournalProtocolProtos.JournalRequestProtoOrBuilder
hadoop.hdfs.JournalRequestProto
journalInfo - the information about the journal firstTxnId - the first txid in the journal records numTxns - Number of transactions in editlog records - bytes containing serialized journal records epoch - change to this represents change of journal writer
| Modifier and Type | Class and Description |
|---|---|
static class |
JournalProtocolProtos.JournalRequestProto.Builder
Protobuf type
hadoop.hdfs.JournalRequestProto |
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 int |
FIRSTTXNID_FIELD_NUMBER |
static int |
JOURNALINFO_FIELD_NUMBER |
static int |
NUMTXNS_FIELD_NUMBER |
static com.google.protobuf.Parser<JournalProtocolProtos.JournalRequestProto> |
PARSER |
static int |
RECORDS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static JournalProtocolProtos.JournalRequestProto |
getDefaultInstance() |
JournalProtocolProtos.JournalRequestProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getEpoch()
required uint64 epoch = 5; |
long |
getFirstTxnId()
required uint64 firstTxnId = 2; |
JournalProtocolProtos.JournalInfoProto |
getJournalInfo()
required .hadoop.hdfs.JournalInfoProto journalInfo = 1; |
JournalProtocolProtos.JournalInfoProtoOrBuilder |
getJournalInfoOrBuilder()
required .hadoop.hdfs.JournalInfoProto journalInfo = 1; |
int |
getNumTxns()
required uint32 numTxns = 3; |
com.google.protobuf.Parser<JournalProtocolProtos.JournalRequestProto> |
getParserForType() |
com.google.protobuf.ByteString |
getRecords()
required bytes records = 4; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEpoch()
required uint64 epoch = 5; |
boolean |
hasFirstTxnId()
required uint64 firstTxnId = 2; |
int |
hashCode() |
boolean |
hasJournalInfo()
required .hadoop.hdfs.JournalInfoProto journalInfo = 1; |
boolean |
hasNumTxns()
required uint32 numTxns = 3; |
boolean |
hasRecords()
required bytes records = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static JournalProtocolProtos.JournalRequestProto.Builder |
newBuilder() |
static JournalProtocolProtos.JournalRequestProto.Builder |
newBuilder(JournalProtocolProtos.JournalRequestProto prototype) |
JournalProtocolProtos.JournalRequestProto.Builder |
newBuilderForType() |
protected JournalProtocolProtos.JournalRequestProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static JournalProtocolProtos.JournalRequestProto |
parseDelimitedFrom(InputStream input) |
static JournalProtocolProtos.JournalRequestProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JournalProtocolProtos.JournalRequestProto |
parseFrom(byte[] data) |
static JournalProtocolProtos.JournalRequestProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JournalProtocolProtos.JournalRequestProto |
parseFrom(com.google.protobuf.ByteString data) |
static JournalProtocolProtos.JournalRequestProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JournalProtocolProtos.JournalRequestProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static JournalProtocolProtos.JournalRequestProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JournalProtocolProtos.JournalRequestProto |
parseFrom(InputStream input) |
static JournalProtocolProtos.JournalRequestProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
JournalProtocolProtos.JournalRequestProto.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<JournalProtocolProtos.JournalRequestProto> PARSER
public static final int JOURNALINFO_FIELD_NUMBER
public static final int FIRSTTXNID_FIELD_NUMBER
public static final int NUMTXNS_FIELD_NUMBER
public static final int RECORDS_FIELD_NUMBER
public static final int EPOCH_FIELD_NUMBER
public static JournalProtocolProtos.JournalRequestProto getDefaultInstance()
public JournalProtocolProtos.JournalRequestProto 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<JournalProtocolProtos.JournalRequestProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasJournalInfo()
required .hadoop.hdfs.JournalInfoProto journalInfo = 1;hasJournalInfo in interface JournalProtocolProtos.JournalRequestProtoOrBuilderpublic JournalProtocolProtos.JournalInfoProto getJournalInfo()
required .hadoop.hdfs.JournalInfoProto journalInfo = 1;getJournalInfo in interface JournalProtocolProtos.JournalRequestProtoOrBuilderpublic JournalProtocolProtos.JournalInfoProtoOrBuilder getJournalInfoOrBuilder()
required .hadoop.hdfs.JournalInfoProto journalInfo = 1;getJournalInfoOrBuilder in interface JournalProtocolProtos.JournalRequestProtoOrBuilderpublic boolean hasFirstTxnId()
required uint64 firstTxnId = 2;hasFirstTxnId in interface JournalProtocolProtos.JournalRequestProtoOrBuilderpublic long getFirstTxnId()
required uint64 firstTxnId = 2;getFirstTxnId in interface JournalProtocolProtos.JournalRequestProtoOrBuilderpublic boolean hasNumTxns()
required uint32 numTxns = 3;hasNumTxns in interface JournalProtocolProtos.JournalRequestProtoOrBuilderpublic int getNumTxns()
required uint32 numTxns = 3;getNumTxns in interface JournalProtocolProtos.JournalRequestProtoOrBuilderpublic boolean hasRecords()
required bytes records = 4;hasRecords in interface JournalProtocolProtos.JournalRequestProtoOrBuilderpublic com.google.protobuf.ByteString getRecords()
required bytes records = 4;getRecords in interface JournalProtocolProtos.JournalRequestProtoOrBuilderpublic boolean hasEpoch()
required uint64 epoch = 5;hasEpoch in interface JournalProtocolProtos.JournalRequestProtoOrBuilderpublic long getEpoch()
required uint64 epoch = 5;getEpoch in interface JournalProtocolProtos.JournalRequestProtoOrBuilderpublic 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 boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static JournalProtocolProtos.JournalRequestProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JournalProtocolProtos.JournalRequestProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JournalProtocolProtos.JournalRequestProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JournalProtocolProtos.JournalRequestProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JournalProtocolProtos.JournalRequestProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static JournalProtocolProtos.JournalRequestProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static JournalProtocolProtos.JournalRequestProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static JournalProtocolProtos.JournalRequestProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static JournalProtocolProtos.JournalRequestProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static JournalProtocolProtos.JournalRequestProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static JournalProtocolProtos.JournalRequestProto.Builder newBuilder()
public JournalProtocolProtos.JournalRequestProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static JournalProtocolProtos.JournalRequestProto.Builder newBuilder(JournalProtocolProtos.JournalRequestProto prototype)
public JournalProtocolProtos.JournalRequestProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected JournalProtocolProtos.JournalRequestProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2013 Apache Software Foundation. All rights reserved.