public static final class Brpb.CloudDynamic.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Brpb.CloudDynamic.Builder> implements Brpb.CloudDynamicOrBuilder
CloudDynamic allows testing new cloud providers and new fields without changing protobuf definitionsProtobuf type
backup.CloudDynamic
Modifier and Type | Method and Description |
---|---|
Brpb.CloudDynamic.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Brpb.CloudDynamic |
build() |
Brpb.CloudDynamic |
buildPartial() |
Brpb.CloudDynamic.Builder |
clear() |
Brpb.CloudDynamic.Builder |
clearAttrs() |
Brpb.CloudDynamic.Builder |
clearBucket()
.backup.Bucket bucket = 1; |
Brpb.CloudDynamic.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Brpb.CloudDynamic.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Brpb.CloudDynamic.Builder |
clearProviderName()
s3, gcs and azureBlobStorage are supported
|
Brpb.CloudDynamic.Builder |
clone() |
boolean |
containsAttrs(String key)
map<string, string> attrs = 3; |
Map<String,String> |
getAttrs()
Deprecated.
|
int |
getAttrsCount()
map<string, string> attrs = 3; |
Map<String,String> |
getAttrsMap()
map<string, string> attrs = 3; |
String |
getAttrsOrDefault(String key,
String defaultValue)
map<string, string> attrs = 3; |
String |
getAttrsOrThrow(String key)
map<string, string> attrs = 3; |
Brpb.Bucket |
getBucket()
.backup.Bucket bucket = 1; |
Brpb.Bucket.Builder |
getBucketBuilder()
.backup.Bucket bucket = 1; |
Brpb.BucketOrBuilder |
getBucketOrBuilder()
.backup.Bucket bucket = 1; |
Brpb.CloudDynamic |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getMutableAttrs()
Deprecated.
|
String |
getProviderName()
s3, gcs and azureBlobStorage are supported
|
com.google.protobuf.ByteString |
getProviderNameBytes()
s3, gcs and azureBlobStorage are supported
|
boolean |
hasBucket()
.backup.Bucket bucket = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Brpb.CloudDynamic.Builder |
mergeBucket(Brpb.Bucket value)
.backup.Bucket bucket = 1; |
Brpb.CloudDynamic.Builder |
mergeFrom(Brpb.CloudDynamic other) |
Brpb.CloudDynamic.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Brpb.CloudDynamic.Builder |
mergeFrom(com.google.protobuf.Message other) |
Brpb.CloudDynamic.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Brpb.CloudDynamic.Builder |
putAllAttrs(Map<String,String> values)
map<string, string> attrs = 3; |
Brpb.CloudDynamic.Builder |
putAttrs(String key,
String value)
map<string, string> attrs = 3; |
Brpb.CloudDynamic.Builder |
removeAttrs(String key)
map<string, string> attrs = 3; |
Brpb.CloudDynamic.Builder |
setBucket(Brpb.Bucket.Builder builderForValue)
.backup.Bucket bucket = 1; |
Brpb.CloudDynamic.Builder |
setBucket(Brpb.Bucket value)
.backup.Bucket bucket = 1; |
Brpb.CloudDynamic.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Brpb.CloudDynamic.Builder |
setProviderName(String value)
s3, gcs and azureBlobStorage are supported
|
Brpb.CloudDynamic.Builder |
setProviderNameBytes(com.google.protobuf.ByteString value)
s3, gcs and azureBlobStorage are supported
|
Brpb.CloudDynamic.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Brpb.CloudDynamic.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, 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.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.CloudDynamic.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.CloudDynamic.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.CloudDynamic.Builder>
public Brpb.CloudDynamic.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.CloudDynamic.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.CloudDynamic.Builder>
public Brpb.CloudDynamic getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Brpb.CloudDynamic build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Brpb.CloudDynamic buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Brpb.CloudDynamic.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.CloudDynamic.Builder>
public Brpb.CloudDynamic.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.CloudDynamic.Builder>
public Brpb.CloudDynamic.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.CloudDynamic.Builder>
public Brpb.CloudDynamic.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.CloudDynamic.Builder>
public Brpb.CloudDynamic.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.CloudDynamic.Builder>
public Brpb.CloudDynamic.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.CloudDynamic.Builder>
public Brpb.CloudDynamic.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Brpb.CloudDynamic.Builder>
public Brpb.CloudDynamic.Builder mergeFrom(Brpb.CloudDynamic other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.CloudDynamic.Builder>
public Brpb.CloudDynamic.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.CloudDynamic.Builder>
IOException
public boolean hasBucket()
.backup.Bucket bucket = 1;
hasBucket
in interface Brpb.CloudDynamicOrBuilder
public Brpb.Bucket getBucket()
.backup.Bucket bucket = 1;
getBucket
in interface Brpb.CloudDynamicOrBuilder
public Brpb.CloudDynamic.Builder setBucket(Brpb.Bucket value)
.backup.Bucket bucket = 1;
public Brpb.CloudDynamic.Builder setBucket(Brpb.Bucket.Builder builderForValue)
.backup.Bucket bucket = 1;
public Brpb.CloudDynamic.Builder mergeBucket(Brpb.Bucket value)
.backup.Bucket bucket = 1;
public Brpb.CloudDynamic.Builder clearBucket()
.backup.Bucket bucket = 1;
public Brpb.Bucket.Builder getBucketBuilder()
.backup.Bucket bucket = 1;
public Brpb.BucketOrBuilder getBucketOrBuilder()
.backup.Bucket bucket = 1;
getBucketOrBuilder
in interface Brpb.CloudDynamicOrBuilder
public String getProviderName()
s3, gcs and azureBlobStorage are supported
string provider_name = 2;
getProviderName
in interface Brpb.CloudDynamicOrBuilder
public com.google.protobuf.ByteString getProviderNameBytes()
s3, gcs and azureBlobStorage are supported
string provider_name = 2;
getProviderNameBytes
in interface Brpb.CloudDynamicOrBuilder
public Brpb.CloudDynamic.Builder setProviderName(String value)
s3, gcs and azureBlobStorage are supported
string provider_name = 2;
value
- The providerName to set.public Brpb.CloudDynamic.Builder clearProviderName()
s3, gcs and azureBlobStorage are supported
string provider_name = 2;
public Brpb.CloudDynamic.Builder setProviderNameBytes(com.google.protobuf.ByteString value)
s3, gcs and azureBlobStorage are supported
string provider_name = 2;
value
- The bytes for providerName to set.public int getAttrsCount()
Brpb.CloudDynamicOrBuilder
map<string, string> attrs = 3;
getAttrsCount
in interface Brpb.CloudDynamicOrBuilder
public boolean containsAttrs(String key)
map<string, string> attrs = 3;
containsAttrs
in interface Brpb.CloudDynamicOrBuilder
@Deprecated public Map<String,String> getAttrs()
getAttrsMap()
instead.getAttrs
in interface Brpb.CloudDynamicOrBuilder
public Map<String,String> getAttrsMap()
map<string, string> attrs = 3;
getAttrsMap
in interface Brpb.CloudDynamicOrBuilder
public String getAttrsOrDefault(String key, String defaultValue)
map<string, string> attrs = 3;
getAttrsOrDefault
in interface Brpb.CloudDynamicOrBuilder
public String getAttrsOrThrow(String key)
map<string, string> attrs = 3;
getAttrsOrThrow
in interface Brpb.CloudDynamicOrBuilder
public Brpb.CloudDynamic.Builder clearAttrs()
public Brpb.CloudDynamic.Builder removeAttrs(String key)
map<string, string> attrs = 3;
@Deprecated public Map<String,String> getMutableAttrs()
public Brpb.CloudDynamic.Builder putAttrs(String key, String value)
map<string, string> attrs = 3;
public Brpb.CloudDynamic.Builder putAllAttrs(Map<String,String> values)
map<string, string> attrs = 3;
public final Brpb.CloudDynamic.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.CloudDynamic.Builder>
public final Brpb.CloudDynamic.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.CloudDynamic.Builder>
Copyright © 2024 PingCAP. All rights reserved.