Class TransferTypes.AzureBlobStorageData
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TransferTypes.AzureBlobStorageDataOrBuilder,Serializable
- Enclosing class:
- TransferTypes
public static final class TransferTypes.AzureBlobStorageData
extends com.google.protobuf.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](https://docs.microsoft.com/en-us/azure/storage/common/storage-create-storage-account#storage-account-endpoints). In an AzureBlobStorageData resource, a blobs's name is the [Azure Blob Storage blob's key name](https://docs.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata#blob-names).Protobuf type
google.storagetransfer.v1.AzureBlobStorageData- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn AzureBlobStorageData resource can be a data source, but not a data sink.static final classThe identity of an Azure application through which Storage Transfer Service can authenticate requests using Azure workload identity federation.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanRequired.Required.Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.DescriptorOptional.Optional.com.google.protobuf.Parser<TransferTypes.AzureBlobStorageData>getPath()Root path to transfer objects.com.google.protobuf.ByteStringRoot path to transfer objects.intRequired.com.google.protobuf.ByteStringRequired.booleanRequired.booleanOptional.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(TransferTypes.AzureBlobStorageData prototype) newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TransferTypes.AzureBlobStorageData>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
STORAGE_ACCOUNT_FIELD_NUMBER
public static final int STORAGE_ACCOUNT_FIELD_NUMBER- See Also:
-
AZURE_CREDENTIALS_FIELD_NUMBER
public static final int AZURE_CREDENTIALS_FIELD_NUMBER- See Also:
-
CONTAINER_FIELD_NUMBER
public static final int CONTAINER_FIELD_NUMBER- See Also:
-
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER- See Also:
-
CREDENTIALS_SECRET_FIELD_NUMBER
public static final int CREDENTIALS_SECRET_FIELD_NUMBER- See Also:
-
FEDERATED_IDENTITY_CONFIG_FIELD_NUMBER
public static final int FEDERATED_IDENTITY_CONFIG_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getStorageAccount
Required. The name of the Azure Storage account.
string storage_account = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getStorageAccountin interfaceTransferTypes.AzureBlobStorageDataOrBuilder- Returns:
- The storageAccount.
-
getStorageAccountBytes
public com.google.protobuf.ByteString getStorageAccountBytes()Required. The name of the Azure Storage account.
string storage_account = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getStorageAccountBytesin interfaceTransferTypes.AzureBlobStorageDataOrBuilder- Returns:
- 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](/storage-transfer/docs/data-retention#user-credentials).
.google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
hasAzureCredentialsin interfaceTransferTypes.AzureBlobStorageDataOrBuilder- Returns:
- Whether the azureCredentials field is set.
-
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](/storage-transfer/docs/data-retention#user-credentials).
.google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getAzureCredentialsin interfaceTransferTypes.AzureBlobStorageDataOrBuilder- Returns:
- The azureCredentials.
-
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](/storage-transfer/docs/data-retention#user-credentials).
.google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getAzureCredentialsOrBuilderin interfaceTransferTypes.AzureBlobStorageDataOrBuilder
-
getContainer
Required. The container to transfer from the Azure Storage account.
string container = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getContainerin interfaceTransferTypes.AzureBlobStorageDataOrBuilder- Returns:
- The container.
-
getContainerBytes
public com.google.protobuf.ByteString getContainerBytes()Required. The container to transfer from the Azure Storage account.
string container = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getContainerBytesin interfaceTransferTypes.AzureBlobStorageDataOrBuilder- Returns:
- The bytes for container.
-
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;- Specified by:
getPathin interfaceTransferTypes.AzureBlobStorageDataOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.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;- Specified by:
getPathBytesin interfaceTransferTypes.AzureBlobStorageDataOrBuilder- Returns:
- The bytes for path.
-
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][google.storagetransfer.v1.GoogleServiceAccount] must be granted `roles/secretmanager.secretAccessor` for the resource. See [Configure access to a source: Microsoft Azure Blob Storage] (https://cloud.google.com/storage-transfer/docs/source-microsoft-azure#secret_manager) for more information. If `credentials_secret` is specified, do not specify [azure_credentials][google.storagetransfer.v1.AzureBlobStorageData.azure_credentials]. Format: `projects/{project_number}/secrets/{secret_name}`string credentials_secret = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCredentialsSecretin interfaceTransferTypes.AzureBlobStorageDataOrBuilder- Returns:
- The credentialsSecret.
-
getCredentialsSecretBytes
public com.google.protobuf.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][google.storagetransfer.v1.GoogleServiceAccount] must be granted `roles/secretmanager.secretAccessor` for the resource. See [Configure access to a source: Microsoft Azure Blob Storage] (https://cloud.google.com/storage-transfer/docs/source-microsoft-azure#secret_manager) for more information. If `credentials_secret` is specified, do not specify [azure_credentials][google.storagetransfer.v1.AzureBlobStorageData.azure_credentials]. Format: `projects/{project_number}/secrets/{secret_name}`string credentials_secret = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCredentialsSecretBytesin interfaceTransferTypes.AzureBlobStorageDataOrBuilder- Returns:
- The bytes for credentialsSecret.
-
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][google.storagetransfer.v1.AzureBlobStorageData.azure_credentials] or [credentials_secret][google.storagetransfer.v1.AzureBlobStorageData.credentials_secret].
.google.storagetransfer.v1.AzureBlobStorageData.FederatedIdentityConfig federated_identity_config = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasFederatedIdentityConfigin interfaceTransferTypes.AzureBlobStorageDataOrBuilder- Returns:
- Whether the federatedIdentityConfig field is set.
-
getFederatedIdentityConfig
Optional. Federated identity config of a user registered Azure application. If `federated_identity_config` is specified, do not specify [azure_credentials][google.storagetransfer.v1.AzureBlobStorageData.azure_credentials] or [credentials_secret][google.storagetransfer.v1.AzureBlobStorageData.credentials_secret].
.google.storagetransfer.v1.AzureBlobStorageData.FederatedIdentityConfig federated_identity_config = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFederatedIdentityConfigin interfaceTransferTypes.AzureBlobStorageDataOrBuilder- Returns:
- The federatedIdentityConfig.
-
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][google.storagetransfer.v1.AzureBlobStorageData.azure_credentials] or [credentials_secret][google.storagetransfer.v1.AzureBlobStorageData.credentials_secret].
.google.storagetransfer.v1.AzureBlobStorageData.FederatedIdentityConfig federated_identity_config = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFederatedIdentityConfigOrBuilderin interfaceTransferTypes.AzureBlobStorageDataOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TransferTypes.AzureBlobStorageData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferTypes.AzureBlobStorageData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferTypes.AzureBlobStorageData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferTypes.AzureBlobStorageData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferTypes.AzureBlobStorageData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferTypes.AzureBlobStorageData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TransferTypes.AzureBlobStorageData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static TransferTypes.AzureBlobStorageData parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static TransferTypes.AzureBlobStorageData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static TransferTypes.AzureBlobStorageData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static TransferTypes.AzureBlobStorageData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static TransferTypes.AzureBlobStorageData.Builder newBuilder(TransferTypes.AzureBlobStorageData prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TransferTypes.AzureBlobStorageData.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-