Class AzureAuth.Builder (0.37.0)

public static final class AzureAuth.Builder extends GeneratedMessage.Builder<AzureAuth.Builder> implements AzureAuthOrBuilder

Azure auth.

Protobuf type google.cloud.chronicle.v1.AzureAuth

Implements

AzureAuthOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public AzureAuth build()
Returns
Type Description
AzureAuth

buildPartial()

public AzureAuth buildPartial()
Returns
Type Description
AzureAuth

clear()

public AzureAuth.Builder clear()
Returns
Type Description
AzureAuth.Builder
Overrides

clearAuthType()

public AzureAuth.Builder clearAuthType()
Returns
Type Description
AzureAuth.Builder

clearSasToken()

public AzureAuth.Builder clearSasToken()

SAS Token.

string sas_token = 2;

Returns
Type Description
AzureAuth.Builder

This builder for chaining.

clearSharedKey()

public AzureAuth.Builder clearSharedKey()

Shared Key.

string shared_key = 1;

Returns
Type Description
AzureAuth.Builder

This builder for chaining.

getAuthTypeCase()

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

getDefaultInstanceForType()

public AzureAuth getDefaultInstanceForType()
Returns
Type Description
AzureAuth

getDescriptorForType()

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

getSasToken()

public String getSasToken()

SAS Token.

string sas_token = 2;

Returns
Type Description
String

The sasToken.

getSasTokenBytes()

public ByteString getSasTokenBytes()

SAS Token.

string sas_token = 2;

Returns
Type Description
ByteString

The bytes for sasToken.

getSharedKey()

public String getSharedKey()

Shared Key.

string shared_key = 1;

Returns
Type Description
String

The sharedKey.

getSharedKeyBytes()

public ByteString getSharedKeyBytes()

Shared Key.

string shared_key = 1;

Returns
Type Description
ByteString

The bytes for sharedKey.

hasSasToken()

public boolean hasSasToken()

SAS Token.

string sas_token = 2;

Returns
Type Description
boolean

Whether the sasToken field is set.

hasSharedKey()

public boolean hasSharedKey()

Shared Key.

string shared_key = 1;

Returns
Type Description
boolean

Whether the sharedKey field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AzureAuth other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setSasToken(String value)

public AzureAuth.Builder setSasToken(String value)

SAS Token.

string sas_token = 2;

Parameter
Name Description
value String

The sasToken to set.

Returns
Type Description
AzureAuth.Builder

This builder for chaining.

setSasTokenBytes(ByteString value)

public AzureAuth.Builder setSasTokenBytes(ByteString value)

SAS Token.

string sas_token = 2;

Parameter
Name Description
value ByteString

The bytes for sasToken to set.

Returns
Type Description
AzureAuth.Builder

This builder for chaining.

setSharedKey(String value)

public AzureAuth.Builder setSharedKey(String value)

Shared Key.

string shared_key = 1;

Parameter
Name Description
value String

The sharedKey to set.

Returns
Type Description
AzureAuth.Builder

This builder for chaining.

setSharedKeyBytes(ByteString value)

public AzureAuth.Builder setSharedKeyBytes(ByteString value)

Shared Key.

string shared_key = 1;

Parameter
Name Description
value ByteString

The bytes for sharedKey to set.

Returns
Type Description
AzureAuth.Builder

This builder for chaining.