public static final class Replication.Status.Builder extends com.google.protobuf.GeneratedMessage.Builder<Replication.Status.Builder> implements Replication.StatusOrBuilder
Status
Modifier and Type | Method and Description |
---|---|
Replication.Status |
build() |
Replication.Status |
buildPartial() |
Replication.Status.Builder |
clear() |
Replication.Status.Builder |
clearBegin()
optional int64 begin = 1 [default = 0]; |
Replication.Status.Builder |
clearClosed()
optional bool closed = 4 [default = false]; |
Replication.Status.Builder |
clearCreatedTime()
optional int64 createdTime = 5 [default = 0]; |
Replication.Status.Builder |
clearEnd()
optional int64 end = 2 [default = 0]; |
Replication.Status.Builder |
clearInfiniteEnd()
optional bool infiniteEnd = 3 [default = false]; |
Replication.Status.Builder |
clone() |
long |
getBegin()
optional int64 begin = 1 [default = 0]; |
boolean |
getClosed()
optional bool closed = 4 [default = false]; |
long |
getCreatedTime()
optional int64 createdTime = 5 [default = 0]; |
Replication.Status |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getEnd()
optional int64 end = 2 [default = 0]; |
boolean |
getInfiniteEnd()
optional bool infiniteEnd = 3 [default = false]; |
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() |
Replication.Status.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Replication.Status.Builder |
mergeFrom(com.google.protobuf.Message other) |
Replication.Status.Builder |
mergeFrom(Replication.Status other) |
Replication.Status.Builder |
setBegin(long value)
optional int64 begin = 1 [default = 0]; |
Replication.Status.Builder |
setClosed(boolean value)
optional bool closed = 4 [default = false]; |
Replication.Status.Builder |
setCreatedTime(long value)
optional int64 createdTime = 5 [default = 0]; |
Replication.Status.Builder |
setEnd(long value)
optional int64 end = 2 [default = 0]; |
Replication.Status.Builder |
setInfiniteEnd(boolean value)
optional bool infiniteEnd = 3 [default = false]; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Replication.Status.Builder>
public Replication.Status.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Replication.Status.Builder>
public Replication.Status.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<Replication.Status.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Replication.Status.Builder>
public Replication.Status getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Replication.Status build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Replication.Status buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Replication.Status.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Replication.Status.Builder>
public Replication.Status.Builder mergeFrom(Replication.Status other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Replication.Status.Builder>
public Replication.Status.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Replication.Status.Builder>
IOException
public boolean hasBegin()
optional int64 begin = 1 [default = 0];
offset where replication should start
hasBegin
in interface Replication.StatusOrBuilder
public long getBegin()
optional int64 begin = 1 [default = 0];
offset where replication should start
getBegin
in interface Replication.StatusOrBuilder
public Replication.Status.Builder setBegin(long value)
optional int64 begin = 1 [default = 0];
offset where replication should start
public Replication.Status.Builder clearBegin()
optional int64 begin = 1 [default = 0];
offset where replication should start
public boolean hasEnd()
optional int64 end = 2 [default = 0];
offset where data is ready for replication
hasEnd
in interface Replication.StatusOrBuilder
public long getEnd()
optional int64 end = 2 [default = 0];
offset where data is ready for replication
getEnd
in interface Replication.StatusOrBuilder
public Replication.Status.Builder setEnd(long value)
optional int64 end = 2 [default = 0];
offset where data is ready for replication
public Replication.Status.Builder clearEnd()
optional int64 end = 2 [default = 0];
offset where data is ready for replication
public boolean hasInfiniteEnd()
optional bool infiniteEnd = 3 [default = false];
do we have a discrete 'end'
hasInfiniteEnd
in interface Replication.StatusOrBuilder
public boolean getInfiniteEnd()
optional bool infiniteEnd = 3 [default = false];
do we have a discrete 'end'
getInfiniteEnd
in interface Replication.StatusOrBuilder
public Replication.Status.Builder setInfiniteEnd(boolean value)
optional bool infiniteEnd = 3 [default = false];
do we have a discrete 'end'
public Replication.Status.Builder clearInfiniteEnd()
optional bool infiniteEnd = 3 [default = false];
do we have a discrete 'end'
public boolean hasClosed()
optional bool closed = 4 [default = false];
will more data be appended to the file
hasClosed
in interface Replication.StatusOrBuilder
public boolean getClosed()
optional bool closed = 4 [default = false];
will more data be appended to the file
getClosed
in interface Replication.StatusOrBuilder
public Replication.Status.Builder setClosed(boolean value)
optional bool closed = 4 [default = false];
will more data be appended to the file
public Replication.Status.Builder clearClosed()
optional bool closed = 4 [default = false];
will more data be appended to the file
public boolean hasCreatedTime()
optional int64 createdTime = 5 [default = 0];
when, in ms, was the file created?
hasCreatedTime
in interface Replication.StatusOrBuilder
public long getCreatedTime()
optional int64 createdTime = 5 [default = 0];
when, in ms, was the file created?
getCreatedTime
in interface Replication.StatusOrBuilder
public Replication.Status.Builder setCreatedTime(long value)
optional int64 createdTime = 5 [default = 0];
when, in ms, was the file created?
public Replication.Status.Builder clearCreatedTime()
optional int64 createdTime = 5 [default = 0];
when, in ms, was the file created?
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.