Class TransferTypes.AzureCredentials.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TransferTypes.AzureCredentials.Builder>
com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TransferTypes.AzureCredentialsOrBuilder, Cloneable
Enclosing class:
TransferTypes.AzureCredentials

public static final class TransferTypes.AzureCredentials.Builder extends com.google.protobuf.GeneratedMessage.Builder<TransferTypes.AzureCredentials.Builder> implements TransferTypes.AzureCredentialsOrBuilder
 Azure credentials

 For information on our data retention policy for user credentials, see
 [User credentials](/storage-transfer/docs/data-retention#user-credentials).
 
Protobuf type google.storagetransfer.v1.AzureCredentials
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TransferTypes.AzureCredentials.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<TransferTypes.AzureCredentials.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<TransferTypes.AzureCredentials.Builder>
    • getDefaultInstanceForType

      public TransferTypes.AzureCredentials getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public TransferTypes.AzureCredentials buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public TransferTypes.AzureCredentials.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransferTypes.AzureCredentials.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<TransferTypes.AzureCredentials.Builder>
    • mergeFrom

      public TransferTypes.AzureCredentials.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransferTypes.AzureCredentials.Builder>
      Throws:
      IOException
    • getSasToken

      public String getSasToken()
       Required. Azure shared access signature (SAS).
      
       For more information about SAS, see
       [Grant limited access to Azure Storage resources using shared access
       signatures
       (SAS)](https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview).
       
      string sas_token = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSasToken in interface TransferTypes.AzureCredentialsOrBuilder
      Returns:
      The sasToken.
    • getSasTokenBytes

      public com.google.protobuf.ByteString getSasTokenBytes()
       Required. Azure shared access signature (SAS).
      
       For more information about SAS, see
       [Grant limited access to Azure Storage resources using shared access
       signatures
       (SAS)](https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview).
       
      string sas_token = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSasTokenBytes in interface TransferTypes.AzureCredentialsOrBuilder
      Returns:
      The bytes for sasToken.
    • setSasToken

      public TransferTypes.AzureCredentials.Builder setSasToken(String value)
       Required. Azure shared access signature (SAS).
      
       For more information about SAS, see
       [Grant limited access to Azure Storage resources using shared access
       signatures
       (SAS)](https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview).
       
      string sas_token = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The sasToken to set.
      Returns:
      This builder for chaining.
    • clearSasToken

       Required. Azure shared access signature (SAS).
      
       For more information about SAS, see
       [Grant limited access to Azure Storage resources using shared access
       signatures
       (SAS)](https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview).
       
      string sas_token = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setSasTokenBytes

      public TransferTypes.AzureCredentials.Builder setSasTokenBytes(com.google.protobuf.ByteString value)
       Required. Azure shared access signature (SAS).
      
       For more information about SAS, see
       [Grant limited access to Azure Storage resources using shared access
       signatures
       (SAS)](https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview).
       
      string sas_token = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for sasToken to set.
      Returns:
      This builder for chaining.