"""Generated message classes for agenticapplications version v1alpha.

Agentic Applications API.
"""
# NOTE: This file is autogenerated and should not be edited by hand.

from apitools.base.protorpclite import messages as _messages
from apitools.base.py import encoding


package = 'agenticapplications'


class AgenticapplicationsProjectsLocationsGetRequest(_messages.Message):
  r"""A AgenticapplicationsProjectsLocationsGetRequest object.

  Fields:
    name: A string attribute.
  """

  name = _messages.StringField(1, required=True)


class AgenticapplicationsProjectsLocationsOmnichannelEndpointConfigsGetRequest(_messages.Message):
  r"""A
  AgenticapplicationsProjectsLocationsOmnichannelEndpointConfigsGetRequest
  object.

  Fields:
    name: A string attribute.
  """

  name = _messages.StringField(1, required=True)


class GoogleProtobufStruct(_messages.Message):
  r"""A GoogleProtobufStruct object.

  Fields:
    fields: A GoogleProtobufStructFields attribute.
  """

  fields = _messages.MessageField('GoogleProtobufStructFields', 1)


@encoding.MapUnrecognizedFields('additionalProperties')
class GoogleProtobufStructFields(_messages.Message):
  r"""A GoogleProtobufStructFields object.

  Messages:
    AdditionalProperty: An additional property for a
      GoogleProtobufStructFields object.

  Fields:
    additionalProperties: Additional properties of type
      GoogleProtobufStructFields
  """

  class AdditionalProperty(_messages.Message):
    r"""An additional property for a GoogleProtobufStructFields object.

    Messages:
      ValueValue: A ValueValue object.

    Fields:
      key: Name of the additional property.
      value: A ValueValue attribute.
    """

    class ValueValue(_messages.Message):
      r"""A ValueValue object."""

    key = _messages.StringField(1)
    value = _messages.MessageField('ValueValue', 2)

  additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True)


class Location(_messages.Message):
  r"""A Location object.

  Fields:
    name: A string attribute.
  """

  name = _messages.StringField(1)


class OmnichannelEndpointConfig(_messages.Message):
  r"""A OmnichannelEndpointConfig object.

  Fields:
    name: A string attribute.
  """

  name = _messages.StringField(1)


class StandardQueryParameters(_messages.Message):
  r"""Query parameters accepted by all methods.

  Fields:
    trace: A tracing token of the form "token:<tokenid>" to include in api
      requests.
  """

  trace = _messages.StringField(1)


class TokenBrokerIssueTokenRequest(_messages.Message):
  r"""A TokenBrokerIssueTokenRequest object.

  Enums:
    GrantTypeValueValuesEnum:

  Fields:
    grantType: A GrantTypeValueValuesEnum attribute.
    name: A string attribute.
    refreshToken: A string attribute.
  """

  class GrantTypeValueValuesEnum(_messages.Enum):
    r"""GrantTypeValueValuesEnum enum type.

    Values:
      GRANT_TYPE_UNSPECIFIED: <no description>
      ACCESS_TOKEN: <no description>
      REFRESH_TOKEN: <no description>
    """
    GRANT_TYPE_UNSPECIFIED = 0
    ACCESS_TOKEN = 1
    REFRESH_TOKEN = 2

  grantType = _messages.EnumField('GrantTypeValueValuesEnum', 1)
  name = _messages.StringField(2)
  refreshToken = _messages.StringField(3)


class TokenBrokerIssueTokenResponse(_messages.Message):
  r"""A TokenBrokerIssueTokenResponse object.

  Fields:
    accessToken: A string attribute.
    expireTime: A string attribute.
    refreshTokenData: A TokenBrokerRefreshTokenData attribute.
    sessionId: A string attribute.
  """

  accessToken = _messages.StringField(1)
  expireTime = _messages.StringField(2)
  refreshTokenData = _messages.MessageField('TokenBrokerRefreshTokenData', 3)
  sessionId = _messages.StringField(4)


class TokenBrokerIssueTrustedTokenRequest(_messages.Message):
  r"""A TokenBrokerIssueTrustedTokenRequest object.

  Fields:
    name: A string attribute.
    trustedFields: A GoogleProtobufStruct attribute.
  """

  name = _messages.StringField(1)
  trustedFields = _messages.MessageField('GoogleProtobufStruct', 2)


class TokenBrokerIssueTrustedTokenResponse(_messages.Message):
  r"""A TokenBrokerIssueTrustedTokenResponse object.

  Fields:
    accessToken: A string attribute.
    expireTime: A string attribute.
    refreshTokenData: A TokenBrokerRefreshTokenData attribute.
    sessionId: A string attribute.
  """

  accessToken = _messages.StringField(1)
  expireTime = _messages.StringField(2)
  refreshTokenData = _messages.MessageField('TokenBrokerRefreshTokenData', 3)
  sessionId = _messages.StringField(4)


class TokenBrokerRefreshTokenData(_messages.Message):
  r"""A TokenBrokerRefreshTokenData object.

  Fields:
    refreshExpireTime: A string attribute.
    refreshToken: A string attribute.
    refreshTokenId: A string attribute.
  """

  refreshExpireTime = _messages.StringField(1)
  refreshToken = _messages.StringField(2)
  refreshTokenId = _messages.StringField(3)


