Class TransferTypes.AzureBlobStorageData.FederatedIdentityConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TransferTypes.AzureBlobStorageData.FederatedIdentityConfig.Builder>
com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.FederatedIdentityConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TransferTypes.AzureBlobStorageData.FederatedIdentityConfigOrBuilder,Cloneable
- Enclosing class:
- TransferTypes.AzureBlobStorageData.FederatedIdentityConfig
public static final class TransferTypes.AzureBlobStorageData.FederatedIdentityConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TransferTypes.AzureBlobStorageData.FederatedIdentityConfig.Builder>
implements TransferTypes.AzureBlobStorageData.FederatedIdentityConfigOrBuilder
The identity of an Azure application through which Storage Transfer Service can authenticate requests using Azure workload identity federation. Storage Transfer Service can issue requests to Azure Storage through registered Azure applications, eliminating the need to pass credentials to Storage Transfer Service directly. To configure federated identity, see [Configure access to Microsoft Azure Storage](https://cloud.google.com/storage-transfer/docs/source-microsoft-azure#option_3_authenticate_using_federated_identity).Protobuf type
google.storagetransfer.v1.AzureBlobStorageData.FederatedIdentityConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Required.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setClientId(String value) Required.setClientIdBytes(com.google.protobuf.ByteString value) Required.setTenantId(String value) Required.setTenantIdBytes(com.google.protobuf.ByteString value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<TransferTypes.AzureBlobStorageData.FederatedIdentityConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TransferTypes.AzureBlobStorageData.FederatedIdentityConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TransferTypes.AzureBlobStorageData.FederatedIdentityConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public TransferTypes.AzureBlobStorageData.FederatedIdentityConfig.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransferTypes.AzureBlobStorageData.FederatedIdentityConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TransferTypes.AzureBlobStorageData.FederatedIdentityConfig.Builder>
-
mergeFrom
public TransferTypes.AzureBlobStorageData.FederatedIdentityConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransferTypes.AzureBlobStorageData.FederatedIdentityConfig.Builder>- Throws:
IOException
-
getClientId
Required. The client (application) ID of the application with federated credentials.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getClientIdin interfaceTransferTypes.AzureBlobStorageData.FederatedIdentityConfigOrBuilder- Returns:
- The clientId.
-
getClientIdBytes
public com.google.protobuf.ByteString getClientIdBytes()Required. The client (application) ID of the application with federated credentials.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getClientIdBytesin interfaceTransferTypes.AzureBlobStorageData.FederatedIdentityConfigOrBuilder- Returns:
- The bytes for clientId.
-
setClientId
Required. The client (application) ID of the application with federated credentials.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The clientId to set.- Returns:
- This builder for chaining.
-
clearClientId
Required. The client (application) ID of the application with federated credentials.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setClientIdBytes
public TransferTypes.AzureBlobStorageData.FederatedIdentityConfig.Builder setClientIdBytes(com.google.protobuf.ByteString value) Required. The client (application) ID of the application with federated credentials.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for clientId to set.- Returns:
- This builder for chaining.
-
getTenantId
Required. The tenant (directory) ID of the application with federated credentials.
string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTenantIdin interfaceTransferTypes.AzureBlobStorageData.FederatedIdentityConfigOrBuilder- Returns:
- The tenantId.
-
getTenantIdBytes
public com.google.protobuf.ByteString getTenantIdBytes()Required. The tenant (directory) ID of the application with federated credentials.
string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTenantIdBytesin interfaceTransferTypes.AzureBlobStorageData.FederatedIdentityConfigOrBuilder- Returns:
- The bytes for tenantId.
-
setTenantId
Required. The tenant (directory) ID of the application with federated credentials.
string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The tenantId to set.- Returns:
- This builder for chaining.
-
clearTenantId
Required. The tenant (directory) ID of the application with federated credentials.
string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setTenantIdBytes
public TransferTypes.AzureBlobStorageData.FederatedIdentityConfig.Builder setTenantIdBytes(com.google.protobuf.ByteString value) Required. The tenant (directory) ID of the application with federated credentials.
string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for tenantId to set.- Returns:
- This builder for chaining.
-