public static final class Brpb.GCS.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Brpb.GCS.Builder> implements Brpb.GCSOrBuilder
GCS storage backend saves files into google cloud storage.Protobuf type
backup.GCS
Modifier and Type | Method and Description |
---|---|
Brpb.GCS.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Brpb.GCS |
build() |
Brpb.GCS |
buildPartial() |
Brpb.GCS.Builder |
clear() |
Brpb.GCS.Builder |
clearBucket()
string bucket = 2; |
Brpb.GCS.Builder |
clearCredentialsBlob()
Service Account Credentials JSON blob
You can get one from https://console.cloud.google.com/apis/credentials, and
copy the content, set it as string here.
|
Brpb.GCS.Builder |
clearEndpoint()
string endpoint = 1; |
Brpb.GCS.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Brpb.GCS.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Brpb.GCS.Builder |
clearPredefinedAcl()
If not empty, applies a predefined set of access controls.
|
Brpb.GCS.Builder |
clearPrefix()
string prefix = 3; |
Brpb.GCS.Builder |
clearStorageClass()
string storage_class = 4; |
Brpb.GCS.Builder |
clone() |
String |
getBucket()
string bucket = 2; |
com.google.protobuf.ByteString |
getBucketBytes()
string bucket = 2; |
String |
getCredentialsBlob()
Service Account Credentials JSON blob
You can get one from https://console.cloud.google.com/apis/credentials, and
copy the content, set it as string here.
|
com.google.protobuf.ByteString |
getCredentialsBlobBytes()
Service Account Credentials JSON blob
You can get one from https://console.cloud.google.com/apis/credentials, and
copy the content, set it as string here.
|
Brpb.GCS |
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 |
getPredefinedAcl()
If not empty, applies a predefined set of access controls.
|
com.google.protobuf.ByteString |
getPredefinedAclBytes()
If not empty, applies a predefined set of access controls.
|
String |
getPrefix()
string prefix = 3; |
com.google.protobuf.ByteString |
getPrefixBytes()
string prefix = 3; |
String |
getStorageClass()
string storage_class = 4; |
com.google.protobuf.ByteString |
getStorageClassBytes()
string storage_class = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Brpb.GCS.Builder |
mergeFrom(Brpb.GCS other) |
Brpb.GCS.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Brpb.GCS.Builder |
mergeFrom(com.google.protobuf.Message other) |
Brpb.GCS.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Brpb.GCS.Builder |
setBucket(String value)
string bucket = 2; |
Brpb.GCS.Builder |
setBucketBytes(com.google.protobuf.ByteString value)
string bucket = 2; |
Brpb.GCS.Builder |
setCredentialsBlob(String value)
Service Account Credentials JSON blob
You can get one from https://console.cloud.google.com/apis/credentials, and
copy the content, set it as string here.
|
Brpb.GCS.Builder |
setCredentialsBlobBytes(com.google.protobuf.ByteString value)
Service Account Credentials JSON blob
You can get one from https://console.cloud.google.com/apis/credentials, and
copy the content, set it as string here.
|
Brpb.GCS.Builder |
setEndpoint(String value)
string endpoint = 1; |
Brpb.GCS.Builder |
setEndpointBytes(com.google.protobuf.ByteString value)
string endpoint = 1; |
Brpb.GCS.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Brpb.GCS.Builder |
setPredefinedAcl(String value)
If not empty, applies a predefined set of access controls.
|
Brpb.GCS.Builder |
setPredefinedAclBytes(com.google.protobuf.ByteString value)
If not empty, applies a predefined set of access controls.
|
Brpb.GCS.Builder |
setPrefix(String value)
string prefix = 3; |
Brpb.GCS.Builder |
setPrefixBytes(com.google.protobuf.ByteString value)
string prefix = 3; |
Brpb.GCS.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Brpb.GCS.Builder |
setStorageClass(String value)
string storage_class = 4; |
Brpb.GCS.Builder |
setStorageClassBytes(com.google.protobuf.ByteString value)
string storage_class = 4; |
Brpb.GCS.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.GCS.Builder>
public Brpb.GCS.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.GCS.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.GCS.Builder>
public Brpb.GCS getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Brpb.GCS build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Brpb.GCS buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Brpb.GCS.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.GCS.Builder>
public Brpb.GCS.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.GCS.Builder>
public Brpb.GCS.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.GCS.Builder>
public Brpb.GCS.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.GCS.Builder>
public Brpb.GCS.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.GCS.Builder>
public Brpb.GCS.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.GCS.Builder>
public Brpb.GCS.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Brpb.GCS.Builder>
public Brpb.GCS.Builder mergeFrom(Brpb.GCS other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.GCS.Builder>
public Brpb.GCS.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.GCS.Builder>
IOException
public String getEndpoint()
string endpoint = 1;
getEndpoint
in interface Brpb.GCSOrBuilder
public com.google.protobuf.ByteString getEndpointBytes()
string endpoint = 1;
getEndpointBytes
in interface Brpb.GCSOrBuilder
public Brpb.GCS.Builder setEndpoint(String value)
string endpoint = 1;
value
- The endpoint to set.public Brpb.GCS.Builder clearEndpoint()
string endpoint = 1;
public Brpb.GCS.Builder setEndpointBytes(com.google.protobuf.ByteString value)
string endpoint = 1;
value
- The bytes for endpoint to set.public String getBucket()
string bucket = 2;
getBucket
in interface Brpb.GCSOrBuilder
public com.google.protobuf.ByteString getBucketBytes()
string bucket = 2;
getBucketBytes
in interface Brpb.GCSOrBuilder
public Brpb.GCS.Builder setBucket(String value)
string bucket = 2;
value
- The bucket to set.public Brpb.GCS.Builder clearBucket()
string bucket = 2;
public Brpb.GCS.Builder setBucketBytes(com.google.protobuf.ByteString value)
string bucket = 2;
value
- The bytes for bucket to set.public String getPrefix()
string prefix = 3;
getPrefix
in interface Brpb.GCSOrBuilder
public com.google.protobuf.ByteString getPrefixBytes()
string prefix = 3;
getPrefixBytes
in interface Brpb.GCSOrBuilder
public Brpb.GCS.Builder setPrefix(String value)
string prefix = 3;
value
- The prefix to set.public Brpb.GCS.Builder clearPrefix()
string prefix = 3;
public Brpb.GCS.Builder setPrefixBytes(com.google.protobuf.ByteString value)
string prefix = 3;
value
- The bytes for prefix to set.public String getStorageClass()
string storage_class = 4;
getStorageClass
in interface Brpb.GCSOrBuilder
public com.google.protobuf.ByteString getStorageClassBytes()
string storage_class = 4;
getStorageClassBytes
in interface Brpb.GCSOrBuilder
public Brpb.GCS.Builder setStorageClass(String value)
string storage_class = 4;
value
- The storageClass to set.public Brpb.GCS.Builder clearStorageClass()
string storage_class = 4;
public Brpb.GCS.Builder setStorageClassBytes(com.google.protobuf.ByteString value)
string storage_class = 4;
value
- The bytes for storageClass to set.public String getPredefinedAcl()
If not empty, applies a predefined set of access controls. See https://cloud.google.com/storage/docs/access-control/lists#predefined-acl for valid values.
string predefined_acl = 5;
getPredefinedAcl
in interface Brpb.GCSOrBuilder
public com.google.protobuf.ByteString getPredefinedAclBytes()
If not empty, applies a predefined set of access controls. See https://cloud.google.com/storage/docs/access-control/lists#predefined-acl for valid values.
string predefined_acl = 5;
getPredefinedAclBytes
in interface Brpb.GCSOrBuilder
public Brpb.GCS.Builder setPredefinedAcl(String value)
If not empty, applies a predefined set of access controls. See https://cloud.google.com/storage/docs/access-control/lists#predefined-acl for valid values.
string predefined_acl = 5;
value
- The predefinedAcl to set.public Brpb.GCS.Builder clearPredefinedAcl()
If not empty, applies a predefined set of access controls. See https://cloud.google.com/storage/docs/access-control/lists#predefined-acl for valid values.
string predefined_acl = 5;
public Brpb.GCS.Builder setPredefinedAclBytes(com.google.protobuf.ByteString value)
If not empty, applies a predefined set of access controls. See https://cloud.google.com/storage/docs/access-control/lists#predefined-acl for valid values.
string predefined_acl = 5;
value
- The bytes for predefinedAcl to set.public String getCredentialsBlob()
Service Account Credentials JSON blob You can get one from https://console.cloud.google.com/apis/credentials, and copy the content, set it as string here.
string credentials_blob = 6;
getCredentialsBlob
in interface Brpb.GCSOrBuilder
public com.google.protobuf.ByteString getCredentialsBlobBytes()
Service Account Credentials JSON blob You can get one from https://console.cloud.google.com/apis/credentials, and copy the content, set it as string here.
string credentials_blob = 6;
getCredentialsBlobBytes
in interface Brpb.GCSOrBuilder
public Brpb.GCS.Builder setCredentialsBlob(String value)
Service Account Credentials JSON blob You can get one from https://console.cloud.google.com/apis/credentials, and copy the content, set it as string here.
string credentials_blob = 6;
value
- The credentialsBlob to set.public Brpb.GCS.Builder clearCredentialsBlob()
Service Account Credentials JSON blob You can get one from https://console.cloud.google.com/apis/credentials, and copy the content, set it as string here.
string credentials_blob = 6;
public Brpb.GCS.Builder setCredentialsBlobBytes(com.google.protobuf.ByteString value)
Service Account Credentials JSON blob You can get one from https://console.cloud.google.com/apis/credentials, and copy the content, set it as string here.
string credentials_blob = 6;
value
- The bytes for credentialsBlob to set.public final Brpb.GCS.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.GCS.Builder>
public final Brpb.GCS.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.GCS.Builder>
Copyright © 2024 PingCAP. All rights reserved.