public static final class Brpb.BackupResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupResponse.Builder> implements Brpb.BackupResponseOrBuilder
backup.BackupResponse
Modifier and Type | Method and Description |
---|---|
Brpb.BackupResponse.Builder |
addAllFiles(Iterable<? extends Brpb.File> values)
repeated .backup.File files = 4; |
Brpb.BackupResponse.Builder |
addFiles(Brpb.File.Builder builderForValue)
repeated .backup.File files = 4; |
Brpb.BackupResponse.Builder |
addFiles(Brpb.File value)
repeated .backup.File files = 4; |
Brpb.BackupResponse.Builder |
addFiles(int index,
Brpb.File.Builder builderForValue)
repeated .backup.File files = 4; |
Brpb.BackupResponse.Builder |
addFiles(int index,
Brpb.File value)
repeated .backup.File files = 4; |
Brpb.File.Builder |
addFilesBuilder()
repeated .backup.File files = 4; |
Brpb.File.Builder |
addFilesBuilder(int index)
repeated .backup.File files = 4; |
Brpb.BackupResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Brpb.BackupResponse |
build() |
Brpb.BackupResponse |
buildPartial() |
Brpb.BackupResponse.Builder |
clear() |
Brpb.BackupResponse.Builder |
clearApiVersion()
API version implies the encode of the key and value.
|
Brpb.BackupResponse.Builder |
clearEndKey()
bytes end_key = 3; |
Brpb.BackupResponse.Builder |
clearError()
.backup.Error error = 1; |
Brpb.BackupResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Brpb.BackupResponse.Builder |
clearFiles()
repeated .backup.File files = 4; |
Brpb.BackupResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Brpb.BackupResponse.Builder |
clearStartKey()
bytes start_key = 2; |
Brpb.BackupResponse.Builder |
clone() |
Kvrpcpb.APIVersion |
getApiVersion()
API version implies the encode of the key and value.
|
int |
getApiVersionValue()
API version implies the encode of the key and value.
|
Brpb.BackupResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getEndKey()
bytes end_key = 3; |
Brpb.Error |
getError()
.backup.Error error = 1; |
Brpb.Error.Builder |
getErrorBuilder()
.backup.Error error = 1; |
Brpb.ErrorOrBuilder |
getErrorOrBuilder()
.backup.Error error = 1; |
Brpb.File |
getFiles(int index)
repeated .backup.File files = 4; |
Brpb.File.Builder |
getFilesBuilder(int index)
repeated .backup.File files = 4; |
List<Brpb.File.Builder> |
getFilesBuilderList()
repeated .backup.File files = 4; |
int |
getFilesCount()
repeated .backup.File files = 4; |
List<Brpb.File> |
getFilesList()
repeated .backup.File files = 4; |
Brpb.FileOrBuilder |
getFilesOrBuilder(int index)
repeated .backup.File files = 4; |
List<? extends Brpb.FileOrBuilder> |
getFilesOrBuilderList()
repeated .backup.File files = 4; |
com.google.protobuf.ByteString |
getStartKey()
bytes start_key = 2; |
boolean |
hasError()
.backup.Error error = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Brpb.BackupResponse.Builder |
mergeError(Brpb.Error value)
.backup.Error error = 1; |
Brpb.BackupResponse.Builder |
mergeFrom(Brpb.BackupResponse other) |
Brpb.BackupResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Brpb.BackupResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
Brpb.BackupResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Brpb.BackupResponse.Builder |
removeFiles(int index)
repeated .backup.File files = 4; |
Brpb.BackupResponse.Builder |
setApiVersion(Kvrpcpb.APIVersion value)
API version implies the encode of the key and value.
|
Brpb.BackupResponse.Builder |
setApiVersionValue(int value)
API version implies the encode of the key and value.
|
Brpb.BackupResponse.Builder |
setEndKey(com.google.protobuf.ByteString value)
bytes end_key = 3; |
Brpb.BackupResponse.Builder |
setError(Brpb.Error.Builder builderForValue)
.backup.Error error = 1; |
Brpb.BackupResponse.Builder |
setError(Brpb.Error value)
.backup.Error error = 1; |
Brpb.BackupResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Brpb.BackupResponse.Builder |
setFiles(int index,
Brpb.File.Builder builderForValue)
repeated .backup.File files = 4; |
Brpb.BackupResponse.Builder |
setFiles(int index,
Brpb.File value)
repeated .backup.File files = 4; |
Brpb.BackupResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Brpb.BackupResponse.Builder |
setStartKey(com.google.protobuf.ByteString value)
bytes start_key = 2; |
Brpb.BackupResponse.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<Brpb.BackupResponse.Builder>
public Brpb.BackupResponse.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<Brpb.BackupResponse.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<Brpb.BackupResponse.Builder>
public Brpb.BackupResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Brpb.BackupResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Brpb.BackupResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Brpb.BackupResponse.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<Brpb.BackupResponse.Builder>
public Brpb.BackupResponse.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<Brpb.BackupResponse.Builder>
public Brpb.BackupResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupResponse.Builder>
public Brpb.BackupResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupResponse.Builder>
public Brpb.BackupResponse.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<Brpb.BackupResponse.Builder>
public Brpb.BackupResponse.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<Brpb.BackupResponse.Builder>
public Brpb.BackupResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Brpb.BackupResponse.Builder>
public Brpb.BackupResponse.Builder mergeFrom(Brpb.BackupResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupResponse.Builder>
public Brpb.BackupResponse.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<Brpb.BackupResponse.Builder>
IOException
public boolean hasError()
.backup.Error error = 1;
hasError
in interface Brpb.BackupResponseOrBuilder
public Brpb.Error getError()
.backup.Error error = 1;
getError
in interface Brpb.BackupResponseOrBuilder
public Brpb.BackupResponse.Builder setError(Brpb.Error value)
.backup.Error error = 1;
public Brpb.BackupResponse.Builder setError(Brpb.Error.Builder builderForValue)
.backup.Error error = 1;
public Brpb.BackupResponse.Builder mergeError(Brpb.Error value)
.backup.Error error = 1;
public Brpb.BackupResponse.Builder clearError()
.backup.Error error = 1;
public Brpb.Error.Builder getErrorBuilder()
.backup.Error error = 1;
public Brpb.ErrorOrBuilder getErrorOrBuilder()
.backup.Error error = 1;
getErrorOrBuilder
in interface Brpb.BackupResponseOrBuilder
public com.google.protobuf.ByteString getStartKey()
bytes start_key = 2;
getStartKey
in interface Brpb.BackupResponseOrBuilder
public Brpb.BackupResponse.Builder setStartKey(com.google.protobuf.ByteString value)
bytes start_key = 2;
value
- The startKey to set.public Brpb.BackupResponse.Builder clearStartKey()
bytes start_key = 2;
public com.google.protobuf.ByteString getEndKey()
bytes end_key = 3;
getEndKey
in interface Brpb.BackupResponseOrBuilder
public Brpb.BackupResponse.Builder setEndKey(com.google.protobuf.ByteString value)
bytes end_key = 3;
value
- The endKey to set.public Brpb.BackupResponse.Builder clearEndKey()
bytes end_key = 3;
public List<Brpb.File> getFilesList()
repeated .backup.File files = 4;
getFilesList
in interface Brpb.BackupResponseOrBuilder
public int getFilesCount()
repeated .backup.File files = 4;
getFilesCount
in interface Brpb.BackupResponseOrBuilder
public Brpb.File getFiles(int index)
repeated .backup.File files = 4;
getFiles
in interface Brpb.BackupResponseOrBuilder
public Brpb.BackupResponse.Builder setFiles(int index, Brpb.File value)
repeated .backup.File files = 4;
public Brpb.BackupResponse.Builder setFiles(int index, Brpb.File.Builder builderForValue)
repeated .backup.File files = 4;
public Brpb.BackupResponse.Builder addFiles(Brpb.File value)
repeated .backup.File files = 4;
public Brpb.BackupResponse.Builder addFiles(int index, Brpb.File value)
repeated .backup.File files = 4;
public Brpb.BackupResponse.Builder addFiles(Brpb.File.Builder builderForValue)
repeated .backup.File files = 4;
public Brpb.BackupResponse.Builder addFiles(int index, Brpb.File.Builder builderForValue)
repeated .backup.File files = 4;
public Brpb.BackupResponse.Builder addAllFiles(Iterable<? extends Brpb.File> values)
repeated .backup.File files = 4;
public Brpb.BackupResponse.Builder clearFiles()
repeated .backup.File files = 4;
public Brpb.BackupResponse.Builder removeFiles(int index)
repeated .backup.File files = 4;
public Brpb.File.Builder getFilesBuilder(int index)
repeated .backup.File files = 4;
public Brpb.FileOrBuilder getFilesOrBuilder(int index)
repeated .backup.File files = 4;
getFilesOrBuilder
in interface Brpb.BackupResponseOrBuilder
public List<? extends Brpb.FileOrBuilder> getFilesOrBuilderList()
repeated .backup.File files = 4;
getFilesOrBuilderList
in interface Brpb.BackupResponseOrBuilder
public Brpb.File.Builder addFilesBuilder()
repeated .backup.File files = 4;
public Brpb.File.Builder addFilesBuilder(int index)
repeated .backup.File files = 4;
public List<Brpb.File.Builder> getFilesBuilderList()
repeated .backup.File files = 4;
public int getApiVersionValue()
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 5;
getApiVersionValue
in interface Brpb.BackupResponseOrBuilder
public Brpb.BackupResponse.Builder setApiVersionValue(int value)
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 5;
value
- The enum numeric value on the wire for apiVersion to set.public Kvrpcpb.APIVersion getApiVersion()
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 5;
getApiVersion
in interface Brpb.BackupResponseOrBuilder
public Brpb.BackupResponse.Builder setApiVersion(Kvrpcpb.APIVersion value)
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 5;
value
- The apiVersion to set.public Brpb.BackupResponse.Builder clearApiVersion()
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 5;
public final Brpb.BackupResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupResponse.Builder>
public final Brpb.BackupResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupResponse.Builder>
Copyright © 2024 PingCAP. All rights reserved.