Interface DeleteContextRequestOrBuilder

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

    public interface DeleteContextRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      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 Detail

      • getName

        String getName()
         Required. The name of the context to delete. 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 to delete. 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.