public static final class PumpOuterClass.Pos.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PumpOuterClass.Pos.Builder> implements PumpOuterClass.PosOrBuilder
Binlogs are stored in a number of sequential files in a directory. The Pos describes the position of a binlog.Protobuf type
binlog.Pos
Modifier and Type | Method and Description |
---|---|
PumpOuterClass.Pos.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PumpOuterClass.Pos |
build() |
PumpOuterClass.Pos |
buildPartial() |
PumpOuterClass.Pos.Builder |
clear() |
PumpOuterClass.Pos.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PumpOuterClass.Pos.Builder |
clearOffset()
The binlog offset in a file.
|
PumpOuterClass.Pos.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PumpOuterClass.Pos.Builder |
clearSuffix()
The suffix of binlog file, like .000001 .000002
|
PumpOuterClass.Pos.Builder |
clone() |
PumpOuterClass.Pos |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getOffset()
The binlog offset in a file.
|
long |
getSuffix()
The suffix of binlog file, like .000001 .000002
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PumpOuterClass.Pos.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PumpOuterClass.Pos.Builder |
mergeFrom(com.google.protobuf.Message other) |
PumpOuterClass.Pos.Builder |
mergeFrom(PumpOuterClass.Pos other) |
PumpOuterClass.Pos.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PumpOuterClass.Pos.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PumpOuterClass.Pos.Builder |
setOffset(long value)
The binlog offset in a file.
|
PumpOuterClass.Pos.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PumpOuterClass.Pos.Builder |
setSuffix(long value)
The suffix of binlog file, like .000001 .000002
|
PumpOuterClass.Pos.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<PumpOuterClass.Pos.Builder>
public PumpOuterClass.Pos.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<PumpOuterClass.Pos.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.GeneratedMessageV3.Builder<PumpOuterClass.Pos.Builder>
public PumpOuterClass.Pos getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public PumpOuterClass.Pos build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public PumpOuterClass.Pos buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public PumpOuterClass.Pos.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<PumpOuterClass.Pos.Builder>
public PumpOuterClass.Pos.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<PumpOuterClass.Pos.Builder>
public PumpOuterClass.Pos.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<PumpOuterClass.Pos.Builder>
public PumpOuterClass.Pos.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<PumpOuterClass.Pos.Builder>
public PumpOuterClass.Pos.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<PumpOuterClass.Pos.Builder>
public PumpOuterClass.Pos.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<PumpOuterClass.Pos.Builder>
public PumpOuterClass.Pos.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PumpOuterClass.Pos.Builder>
public PumpOuterClass.Pos.Builder mergeFrom(PumpOuterClass.Pos other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<PumpOuterClass.Pos.Builder>
public PumpOuterClass.Pos.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<PumpOuterClass.Pos.Builder>
IOException
public long getSuffix()
The suffix of binlog file, like .000001 .000002
uint64 suffix = 1;
getSuffix
in interface PumpOuterClass.PosOrBuilder
public PumpOuterClass.Pos.Builder setSuffix(long value)
The suffix of binlog file, like .000001 .000002
uint64 suffix = 1;
value
- The suffix to set.public PumpOuterClass.Pos.Builder clearSuffix()
The suffix of binlog file, like .000001 .000002
uint64 suffix = 1;
public long getOffset()
The binlog offset in a file.
int64 offset = 2;
getOffset
in interface PumpOuterClass.PosOrBuilder
public PumpOuterClass.Pos.Builder setOffset(long value)
The binlog offset in a file.
int64 offset = 2;
value
- The offset to set.public PumpOuterClass.Pos.Builder clearOffset()
The binlog offset in a file.
int64 offset = 2;
public final PumpOuterClass.Pos.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PumpOuterClass.Pos.Builder>
public final PumpOuterClass.Pos.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PumpOuterClass.Pos.Builder>
Copyright © 2024 PingCAP. All rights reserved.