Interface MetadataExchangeRequestOrBuilder (0.14.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
TypeDescription
MetadataExchangeRequest.AuthType

The authType.

getAuthTypeValue()

public abstract int getAuthTypeValue()

Authentication type.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for oauth2Token.

getUserAgent()

public abstract String getUserAgent()

Optional. Connector information.

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

Returns
TypeDescription
String

The userAgent.

getUserAgentBytes()

public abstract ByteString getUserAgentBytes()

Optional. Connector information.

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

Returns
TypeDescription
ByteString

The bytes for userAgent.