Class Replication.Status
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- org.apache.accumulo.server.replication.proto.Replication.Status
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,Replication.StatusOrBuilder
- Enclosing class:
- Replication
public static final class Replication.Status extends com.google.protobuf.GeneratedMessage implements Replication.StatusOrBuilder
Protobuf typeStatus
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Replication.Status.Builder
Protobuf typeStatus
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
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 extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static int
BEGIN_FIELD_NUMBER
static int
CLOSED_FIELD_NUMBER
static int
CREATEDTIME_FIELD_NUMBER
static int
END_FIELD_NUMBER
static int
INFINITEEND_FIELD_NUMBER
static com.google.protobuf.Parser<Replication.Status>
PARSER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBegin()
optional int64 begin = 1 [default = 0];
boolean
getClosed()
optional bool closed = 4 [default = false];
long
getCreatedTime()
optional int64 createdTime = 5 [default = 0];
static Replication.Status
getDefaultInstance()
Replication.Status
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
long
getEnd()
optional int64 end = 2 [default = 0];
boolean
getInfiniteEnd()
optional bool infiniteEnd = 3 [default = false];
com.google.protobuf.Parser<Replication.Status>
getParserForType()
int
getSerializedSize()
com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasBegin()
optional int64 begin = 1 [default = 0];
boolean
hasClosed()
optional bool closed = 4 [default = false];
boolean
hasCreatedTime()
optional int64 createdTime = 5 [default = 0];
boolean
hasEnd()
optional int64 end = 2 [default = 0];
boolean
hasInfiniteEnd()
optional bool infiniteEnd = 3 [default = false];
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Replication.Status.Builder
newBuilder()
static Replication.Status.Builder
newBuilder(Replication.Status prototype)
Replication.Status.Builder
newBuilderForType()
protected Replication.Status.Builder
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static Replication.Status
parseDelimitedFrom(InputStream input)
static Replication.Status
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Replication.Status
parseFrom(byte[] data)
static Replication.Status
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Replication.Status
parseFrom(com.google.protobuf.ByteString data)
static Replication.Status
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Replication.Status
parseFrom(com.google.protobuf.CodedInputStream input)
static Replication.Status
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Replication.Status
parseFrom(InputStream input)
static Replication.Status
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Replication.Status.Builder
toBuilder()
protected Object
writeReplace()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
-
Methods inherited from class com.google.protobuf.AbstractMessage
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PARSER
public static com.google.protobuf.Parser<Replication.Status> PARSER
-
BEGIN_FIELD_NUMBER
public static final int BEGIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_FIELD_NUMBER
public static final int END_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INFINITEEND_FIELD_NUMBER
public static final int INFINITEEND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLOSED_FIELD_NUMBER
public static final int CLOSED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATEDTIME_FIELD_NUMBER
public static final int CREATEDTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultInstance
public static Replication.Status getDefaultInstance()
-
getDefaultInstanceForType
public Replication.Status getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessage
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
getParserForType
public com.google.protobuf.Parser<Replication.Status> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
hasBegin
public boolean hasBegin()
optional int64 begin = 1 [default = 0];
offset where replication should start
- Specified by:
hasBegin
in interfaceReplication.StatusOrBuilder
-
getBegin
public long getBegin()
optional int64 begin = 1 [default = 0];
offset where replication should start
- Specified by:
getBegin
in interfaceReplication.StatusOrBuilder
-
hasEnd
public boolean hasEnd()
optional int64 end = 2 [default = 0];
offset where data is ready for replication
- Specified by:
hasEnd
in interfaceReplication.StatusOrBuilder
-
getEnd
public long getEnd()
optional int64 end = 2 [default = 0];
offset where data is ready for replication
- Specified by:
getEnd
in interfaceReplication.StatusOrBuilder
-
hasInfiniteEnd
public boolean hasInfiniteEnd()
optional bool infiniteEnd = 3 [default = false];
do we have a discrete 'end'
- Specified by:
hasInfiniteEnd
in interfaceReplication.StatusOrBuilder
-
getInfiniteEnd
public boolean getInfiniteEnd()
optional bool infiniteEnd = 3 [default = false];
do we have a discrete 'end'
- Specified by:
getInfiniteEnd
in interfaceReplication.StatusOrBuilder
-
hasClosed
public boolean hasClosed()
optional bool closed = 4 [default = false];
will more data be appended to the file
- Specified by:
hasClosed
in interfaceReplication.StatusOrBuilder
-
getClosed
public boolean getClosed()
optional bool closed = 4 [default = false];
will more data be appended to the file
- Specified by:
getClosed
in interfaceReplication.StatusOrBuilder
-
hasCreatedTime
public boolean hasCreatedTime()
optional int64 createdTime = 5 [default = 0];
when, in ms, was the file created?
- Specified by:
hasCreatedTime
in interfaceReplication.StatusOrBuilder
-
getCreatedTime
public long getCreatedTime()
optional int64 createdTime = 5 [default = 0];
when, in ms, was the file created?
- Specified by:
getCreatedTime
in interfaceReplication.StatusOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.AbstractMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.AbstractMessage
-
writeReplace
protected Object writeReplace() throws ObjectStreamException
- Overrides:
writeReplace
in classcom.google.protobuf.GeneratedMessage
- Throws:
ObjectStreamException
-
parseFrom
public static Replication.Status parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Replication.Status parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Replication.Status parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Replication.Status parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Replication.Status parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Replication.Status parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Replication.Status parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Replication.Status parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Replication.Status parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Replication.Status parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilder
public static Replication.Status.Builder newBuilder()
-
newBuilderForType
public Replication.Status.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Replication.Status.Builder newBuilder(Replication.Status prototype)
-
toBuilder
public Replication.Status.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Replication.Status.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessage
-
-