public static final class TransferTypes.AzureCredentials extends GeneratedMessage implements TransferTypes.AzureCredentialsOrBuilderAzure credentials
For information on our data retention policy for user credentials, see User credentials.
Protobuf type google.storagetransfer.v1.AzureCredentials
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > TransferTypes.AzureCredentialsImplements
TransferTypes.AzureCredentialsOrBuilderStatic Fields
SAS_TOKEN_FIELD_NUMBER
public static final int SAS_TOKEN_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static TransferTypes.AzureCredentials getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static TransferTypes.AzureCredentials.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials.Builder |
|
newBuilder(TransferTypes.AzureCredentials prototype)
public static TransferTypes.AzureCredentials.Builder newBuilder(TransferTypes.AzureCredentials prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
TransferTypes.AzureCredentials |
| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials.Builder |
|
parseDelimitedFrom(InputStream input)
public static TransferTypes.AzureCredentials parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.AzureCredentials parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static TransferTypes.AzureCredentials parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.AzureCredentials parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static TransferTypes.AzureCredentials parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.AzureCredentials parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static TransferTypes.AzureCredentials parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.AzureCredentials parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static TransferTypes.AzureCredentials parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.AzureCredentials parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static TransferTypes.AzureCredentials parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.AzureCredentials parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<TransferTypes.AzureCredentials> parser()| Returns | |
|---|---|
| Type | Description |
Parser<AzureCredentials> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public TransferTypes.AzureCredentials getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials |
|
getParserForType()
public Parser<TransferTypes.AzureCredentials> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<AzureCredentials> |
|
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. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public TransferTypes.AzureCredentials.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected TransferTypes.AzureCredentials.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials.Builder |
|
toBuilder()
public TransferTypes.AzureCredentials.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
TransferTypes.AzureCredentials.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|