public static final class TransferTypes.AzureBlobStorageData extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AZURE_CREDENTIALS_FIELD_NUMBER
public static final int AZURE_CREDENTIALS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CONTAINER_FIELD_NUMBER
public static final int CONTAINER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREDENTIALS_SECRET_FIELD_NUMBER
public static final int CREDENTIALS_SECRET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STORAGE_ACCOUNT_FIELD_NUMBER
public static final int STORAGE_ACCOUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static TransferTypes.AzureBlobStorageData getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TransferTypes.AzureBlobStorageData.Builder newBuilder()
newBuilder(TransferTypes.AzureBlobStorageData prototype)
public static TransferTypes.AzureBlobStorageData.Builder newBuilder(TransferTypes.AzureBlobStorageData prototype)
public static TransferTypes.AzureBlobStorageData parseDelimitedFrom(InputStream input)
public static TransferTypes.AzureBlobStorageData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TransferTypes.AzureBlobStorageData parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.AzureBlobStorageData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TransferTypes.AzureBlobStorageData parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.AzureBlobStorageData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.AzureBlobStorageData parseFrom(CodedInputStream input)
public static TransferTypes.AzureBlobStorageData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.AzureBlobStorageData parseFrom(InputStream input)
public static TransferTypes.AzureBlobStorageData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TransferTypes.AzureBlobStorageData parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.AzureBlobStorageData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TransferTypes.AzureBlobStorageData> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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];
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];
getContainer()
public String getContainer()
Required. The container to transfer from the Azure Storage account.
string container = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
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 |
Type |
Description |
ByteString |
The bytes for container.
|
getCredentialsSecret()
public String getCredentialsSecret()
Optional. The Resource name of a secret in Secret Manager.
The Azure SAS token must be stored in Secret Manager in JSON format:
<pre>{
"sas_token" : "<var>SAS_TOKEN</var>"
}</pre>
GoogleServiceAccount must
be granted roles/secretmanager.secretAccessor
for the resource.
See Configure access to a source: Microsoft Azure Blob Storage
for more information.
If credentials_secret
is specified, do not specify
azure_credentials.
This feature is in
preview.
Format: projects/{project_number}/secrets/{secret_name}
string credentials_secret = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The credentialsSecret.
|
getCredentialsSecretBytes()
public ByteString getCredentialsSecretBytes()
Optional. The Resource name of a secret in Secret Manager.
The Azure SAS token must be stored in Secret Manager in JSON format:
<pre>{
"sas_token" : "<var>SAS_TOKEN</var>"
}</pre>
GoogleServiceAccount must
be granted roles/secretmanager.secretAccessor
for the resource.
See Configure access to a source: Microsoft Azure Blob Storage
for more information.
If credentials_secret
is specified, do not specify
azure_credentials.
This feature is in
preview.
Format: projects/{project_number}/secrets/{secret_name}
string credentials_secret = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for credentialsSecret.
|
getDefaultInstanceForType()
public TransferTypes.AzureBlobStorageData getDefaultInstanceForType()
getParserForType()
public Parser<TransferTypes.AzureBlobStorageData> getParserForType()
Overrides
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 |
Type |
Description |
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 |
Type |
Description |
ByteString |
The bytes for path.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStorageAccount()
public String getStorageAccount()
Required. The name of the Azure Storage account.
string storage_account = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
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 |
Type |
Description |
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 |
Type |
Description |
boolean |
Whether the azureCredentials field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TransferTypes.AzureBlobStorageData.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransferTypes.AzureBlobStorageData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public TransferTypes.AzureBlobStorageData.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides