public static final class TransferTypes.AzureBlobStorageData extends GeneratedMessage 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.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,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 |
|
FEDERATED_IDENTITY_CONFIG_FIELD_NUMBER
public static final int FEDERATED_IDENTITY_CONFIG_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:
{
"sas_token" : "SAS_TOKEN"
}
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.
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:
{
"sas_token" : "SAS_TOKEN"
}
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.
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()
getFederatedIdentityConfig()
public TransferTypes.AzureBlobStorageData.FederatedIdentityConfig getFederatedIdentityConfig()
Optional. Federated identity config of a user registered Azure application.
If federated_identity_config is specified, do not specify
azure_credentials
or
credentials_secret.
.google.storagetransfer.v1.AzureBlobStorageData.FederatedIdentityConfig federated_identity_config = 8 [(.google.api.field_behavior) = OPTIONAL];
getFederatedIdentityConfigOrBuilder()
public TransferTypes.AzureBlobStorageData.FederatedIdentityConfigOrBuilder getFederatedIdentityConfigOrBuilder()
Optional. Federated identity config of a user registered Azure application.
If federated_identity_config is specified, do not specify
azure_credentials
or
credentials_secret.
.google.storagetransfer.v1.AzureBlobStorageData.FederatedIdentityConfig federated_identity_config = 8 [(.google.api.field_behavior) = OPTIONAL];
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.
|
hasFederatedIdentityConfig()
public boolean hasFederatedIdentityConfig()
Optional. Federated identity config of a user registered Azure application.
If federated_identity_config is specified, do not specify
azure_credentials
or
credentials_secret.
.google.storagetransfer.v1.AzureBlobStorageData.FederatedIdentityConfig federated_identity_config = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the federatedIdentityConfig field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TransferTypes.AzureBlobStorageData.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected TransferTypes.AzureBlobStorageData.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public TransferTypes.AzureBlobStorageData.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides