Class TransferTypes.AzureCredentials.Builder (1.17.0)

public static final class TransferTypes.AzureCredentials.Builder extends GeneratedMessageV3.Builder<TransferTypes.AzureCredentials.Builder> implements TransferTypes.AzureCredentialsOrBuilder

Azure credentials For information on our data retention policy for user credentials, see User credentials.

Protobuf type google.storagetransfer.v1.AzureCredentials

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransferTypes.AzureCredentials.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransferTypes.AzureCredentials.Builder
Overrides

build()

public TransferTypes.AzureCredentials build()
Returns
Type Description
TransferTypes.AzureCredentials

buildPartial()

public TransferTypes.AzureCredentials buildPartial()
Returns
Type Description
TransferTypes.AzureCredentials

clear()

public TransferTypes.AzureCredentials.Builder clear()
Returns
Type Description
TransferTypes.AzureCredentials.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TransferTypes.AzureCredentials.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TransferTypes.AzureCredentials.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TransferTypes.AzureCredentials.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TransferTypes.AzureCredentials.Builder
Overrides

clearSasToken()

public TransferTypes.AzureCredentials.Builder 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).

string sas_token = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TransferTypes.AzureCredentials.Builder

This builder for chaining.

clone()

public TransferTypes.AzureCredentials.Builder clone()
Returns
Type Description
TransferTypes.AzureCredentials.Builder
Overrides

getDefaultInstanceForType()

public TransferTypes.AzureCredentials getDefaultInstanceForType()
Returns
Type Description
TransferTypes.AzureCredentials

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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).

string sas_token = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The sasToken.

getSasTokenBytes()

public 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).

string sas_token = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for sasToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransferTypes.AzureCredentials.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.AzureCredentials.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TransferTypes.AzureCredentials.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TransferTypes.AzureCredentials.Builder
Overrides

mergeFrom(TransferTypes.AzureCredentials other)

public TransferTypes.AzureCredentials.Builder mergeFrom(TransferTypes.AzureCredentials other)
Parameter
Name Description
other TransferTypes.AzureCredentials
Returns
Type Description
TransferTypes.AzureCredentials.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransferTypes.AzureCredentials.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransferTypes.AzureCredentials.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TransferTypes.AzureCredentials.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransferTypes.AzureCredentials.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TransferTypes.AzureCredentials.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TransferTypes.AzureCredentials.Builder
Overrides

setSasToken(String value)

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).

string sas_token = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The sasToken to set.

Returns
Type Description
TransferTypes.AzureCredentials.Builder

This builder for chaining.

setSasTokenBytes(ByteString value)

public TransferTypes.AzureCredentials.Builder setSasTokenBytes(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).

string sas_token = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for sasToken to set.

Returns
Type Description
TransferTypes.AzureCredentials.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TransferTypes.AzureCredentials.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransferTypes.AzureCredentials.Builder
Overrides