public static final class Brpb.S3.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Brpb.S3.Builder> implements Brpb.S3OrBuilder
S3 storage backend saves files into S3 compatible storages For non-aws providers, endpoint must be providedProtobuf type
backup.S3
Modifier and Type | Method and Description |
---|---|
Brpb.S3.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Brpb.S3 |
build() |
Brpb.S3 |
buildPartial() |
Brpb.S3.Builder |
clear() |
Brpb.S3.Builder |
clearAccessKey()
string access_key = 8; |
Brpb.S3.Builder |
clearAcl()
string acl = 7; |
Brpb.S3.Builder |
clearBucket()
string bucket = 3; |
Brpb.S3.Builder |
clearEndpoint()
string endpoint = 1; |
Brpb.S3.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Brpb.S3.Builder |
clearForcePathStyle()
bool force_path_style = 10; |
Brpb.S3.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Brpb.S3.Builder |
clearPrefix()
string prefix = 4; |
Brpb.S3.Builder |
clearRegion()
string region = 2; |
Brpb.S3.Builder |
clearSecretAccessKey()
string secret_access_key = 9; |
Brpb.S3.Builder |
clearSse()
server side encryption
|
Brpb.S3.Builder |
clearSseKmsKeyId()
string sse_kms_key_id = 11; |
Brpb.S3.Builder |
clearStorageClass()
string storage_class = 5; |
Brpb.S3.Builder |
clone() |
String |
getAccessKey()
string access_key = 8; |
com.google.protobuf.ByteString |
getAccessKeyBytes()
string access_key = 8; |
String |
getAcl()
string acl = 7; |
com.google.protobuf.ByteString |
getAclBytes()
string acl = 7; |
String |
getBucket()
string bucket = 3; |
com.google.protobuf.ByteString |
getBucketBytes()
string bucket = 3; |
Brpb.S3 |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEndpoint()
string endpoint = 1; |
com.google.protobuf.ByteString |
getEndpointBytes()
string endpoint = 1; |
boolean |
getForcePathStyle()
bool force_path_style = 10; |
String |
getPrefix()
string prefix = 4; |
com.google.protobuf.ByteString |
getPrefixBytes()
string prefix = 4; |
String |
getRegion()
string region = 2; |
com.google.protobuf.ByteString |
getRegionBytes()
string region = 2; |
String |
getSecretAccessKey()
string secret_access_key = 9; |
com.google.protobuf.ByteString |
getSecretAccessKeyBytes()
string secret_access_key = 9; |
String |
getSse()
server side encryption
|
com.google.protobuf.ByteString |
getSseBytes()
server side encryption
|
String |
getSseKmsKeyId()
string sse_kms_key_id = 11; |
com.google.protobuf.ByteString |
getSseKmsKeyIdBytes()
string sse_kms_key_id = 11; |
String |
getStorageClass()
string storage_class = 5; |
com.google.protobuf.ByteString |
getStorageClassBytes()
string storage_class = 5; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Brpb.S3.Builder |
mergeFrom(Brpb.S3 other) |
Brpb.S3.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Brpb.S3.Builder |
mergeFrom(com.google.protobuf.Message other) |
Brpb.S3.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Brpb.S3.Builder |
setAccessKey(String value)
string access_key = 8; |
Brpb.S3.Builder |
setAccessKeyBytes(com.google.protobuf.ByteString value)
string access_key = 8; |
Brpb.S3.Builder |
setAcl(String value)
string acl = 7; |
Brpb.S3.Builder |
setAclBytes(com.google.protobuf.ByteString value)
string acl = 7; |
Brpb.S3.Builder |
setBucket(String value)
string bucket = 3; |
Brpb.S3.Builder |
setBucketBytes(com.google.protobuf.ByteString value)
string bucket = 3; |
Brpb.S3.Builder |
setEndpoint(String value)
string endpoint = 1; |
Brpb.S3.Builder |
setEndpointBytes(com.google.protobuf.ByteString value)
string endpoint = 1; |
Brpb.S3.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Brpb.S3.Builder |
setForcePathStyle(boolean value)
bool force_path_style = 10; |
Brpb.S3.Builder |
setPrefix(String value)
string prefix = 4; |
Brpb.S3.Builder |
setPrefixBytes(com.google.protobuf.ByteString value)
string prefix = 4; |
Brpb.S3.Builder |
setRegion(String value)
string region = 2; |
Brpb.S3.Builder |
setRegionBytes(com.google.protobuf.ByteString value)
string region = 2; |
Brpb.S3.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Brpb.S3.Builder |
setSecretAccessKey(String value)
string secret_access_key = 9; |
Brpb.S3.Builder |
setSecretAccessKeyBytes(com.google.protobuf.ByteString value)
string secret_access_key = 9; |
Brpb.S3.Builder |
setSse(String value)
server side encryption
|
Brpb.S3.Builder |
setSseBytes(com.google.protobuf.ByteString value)
server side encryption
|
Brpb.S3.Builder |
setSseKmsKeyId(String value)
string sse_kms_key_id = 11; |
Brpb.S3.Builder |
setSseKmsKeyIdBytes(com.google.protobuf.ByteString value)
string sse_kms_key_id = 11; |
Brpb.S3.Builder |
setStorageClass(String value)
string storage_class = 5; |
Brpb.S3.Builder |
setStorageClassBytes(com.google.protobuf.ByteString value)
string storage_class = 5; |
Brpb.S3.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.S3.Builder>
public Brpb.S3.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.S3.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.S3.Builder>
public Brpb.S3 getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Brpb.S3 build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Brpb.S3 buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Brpb.S3.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.S3.Builder>
public Brpb.S3.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.S3.Builder>
public Brpb.S3.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.S3.Builder>
public Brpb.S3.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.S3.Builder>
public Brpb.S3.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.S3.Builder>
public Brpb.S3.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.S3.Builder>
public Brpb.S3.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Brpb.S3.Builder>
public Brpb.S3.Builder mergeFrom(Brpb.S3 other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.S3.Builder>
public Brpb.S3.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.S3.Builder>
IOException
public String getEndpoint()
string endpoint = 1;
getEndpoint
in interface Brpb.S3OrBuilder
public com.google.protobuf.ByteString getEndpointBytes()
string endpoint = 1;
getEndpointBytes
in interface Brpb.S3OrBuilder
public Brpb.S3.Builder setEndpoint(String value)
string endpoint = 1;
value
- The endpoint to set.public Brpb.S3.Builder clearEndpoint()
string endpoint = 1;
public Brpb.S3.Builder setEndpointBytes(com.google.protobuf.ByteString value)
string endpoint = 1;
value
- The bytes for endpoint to set.public String getRegion()
string region = 2;
getRegion
in interface Brpb.S3OrBuilder
public com.google.protobuf.ByteString getRegionBytes()
string region = 2;
getRegionBytes
in interface Brpb.S3OrBuilder
public Brpb.S3.Builder setRegion(String value)
string region = 2;
value
- The region to set.public Brpb.S3.Builder clearRegion()
string region = 2;
public Brpb.S3.Builder setRegionBytes(com.google.protobuf.ByteString value)
string region = 2;
value
- The bytes for region to set.public String getBucket()
string bucket = 3;
getBucket
in interface Brpb.S3OrBuilder
public com.google.protobuf.ByteString getBucketBytes()
string bucket = 3;
getBucketBytes
in interface Brpb.S3OrBuilder
public Brpb.S3.Builder setBucket(String value)
string bucket = 3;
value
- The bucket to set.public Brpb.S3.Builder clearBucket()
string bucket = 3;
public Brpb.S3.Builder setBucketBytes(com.google.protobuf.ByteString value)
string bucket = 3;
value
- The bytes for bucket to set.public String getPrefix()
string prefix = 4;
getPrefix
in interface Brpb.S3OrBuilder
public com.google.protobuf.ByteString getPrefixBytes()
string prefix = 4;
getPrefixBytes
in interface Brpb.S3OrBuilder
public Brpb.S3.Builder setPrefix(String value)
string prefix = 4;
value
- The prefix to set.public Brpb.S3.Builder clearPrefix()
string prefix = 4;
public Brpb.S3.Builder setPrefixBytes(com.google.protobuf.ByteString value)
string prefix = 4;
value
- The bytes for prefix to set.public String getStorageClass()
string storage_class = 5;
getStorageClass
in interface Brpb.S3OrBuilder
public com.google.protobuf.ByteString getStorageClassBytes()
string storage_class = 5;
getStorageClassBytes
in interface Brpb.S3OrBuilder
public Brpb.S3.Builder setStorageClass(String value)
string storage_class = 5;
value
- The storageClass to set.public Brpb.S3.Builder clearStorageClass()
string storage_class = 5;
public Brpb.S3.Builder setStorageClassBytes(com.google.protobuf.ByteString value)
string storage_class = 5;
value
- The bytes for storageClass to set.public String getSse()
server side encryption
string sse = 6;
getSse
in interface Brpb.S3OrBuilder
public com.google.protobuf.ByteString getSseBytes()
server side encryption
string sse = 6;
getSseBytes
in interface Brpb.S3OrBuilder
public Brpb.S3.Builder setSse(String value)
server side encryption
string sse = 6;
value
- The sse to set.public Brpb.S3.Builder clearSse()
server side encryption
string sse = 6;
public Brpb.S3.Builder setSseBytes(com.google.protobuf.ByteString value)
server side encryption
string sse = 6;
value
- The bytes for sse to set.public String getAcl()
string acl = 7;
getAcl
in interface Brpb.S3OrBuilder
public com.google.protobuf.ByteString getAclBytes()
string acl = 7;
getAclBytes
in interface Brpb.S3OrBuilder
public Brpb.S3.Builder setAcl(String value)
string acl = 7;
value
- The acl to set.public Brpb.S3.Builder clearAcl()
string acl = 7;
public Brpb.S3.Builder setAclBytes(com.google.protobuf.ByteString value)
string acl = 7;
value
- The bytes for acl to set.public String getAccessKey()
string access_key = 8;
getAccessKey
in interface Brpb.S3OrBuilder
public com.google.protobuf.ByteString getAccessKeyBytes()
string access_key = 8;
getAccessKeyBytes
in interface Brpb.S3OrBuilder
public Brpb.S3.Builder setAccessKey(String value)
string access_key = 8;
value
- The accessKey to set.public Brpb.S3.Builder clearAccessKey()
string access_key = 8;
public Brpb.S3.Builder setAccessKeyBytes(com.google.protobuf.ByteString value)
string access_key = 8;
value
- The bytes for accessKey to set.public String getSecretAccessKey()
string secret_access_key = 9;
getSecretAccessKey
in interface Brpb.S3OrBuilder
public com.google.protobuf.ByteString getSecretAccessKeyBytes()
string secret_access_key = 9;
getSecretAccessKeyBytes
in interface Brpb.S3OrBuilder
public Brpb.S3.Builder setSecretAccessKey(String value)
string secret_access_key = 9;
value
- The secretAccessKey to set.public Brpb.S3.Builder clearSecretAccessKey()
string secret_access_key = 9;
public Brpb.S3.Builder setSecretAccessKeyBytes(com.google.protobuf.ByteString value)
string secret_access_key = 9;
value
- The bytes for secretAccessKey to set.public boolean getForcePathStyle()
bool force_path_style = 10;
getForcePathStyle
in interface Brpb.S3OrBuilder
public Brpb.S3.Builder setForcePathStyle(boolean value)
bool force_path_style = 10;
value
- The forcePathStyle to set.public Brpb.S3.Builder clearForcePathStyle()
bool force_path_style = 10;
public String getSseKmsKeyId()
string sse_kms_key_id = 11;
getSseKmsKeyId
in interface Brpb.S3OrBuilder
public com.google.protobuf.ByteString getSseKmsKeyIdBytes()
string sse_kms_key_id = 11;
getSseKmsKeyIdBytes
in interface Brpb.S3OrBuilder
public Brpb.S3.Builder setSseKmsKeyId(String value)
string sse_kms_key_id = 11;
value
- The sseKmsKeyId to set.public Brpb.S3.Builder clearSseKmsKeyId()
string sse_kms_key_id = 11;
public Brpb.S3.Builder setSseKmsKeyIdBytes(com.google.protobuf.ByteString value)
string sse_kms_key_id = 11;
value
- The bytes for sseKmsKeyId to set.public final Brpb.S3.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.S3.Builder>
public final Brpb.S3.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.S3.Builder>
Copyright © 2024 PingCAP. All rights reserved.