Interface GetContextRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.

    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

    • getName

      String getName()
       Required. The name of the context. Supported formats:
       - `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context
       ID>`,
       - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
       ID>/contexts/<Context ID>`,
       - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
       ID>/sessions/<Session ID>/contexts/<Context ID>`,
       - `projects/<Project ID>/locations/<Location
       ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
       ID>/contexts/<Context ID>`,
      
       If `Location ID` is not specified we assume default 'us' location. If
       `Environment ID` is not specified, we assume default 'draft' environment.
       If `User ID` is not specified, we assume default '-' user.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. The name of the context. Supported formats:
       - `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context
       ID>`,
       - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
       ID>/contexts/<Context ID>`,
       - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
       ID>/sessions/<Session ID>/contexts/<Context ID>`,
       - `projects/<Project ID>/locations/<Location
       ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
       ID>/contexts/<Context ID>`,
      
       If `Location ID` is not specified we assume default 'us' location. If
       `Environment ID` is not specified, we assume default 'draft' environment.
       If `User ID` is not specified, we assume default '-' user.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.