Class TransferTypes.AzureBlobStorageData.Builder (1.19.0)

public static final class TransferTypes.AzureBlobStorageData.Builder extends GeneratedMessageV3.Builder<TransferTypes.AzureBlobStorageData.Builder> implements TransferTypes.AzureBlobStorageDataOrBuilder

An AzureBlobStorageData resource can be a data source, but not a data sink. An AzureBlobStorageData resource represents one Azure container. The storage account determines the Azure endpoint. In an AzureBlobStorageData resource, a blobs's name is the Azure Blob Storage blob's key name.

Protobuf type google.storagetransfer.v1.AzureBlobStorageData

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransferTypes.AzureBlobStorageData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder
Overrides

build()

public TransferTypes.AzureBlobStorageData build()
Returns
TypeDescription
TransferTypes.AzureBlobStorageData

buildPartial()

public TransferTypes.AzureBlobStorageData buildPartial()
Returns
TypeDescription
TransferTypes.AzureBlobStorageData

clear()

public TransferTypes.AzureBlobStorageData.Builder clear()
Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder
Overrides

clearAzureCredentials()

public TransferTypes.AzureBlobStorageData.Builder clearAzureCredentials()

Required. Input only. Credentials used to authenticate API requests to Azure. For information on our data retention policy for user credentials, see User credentials.

.google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder

clearContainer()

public TransferTypes.AzureBlobStorageData.Builder clearContainer()

Required. The container to transfer from the Azure Storage account.

string container = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TransferTypes.AzureBlobStorageData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TransferTypes.AzureBlobStorageData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder
Overrides

clearPath()

public TransferTypes.AzureBlobStorageData.Builder clearPath()

Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.

string path = 5;

Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder

This builder for chaining.

clearStorageAccount()

public TransferTypes.AzureBlobStorageData.Builder clearStorageAccount()

Required. The name of the Azure Storage account.

string storage_account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder

This builder for chaining.

clone()

public TransferTypes.AzureBlobStorageData.Builder clone()
Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder
Overrides

getAzureCredentials()

public TransferTypes.AzureCredentials getAzureCredentials()

Required. Input only. Credentials used to authenticate API requests to Azure. For information on our data retention policy for user credentials, see User credentials.

.google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
TransferTypes.AzureCredentials

The azureCredentials.

getAzureCredentialsBuilder()

public TransferTypes.AzureCredentials.Builder getAzureCredentialsBuilder()

Required. Input only. Credentials used to authenticate API requests to Azure. For information on our data retention policy for user credentials, see User credentials.

.google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
TransferTypes.AzureCredentials.Builder

getAzureCredentialsOrBuilder()

public TransferTypes.AzureCredentialsOrBuilder getAzureCredentialsOrBuilder()

Required. Input only. Credentials used to authenticate API requests to Azure. For information on our data retention policy for user credentials, see User credentials.

.google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
TransferTypes.AzureCredentialsOrBuilder

getContainer()

public String getContainer()

Required. The container to transfer from the Azure Storage account.

string container = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The container.

getContainerBytes()

public ByteString getContainerBytes()

Required. The container to transfer from the Azure Storage account.

string container = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for container.

getDefaultInstanceForType()

public TransferTypes.AzureBlobStorageData getDefaultInstanceForType()
Returns
TypeDescription
TransferTypes.AzureBlobStorageData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPath()

public String getPath()

Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.

string path = 5;

Returns
TypeDescription
String

The path.

getPathBytes()

public ByteString getPathBytes()

Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.

string path = 5;

Returns
TypeDescription
ByteString

The bytes for path.

getStorageAccount()

public String getStorageAccount()

Required. The name of the Azure Storage account.

string storage_account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The storageAccount.

getStorageAccountBytes()

public ByteString getStorageAccountBytes()

Required. The name of the Azure Storage account.

string storage_account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for storageAccount.

hasAzureCredentials()

public boolean hasAzureCredentials()

Required. Input only. Credentials used to authenticate API requests to Azure. For information on our data retention policy for user credentials, see User credentials.

.google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
boolean

Whether the azureCredentials field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAzureCredentials(TransferTypes.AzureCredentials value)

public TransferTypes.AzureBlobStorageData.Builder mergeAzureCredentials(TransferTypes.AzureCredentials value)

Required. Input only. Credentials used to authenticate API requests to Azure. For information on our data retention policy for user credentials, see User credentials.

.google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];

Parameter
NameDescription
valueTransferTypes.AzureCredentials
Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransferTypes.AzureBlobStorageData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TransferTypes.AzureBlobStorageData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder
Overrides

mergeFrom(TransferTypes.AzureBlobStorageData other)

public TransferTypes.AzureBlobStorageData.Builder mergeFrom(TransferTypes.AzureBlobStorageData other)
Parameter
NameDescription
otherTransferTypes.AzureBlobStorageData
Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransferTypes.AzureBlobStorageData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder
Overrides

setAzureCredentials(TransferTypes.AzureCredentials value)

public TransferTypes.AzureBlobStorageData.Builder setAzureCredentials(TransferTypes.AzureCredentials value)

Required. Input only. Credentials used to authenticate API requests to Azure. For information on our data retention policy for user credentials, see User credentials.

.google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];

Parameter
NameDescription
valueTransferTypes.AzureCredentials
Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder

setAzureCredentials(TransferTypes.AzureCredentials.Builder builderForValue)

public TransferTypes.AzureBlobStorageData.Builder setAzureCredentials(TransferTypes.AzureCredentials.Builder builderForValue)

Required. Input only. Credentials used to authenticate API requests to Azure. For information on our data retention policy for user credentials, see User credentials.

.google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];

Parameter
NameDescription
builderForValueTransferTypes.AzureCredentials.Builder
Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder

setContainer(String value)

public TransferTypes.AzureBlobStorageData.Builder setContainer(String value)

Required. The container to transfer from the Azure Storage account.

string container = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The container to set.

Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder

This builder for chaining.

setContainerBytes(ByteString value)

public TransferTypes.AzureBlobStorageData.Builder setContainerBytes(ByteString value)

Required. The container to transfer from the Azure Storage account.

string container = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for container to set.

Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TransferTypes.AzureBlobStorageData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder
Overrides

setPath(String value)

public TransferTypes.AzureBlobStorageData.Builder setPath(String value)

Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.

string path = 5;

Parameter
NameDescription
valueString

The path to set.

Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder

This builder for chaining.

setPathBytes(ByteString value)

public TransferTypes.AzureBlobStorageData.Builder setPathBytes(ByteString value)

Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.

string path = 5;

Parameter
NameDescription
valueByteString

The bytes for path to set.

Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TransferTypes.AzureBlobStorageData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder
Overrides

setStorageAccount(String value)

public TransferTypes.AzureBlobStorageData.Builder setStorageAccount(String value)

Required. The name of the Azure Storage account.

string storage_account = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The storageAccount to set.

Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder

This builder for chaining.

setStorageAccountBytes(ByteString value)

public TransferTypes.AzureBlobStorageData.Builder setStorageAccountBytes(ByteString value)

Required. The name of the Azure Storage account.

string storage_account = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for storageAccount to set.

Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TransferTypes.AzureBlobStorageData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder
Overrides