Interface MetadataExchangeRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MetadataExchangeRequest, MetadataExchangeRequest.Builder

@Generated public interface MetadataExchangeRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Authentication type.
    int
    Authentication type.
    IAM token used for both IAM user authentiation and `alloydb.instances.connect` permission check.
    com.google.protobuf.ByteString
    IAM token used for both IAM user authentiation and `alloydb.instances.connect` permission check.
    Optional.
    com.google.protobuf.ByteString
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.v1beta.MetadataExchangeRequest.AuthType auth_type = 2;
      Returns:
      The enum numeric value on the wire for authType.
    • getAuthType

       Authentication type.
       
      .google.cloud.alloydb.connectors.v1beta.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.