Interface MetadataExchangeRequestOrBuilder (0.22.0)

public interface MetadataExchangeRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthType()

public abstract MetadataExchangeRequest.AuthType getAuthType()

Authentication type.

.google.cloud.alloydb.connectors.v1beta.MetadataExchangeRequest.AuthType auth_type = 2;

Returns
Type Description
MetadataExchangeRequest.AuthType

The authType.

getAuthTypeValue()

public abstract int getAuthTypeValue()

Authentication type.

.google.cloud.alloydb.connectors.v1beta.MetadataExchangeRequest.AuthType auth_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for authType.

getOauth2Token()

public abstract String getOauth2Token()

IAM token used for both IAM user authentiation and alloydb.instances.connect permission check.

string oauth2_token = 3;

Returns
Type Description
String

The oauth2Token.

getOauth2TokenBytes()

public abstract ByteString getOauth2TokenBytes()

IAM token used for both IAM user authentiation and alloydb.instances.connect permission check.

string oauth2_token = 3;

Returns
Type Description
ByteString

The bytes for oauth2Token.

getUserAgent()

public abstract String getUserAgent()

Optional. Connector information.

string user_agent = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The userAgent.

getUserAgentBytes()

public abstract ByteString getUserAgentBytes()

Optional. Connector information.

string user_agent = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for userAgent.