Interface MetadataExchangeRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetadataExchangeRequest
,MetadataExchangeRequest.Builder
public interface MetadataExchangeRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetadataExchangeRequest.AuthType
getAuthType()
Authentication type.int
getAuthTypeValue()
Authentication type.String
getOauth2Token()
IAM token used for both IAM user authentiation and `alloydb.instances.connect` permission check.com.google.protobuf.ByteString
getOauth2TokenBytes()
IAM token used for both IAM user authentiation and `alloydb.instances.connect` permission check.String
getUserAgent()
Optional.com.google.protobuf.ByteString
getUserAgentBytes()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getUserAgent
String getUserAgent()
Optional. Connector information.
string user_agent = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The userAgent.
-
getUserAgentBytes
com.google.protobuf.ByteString getUserAgentBytes()
Optional. Connector information.
string user_agent = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for userAgent.
-
getAuthTypeValue
int getAuthTypeValue()
Authentication type.
.google.cloud.alloydb.connectors.v1alpha.MetadataExchangeRequest.AuthType auth_type = 2;
- Returns:
- The enum numeric value on the wire for authType.
-
getAuthType
MetadataExchangeRequest.AuthType getAuthType()
Authentication type.
.google.cloud.alloydb.connectors.v1alpha.MetadataExchangeRequest.AuthType auth_type = 2;
- Returns:
- The authType.
-
getOauth2Token
String getOauth2Token()
IAM token used for both IAM user authentiation and `alloydb.instances.connect` permission check.
string oauth2_token = 3;
- Returns:
- The oauth2Token.
-
getOauth2TokenBytes
com.google.protobuf.ByteString getOauth2TokenBytes()
IAM token used for both IAM user authentiation and `alloydb.instances.connect` permission check.
string oauth2_token = 3;
- Returns:
- The bytes for oauth2Token.
-
-