public static final class Brpb.AzureBlobStorage.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Brpb.AzureBlobStorage.Builder> implements Brpb.AzureBlobStorageOrBuilder
AzureBlobStorage storage backend saves files into azure blob storage.Protobuf type
backup.AzureBlobStorage| Modifier and Type | Method and Description |
|---|---|
Brpb.AzureBlobStorage.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Brpb.AzureBlobStorage |
build() |
Brpb.AzureBlobStorage |
buildPartial() |
Brpb.AzureBlobStorage.Builder |
clear() |
Brpb.AzureBlobStorage.Builder |
clearAccountName()
if empty, try to read account_name from the node's environment variable $AZURE_STORAGE_ACCOUNT.
|
Brpb.AzureBlobStorage.Builder |
clearBucket()
Alias: container
|
Brpb.AzureBlobStorage.Builder |
clearEndpoint()
string endpoint = 1; |
Brpb.AzureBlobStorage.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Brpb.AzureBlobStorage.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Brpb.AzureBlobStorage.Builder |
clearPrefix()
Notice: prefix starts without `/`, otherwise the first directory's name is empty.
|
Brpb.AzureBlobStorage.Builder |
clearSharedKey()
Use shared key to access the azure blob
If the node's environment variables($AZURE_CLIENT_ID, $AZURE_TENANT_ID, $AZURE_CLIENT_SECRET) exist,
prefer to use token to access the azure blob.
|
Brpb.AzureBlobStorage.Builder |
clearStorageClass()
Alias: access_tier.
|
Brpb.AzureBlobStorage.Builder |
clone() |
String |
getAccountName()
if empty, try to read account_name from the node's environment variable $AZURE_STORAGE_ACCOUNT.
|
com.google.protobuf.ByteString |
getAccountNameBytes()
if empty, try to read account_name from the node's environment variable $AZURE_STORAGE_ACCOUNT.
|
String |
getBucket()
Alias: container
|
com.google.protobuf.ByteString |
getBucketBytes()
Alias: container
|
Brpb.AzureBlobStorage |
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; |
String |
getPrefix()
Notice: prefix starts without `/`, otherwise the first directory's name is empty.
|
com.google.protobuf.ByteString |
getPrefixBytes()
Notice: prefix starts without `/`, otherwise the first directory's name is empty.
|
String |
getSharedKey()
Use shared key to access the azure blob
If the node's environment variables($AZURE_CLIENT_ID, $AZURE_TENANT_ID, $AZURE_CLIENT_SECRET) exist,
prefer to use token to access the azure blob.
|
com.google.protobuf.ByteString |
getSharedKeyBytes()
Use shared key to access the azure blob
If the node's environment variables($AZURE_CLIENT_ID, $AZURE_TENANT_ID, $AZURE_CLIENT_SECRET) exist,
prefer to use token to access the azure blob.
|
String |
getStorageClass()
Alias: access_tier.
|
com.google.protobuf.ByteString |
getStorageClassBytes()
Alias: access_tier.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Brpb.AzureBlobStorage.Builder |
mergeFrom(Brpb.AzureBlobStorage other) |
Brpb.AzureBlobStorage.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Brpb.AzureBlobStorage.Builder |
mergeFrom(com.google.protobuf.Message other) |
Brpb.AzureBlobStorage.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Brpb.AzureBlobStorage.Builder |
setAccountName(String value)
if empty, try to read account_name from the node's environment variable $AZURE_STORAGE_ACCOUNT.
|
Brpb.AzureBlobStorage.Builder |
setAccountNameBytes(com.google.protobuf.ByteString value)
if empty, try to read account_name from the node's environment variable $AZURE_STORAGE_ACCOUNT.
|
Brpb.AzureBlobStorage.Builder |
setBucket(String value)
Alias: container
|
Brpb.AzureBlobStorage.Builder |
setBucketBytes(com.google.protobuf.ByteString value)
Alias: container
|
Brpb.AzureBlobStorage.Builder |
setEndpoint(String value)
string endpoint = 1; |
Brpb.AzureBlobStorage.Builder |
setEndpointBytes(com.google.protobuf.ByteString value)
string endpoint = 1; |
Brpb.AzureBlobStorage.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Brpb.AzureBlobStorage.Builder |
setPrefix(String value)
Notice: prefix starts without `/`, otherwise the first directory's name is empty.
|
Brpb.AzureBlobStorage.Builder |
setPrefixBytes(com.google.protobuf.ByteString value)
Notice: prefix starts without `/`, otherwise the first directory's name is empty.
|
Brpb.AzureBlobStorage.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Brpb.AzureBlobStorage.Builder |
setSharedKey(String value)
Use shared key to access the azure blob
If the node's environment variables($AZURE_CLIENT_ID, $AZURE_TENANT_ID, $AZURE_CLIENT_SECRET) exist,
prefer to use token to access the azure blob.
|
Brpb.AzureBlobStorage.Builder |
setSharedKeyBytes(com.google.protobuf.ByteString value)
Use shared key to access the azure blob
If the node's environment variables($AZURE_CLIENT_ID, $AZURE_TENANT_ID, $AZURE_CLIENT_SECRET) exist,
prefer to use token to access the azure blob.
|
Brpb.AzureBlobStorage.Builder |
setStorageClass(String value)
Alias: access_tier.
|
Brpb.AzureBlobStorage.Builder |
setStorageClassBytes(com.google.protobuf.ByteString value)
Alias: access_tier.
|
Brpb.AzureBlobStorage.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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.AzureBlobStorage.Builder>public Brpb.AzureBlobStorage.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.AzureBlobStorage.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.AzureBlobStorage.Builder>public Brpb.AzureBlobStorage getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Brpb.AzureBlobStorage build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Brpb.AzureBlobStorage buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Brpb.AzureBlobStorage.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.AzureBlobStorage.Builder>public Brpb.AzureBlobStorage.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.AzureBlobStorage.Builder>public Brpb.AzureBlobStorage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.AzureBlobStorage.Builder>public Brpb.AzureBlobStorage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.AzureBlobStorage.Builder>public Brpb.AzureBlobStorage.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.AzureBlobStorage.Builder>public Brpb.AzureBlobStorage.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.AzureBlobStorage.Builder>public Brpb.AzureBlobStorage.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Brpb.AzureBlobStorage.Builder>public Brpb.AzureBlobStorage.Builder mergeFrom(Brpb.AzureBlobStorage other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.AzureBlobStorage.Builder>public Brpb.AzureBlobStorage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Brpb.AzureBlobStorage.Builder>IOExceptionpublic String getEndpoint()
string endpoint = 1;getEndpoint in interface Brpb.AzureBlobStorageOrBuilderpublic com.google.protobuf.ByteString getEndpointBytes()
string endpoint = 1;getEndpointBytes in interface Brpb.AzureBlobStorageOrBuilderpublic Brpb.AzureBlobStorage.Builder setEndpoint(String value)
string endpoint = 1;value - The endpoint to set.public Brpb.AzureBlobStorage.Builder clearEndpoint()
string endpoint = 1;public Brpb.AzureBlobStorage.Builder setEndpointBytes(com.google.protobuf.ByteString value)
string endpoint = 1;value - The bytes for endpoint to set.public String getBucket()
Alias: container
string bucket = 2;getBucket in interface Brpb.AzureBlobStorageOrBuilderpublic com.google.protobuf.ByteString getBucketBytes()
Alias: container
string bucket = 2;getBucketBytes in interface Brpb.AzureBlobStorageOrBuilderpublic Brpb.AzureBlobStorage.Builder setBucket(String value)
Alias: container
string bucket = 2;value - The bucket to set.public Brpb.AzureBlobStorage.Builder clearBucket()
Alias: container
string bucket = 2;public Brpb.AzureBlobStorage.Builder setBucketBytes(com.google.protobuf.ByteString value)
Alias: container
string bucket = 2;value - The bytes for bucket to set.public String getPrefix()
Notice: prefix starts without `/`, otherwise the first directory's name is empty.
string prefix = 3;getPrefix in interface Brpb.AzureBlobStorageOrBuilderpublic com.google.protobuf.ByteString getPrefixBytes()
Notice: prefix starts without `/`, otherwise the first directory's name is empty.
string prefix = 3;getPrefixBytes in interface Brpb.AzureBlobStorageOrBuilderpublic Brpb.AzureBlobStorage.Builder setPrefix(String value)
Notice: prefix starts without `/`, otherwise the first directory's name is empty.
string prefix = 3;value - The prefix to set.public Brpb.AzureBlobStorage.Builder clearPrefix()
Notice: prefix starts without `/`, otherwise the first directory's name is empty.
string prefix = 3;public Brpb.AzureBlobStorage.Builder setPrefixBytes(com.google.protobuf.ByteString value)
Notice: prefix starts without `/`, otherwise the first directory's name is empty.
string prefix = 3;value - The bytes for prefix to set.public String getStorageClass()
Alias: access_tier. See https://docs.microsoft.com/en-us/azure/storage/blobs/access-tiers-overview
string storage_class = 4;getStorageClass in interface Brpb.AzureBlobStorageOrBuilderpublic com.google.protobuf.ByteString getStorageClassBytes()
Alias: access_tier. See https://docs.microsoft.com/en-us/azure/storage/blobs/access-tiers-overview
string storage_class = 4;getStorageClassBytes in interface Brpb.AzureBlobStorageOrBuilderpublic Brpb.AzureBlobStorage.Builder setStorageClass(String value)
Alias: access_tier. See https://docs.microsoft.com/en-us/azure/storage/blobs/access-tiers-overview
string storage_class = 4;value - The storageClass to set.public Brpb.AzureBlobStorage.Builder clearStorageClass()
Alias: access_tier. See https://docs.microsoft.com/en-us/azure/storage/blobs/access-tiers-overview
string storage_class = 4;public Brpb.AzureBlobStorage.Builder setStorageClassBytes(com.google.protobuf.ByteString value)
Alias: access_tier. See https://docs.microsoft.com/en-us/azure/storage/blobs/access-tiers-overview
string storage_class = 4;value - The bytes for storageClass to set.public String getAccountName()
if empty, try to read account_name from the node's environment variable $AZURE_STORAGE_ACCOUNT.
string account_name = 5;getAccountName in interface Brpb.AzureBlobStorageOrBuilderpublic com.google.protobuf.ByteString getAccountNameBytes()
if empty, try to read account_name from the node's environment variable $AZURE_STORAGE_ACCOUNT.
string account_name = 5;getAccountNameBytes in interface Brpb.AzureBlobStorageOrBuilderpublic Brpb.AzureBlobStorage.Builder setAccountName(String value)
if empty, try to read account_name from the node's environment variable $AZURE_STORAGE_ACCOUNT.
string account_name = 5;value - The accountName to set.public Brpb.AzureBlobStorage.Builder clearAccountName()
if empty, try to read account_name from the node's environment variable $AZURE_STORAGE_ACCOUNT.
string account_name = 5;public Brpb.AzureBlobStorage.Builder setAccountNameBytes(com.google.protobuf.ByteString value)
if empty, try to read account_name from the node's environment variable $AZURE_STORAGE_ACCOUNT.
string account_name = 5;value - The bytes for accountName to set.public String getSharedKey()
Use shared key to access the azure blob If the node's environment variables($AZURE_CLIENT_ID, $AZURE_TENANT_ID, $AZURE_CLIENT_SECRET) exist, prefer to use token to access the azure blob. See https://docs.microsoft.com/en-us/azure/storage/common/identity-library-acquire-token?toc=/azure/storage/blobs/toc.json Otherwise, if empty, try to read shared key from the node's environment variable $AZURE_STORAGE_KEY.
string shared_key = 6;getSharedKey in interface Brpb.AzureBlobStorageOrBuilderpublic com.google.protobuf.ByteString getSharedKeyBytes()
Use shared key to access the azure blob If the node's environment variables($AZURE_CLIENT_ID, $AZURE_TENANT_ID, $AZURE_CLIENT_SECRET) exist, prefer to use token to access the azure blob. See https://docs.microsoft.com/en-us/azure/storage/common/identity-library-acquire-token?toc=/azure/storage/blobs/toc.json Otherwise, if empty, try to read shared key from the node's environment variable $AZURE_STORAGE_KEY.
string shared_key = 6;getSharedKeyBytes in interface Brpb.AzureBlobStorageOrBuilderpublic Brpb.AzureBlobStorage.Builder setSharedKey(String value)
Use shared key to access the azure blob If the node's environment variables($AZURE_CLIENT_ID, $AZURE_TENANT_ID, $AZURE_CLIENT_SECRET) exist, prefer to use token to access the azure blob. See https://docs.microsoft.com/en-us/azure/storage/common/identity-library-acquire-token?toc=/azure/storage/blobs/toc.json Otherwise, if empty, try to read shared key from the node's environment variable $AZURE_STORAGE_KEY.
string shared_key = 6;value - The sharedKey to set.public Brpb.AzureBlobStorage.Builder clearSharedKey()
Use shared key to access the azure blob If the node's environment variables($AZURE_CLIENT_ID, $AZURE_TENANT_ID, $AZURE_CLIENT_SECRET) exist, prefer to use token to access the azure blob. See https://docs.microsoft.com/en-us/azure/storage/common/identity-library-acquire-token?toc=/azure/storage/blobs/toc.json Otherwise, if empty, try to read shared key from the node's environment variable $AZURE_STORAGE_KEY.
string shared_key = 6;public Brpb.AzureBlobStorage.Builder setSharedKeyBytes(com.google.protobuf.ByteString value)
Use shared key to access the azure blob If the node's environment variables($AZURE_CLIENT_ID, $AZURE_TENANT_ID, $AZURE_CLIENT_SECRET) exist, prefer to use token to access the azure blob. See https://docs.microsoft.com/en-us/azure/storage/common/identity-library-acquire-token?toc=/azure/storage/blobs/toc.json Otherwise, if empty, try to read shared key from the node's environment variable $AZURE_STORAGE_KEY.
string shared_key = 6;value - The bytes for sharedKey to set.public final Brpb.AzureBlobStorage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.AzureBlobStorage.Builder>public final Brpb.AzureBlobStorage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.AzureBlobStorage.Builder>Copyright © 2025 PingCAP. All rights reserved.