public static final class Enginepb.CommandRequestHeader.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Enginepb.CommandRequestHeader.Builder> implements Enginepb.CommandRequestHeaderOrBuilder
enginepb.CommandRequestHeader
Modifier and Type | Method and Description |
---|---|
Enginepb.CommandRequestHeader.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Enginepb.CommandRequestHeader |
build() |
Enginepb.CommandRequestHeader |
buildPartial() |
Enginepb.CommandRequestHeader.Builder |
clear() |
Enginepb.CommandRequestHeader.Builder |
clearContext()
Additional information for the request.
|
Enginepb.CommandRequestHeader.Builder |
clearDestroy()
Destroy the region.
|
Enginepb.CommandRequestHeader.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Enginepb.CommandRequestHeader.Builder |
clearIndex()
uint64 index = 2; |
Enginepb.CommandRequestHeader.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Enginepb.CommandRequestHeader.Builder |
clearRegionId()
uint64 region_id = 1; |
Enginepb.CommandRequestHeader.Builder |
clearSyncLog()
Flush in-memory data to disk.
|
Enginepb.CommandRequestHeader.Builder |
clearTerm()
uint64 term = 3; |
Enginepb.CommandRequestHeader.Builder |
clone() |
com.google.protobuf.ByteString |
getContext()
Additional information for the request.
|
Enginepb.CommandRequestHeader |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getDestroy()
Destroy the region.
|
long |
getIndex()
uint64 index = 2; |
long |
getRegionId()
uint64 region_id = 1; |
boolean |
getSyncLog()
Flush in-memory data to disk.
|
long |
getTerm()
uint64 term = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Enginepb.CommandRequestHeader.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Enginepb.CommandRequestHeader.Builder |
mergeFrom(Enginepb.CommandRequestHeader other) |
Enginepb.CommandRequestHeader.Builder |
mergeFrom(com.google.protobuf.Message other) |
Enginepb.CommandRequestHeader.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Enginepb.CommandRequestHeader.Builder |
setContext(com.google.protobuf.ByteString value)
Additional information for the request.
|
Enginepb.CommandRequestHeader.Builder |
setDestroy(boolean value)
Destroy the region.
|
Enginepb.CommandRequestHeader.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Enginepb.CommandRequestHeader.Builder |
setIndex(long value)
uint64 index = 2; |
Enginepb.CommandRequestHeader.Builder |
setRegionId(long value)
uint64 region_id = 1; |
Enginepb.CommandRequestHeader.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Enginepb.CommandRequestHeader.Builder |
setSyncLog(boolean value)
Flush in-memory data to disk.
|
Enginepb.CommandRequestHeader.Builder |
setTerm(long value)
uint64 term = 3; |
Enginepb.CommandRequestHeader.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<Enginepb.CommandRequestHeader.Builder>
public Enginepb.CommandRequestHeader.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<Enginepb.CommandRequestHeader.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<Enginepb.CommandRequestHeader.Builder>
public Enginepb.CommandRequestHeader getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Enginepb.CommandRequestHeader build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Enginepb.CommandRequestHeader buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Enginepb.CommandRequestHeader.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<Enginepb.CommandRequestHeader.Builder>
public Enginepb.CommandRequestHeader.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<Enginepb.CommandRequestHeader.Builder>
public Enginepb.CommandRequestHeader.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Enginepb.CommandRequestHeader.Builder>
public Enginepb.CommandRequestHeader.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Enginepb.CommandRequestHeader.Builder>
public Enginepb.CommandRequestHeader.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<Enginepb.CommandRequestHeader.Builder>
public Enginepb.CommandRequestHeader.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<Enginepb.CommandRequestHeader.Builder>
public Enginepb.CommandRequestHeader.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Enginepb.CommandRequestHeader.Builder>
public Enginepb.CommandRequestHeader.Builder mergeFrom(Enginepb.CommandRequestHeader other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Enginepb.CommandRequestHeader.Builder>
public Enginepb.CommandRequestHeader.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<Enginepb.CommandRequestHeader.Builder>
IOException
public long getRegionId()
uint64 region_id = 1;
getRegionId
in interface Enginepb.CommandRequestHeaderOrBuilder
public Enginepb.CommandRequestHeader.Builder setRegionId(long value)
uint64 region_id = 1;
value
- The regionId to set.public Enginepb.CommandRequestHeader.Builder clearRegionId()
uint64 region_id = 1;
public long getIndex()
uint64 index = 2;
getIndex
in interface Enginepb.CommandRequestHeaderOrBuilder
public Enginepb.CommandRequestHeader.Builder setIndex(long value)
uint64 index = 2;
value
- The index to set.public Enginepb.CommandRequestHeader.Builder clearIndex()
uint64 index = 2;
public long getTerm()
uint64 term = 3;
getTerm
in interface Enginepb.CommandRequestHeaderOrBuilder
public Enginepb.CommandRequestHeader.Builder setTerm(long value)
uint64 term = 3;
value
- The term to set.public Enginepb.CommandRequestHeader.Builder clearTerm()
uint64 term = 3;
public boolean getSyncLog()
Flush in-memory data to disk.
bool sync_log = 4;
getSyncLog
in interface Enginepb.CommandRequestHeaderOrBuilder
public Enginepb.CommandRequestHeader.Builder setSyncLog(boolean value)
Flush in-memory data to disk.
bool sync_log = 4;
value
- The syncLog to set.public Enginepb.CommandRequestHeader.Builder clearSyncLog()
Flush in-memory data to disk.
bool sync_log = 4;
public boolean getDestroy()
Destroy the region.
bool destroy = 5;
getDestroy
in interface Enginepb.CommandRequestHeaderOrBuilder
public Enginepb.CommandRequestHeader.Builder setDestroy(boolean value)
Destroy the region.
bool destroy = 5;
value
- The destroy to set.public Enginepb.CommandRequestHeader.Builder clearDestroy()
Destroy the region.
bool destroy = 5;
public com.google.protobuf.ByteString getContext()
Additional information for the request.
bytes context = 6;
getContext
in interface Enginepb.CommandRequestHeaderOrBuilder
public Enginepb.CommandRequestHeader.Builder setContext(com.google.protobuf.ByteString value)
Additional information for the request.
bytes context = 6;
value
- The context to set.public Enginepb.CommandRequestHeader.Builder clearContext()
Additional information for the request.
bytes context = 6;
public final Enginepb.CommandRequestHeader.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Enginepb.CommandRequestHeader.Builder>
public final Enginepb.CommandRequestHeader.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Enginepb.CommandRequestHeader.Builder>
Copyright © 2024 PingCAP. All rights reserved.