Class AzureAuthV2 (0.37.0)

public final class AzureAuthV2 extends GeneratedMessage implements AzureAuthV2OrBuilder

A message containing fields used to authenticate with Azure Blob Storage.

Protobuf type google.cloud.chronicle.v1.AzureAuthV2

Static Fields

ACCESS_KEY_FIELD_NUMBER

public static final int ACCESS_KEY_FIELD_NUMBER
Field Value
Type Description
int

AZURE_V2_WORKLOAD_IDENTITY_FEDERATION_FIELD_NUMBER

public static final int AZURE_V2_WORKLOAD_IDENTITY_FEDERATION_FIELD_NUMBER
Field Value
Type Description
int

SAS_TOKEN_FIELD_NUMBER

public static final int SAS_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AzureAuthV2 getDefaultInstance()
Returns
Type Description
AzureAuthV2

getDescriptor()

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

newBuilder()

public static AzureAuthV2.Builder newBuilder()
Returns
Type Description
AzureAuthV2.Builder

newBuilder(AzureAuthV2 prototype)

public static AzureAuthV2.Builder newBuilder(AzureAuthV2 prototype)
Parameter
Name Description
prototype AzureAuthV2
Returns
Type Description
AzureAuthV2.Builder

parseDelimitedFrom(InputStream input)

public static AzureAuthV2 parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AzureAuthV2
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureAuthV2 parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureAuthV2
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AzureAuthV2 parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AzureAuthV2
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AzureAuthV2 parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureAuthV2
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AzureAuthV2 parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AzureAuthV2
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AzureAuthV2 parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureAuthV2
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AzureAuthV2 parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AzureAuthV2
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureAuthV2 parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureAuthV2
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AzureAuthV2 parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AzureAuthV2
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureAuthV2 parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureAuthV2
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AzureAuthV2 parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AzureAuthV2
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AzureAuthV2 parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureAuthV2
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AzureAuthV2> parser()
Returns
Type Description
Parser<AzureAuthV2>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAccessKey()

public String getAccessKey()

Required. Access Key also known as shared key.

string access_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The accessKey.

getAccessKeyBytes()

public ByteString getAccessKeyBytes()

Required. Access Key also known as shared key.

string access_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for accessKey.

getAuthTypeCase()

public AzureAuthV2.AuthTypeCase getAuthTypeCase()
Returns
Type Description
AzureAuthV2.AuthTypeCase

getAzureV2WorkloadIdentityFederation()

public AzureV2WorkloadIdentityFederation getAzureV2WorkloadIdentityFederation()

Required. Azure V2 Workload Identity Federation.

.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureV2WorkloadIdentityFederation

The azureV2WorkloadIdentityFederation.

getAzureV2WorkloadIdentityFederationOrBuilder()

public AzureV2WorkloadIdentityFederationOrBuilder getAzureV2WorkloadIdentityFederationOrBuilder()

Required. Azure V2 Workload Identity Federation.

.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureV2WorkloadIdentityFederationOrBuilder

getDefaultInstanceForType()

public AzureAuthV2 getDefaultInstanceForType()
Returns
Type Description
AzureAuthV2

getParserForType()

public Parser<AzureAuthV2> getParserForType()
Returns
Type Description
Parser<AzureAuthV2>
Overrides

getSasToken()

public String getSasToken()

Required. SAS Token.

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

Returns
Type Description
String

The sasToken.

getSasTokenBytes()

public ByteString getSasTokenBytes()

Required. SAS Token.

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
Overrides

hasAccessKey()

public boolean hasAccessKey()

Required. Access Key also known as shared key.

string access_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the accessKey field is set.

hasAzureV2WorkloadIdentityFederation()

public boolean hasAzureV2WorkloadIdentityFederation()

Required. Azure V2 Workload Identity Federation.

.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the azureV2WorkloadIdentityFederation field is set.

hasSasToken()

public boolean hasSasToken()

Required. SAS Token.

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

Returns
Type Description
boolean

Whether the sasToken field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AzureAuthV2.Builder newBuilderForType()
Returns
Type Description
AzureAuthV2.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected AzureAuthV2.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AzureAuthV2.Builder
Overrides

toBuilder()

public AzureAuthV2.Builder toBuilder()
Returns
Type Description
AzureAuthV2.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException