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, parseUnknownField
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.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<JournalProtocolProtos.JournalRequestProto> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasJournalInfo()
required .hadoop.hdfs.JournalInfoProto journalInfo = 1;
hasJournalInfo
in interface JournalProtocolProtos.JournalRequestProtoOrBuilder
public JournalProtocolProtos.JournalInfoProto getJournalInfo()
required .hadoop.hdfs.JournalInfoProto journalInfo = 1;
getJournalInfo
in interface JournalProtocolProtos.JournalRequestProtoOrBuilder
public JournalProtocolProtos.JournalInfoProtoOrBuilder getJournalInfoOrBuilder()
required .hadoop.hdfs.JournalInfoProto journalInfo = 1;
getJournalInfoOrBuilder
in interface JournalProtocolProtos.JournalRequestProtoOrBuilder
public boolean hasFirstTxnId()
required uint64 firstTxnId = 2;
hasFirstTxnId
in interface JournalProtocolProtos.JournalRequestProtoOrBuilder
public long getFirstTxnId()
required uint64 firstTxnId = 2;
getFirstTxnId
in interface JournalProtocolProtos.JournalRequestProtoOrBuilder
public boolean hasNumTxns()
required uint32 numTxns = 3;
hasNumTxns
in interface JournalProtocolProtos.JournalRequestProtoOrBuilder
public int getNumTxns()
required uint32 numTxns = 3;
getNumTxns
in interface JournalProtocolProtos.JournalRequestProtoOrBuilder
public boolean hasRecords()
required bytes records = 4;
hasRecords
in interface JournalProtocolProtos.JournalRequestProtoOrBuilder
public com.google.protobuf.ByteString getRecords()
required bytes records = 4;
getRecords
in interface JournalProtocolProtos.JournalRequestProtoOrBuilder
public boolean hasEpoch()
required uint64 epoch = 5;
hasEpoch
in interface JournalProtocolProtos.JournalRequestProtoOrBuilder
public long getEpoch()
required uint64 epoch = 5;
getEpoch
in interface JournalProtocolProtos.JournalRequestProtoOrBuilder
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 boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static JournalProtocolProtos.JournalRequestProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static JournalProtocolProtos.JournalRequestProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static JournalProtocolProtos.JournalRequestProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static JournalProtocolProtos.JournalRequestProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static JournalProtocolProtos.JournalRequestProto parseFrom(InputStream input) throws IOException
IOException
public static JournalProtocolProtos.JournalRequestProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static JournalProtocolProtos.JournalRequestProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static JournalProtocolProtos.JournalRequestProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static JournalProtocolProtos.JournalRequestProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static JournalProtocolProtos.JournalRequestProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static JournalProtocolProtos.JournalRequestProto.Builder newBuilder()
public JournalProtocolProtos.JournalRequestProto.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static JournalProtocolProtos.JournalRequestProto.Builder newBuilder(JournalProtocolProtos.JournalRequestProto prototype)
public JournalProtocolProtos.JournalRequestProto.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected JournalProtocolProtos.JournalRequestProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013 Apache Software Foundation. All rights reserved.