Class CreateSessionEntityTypeRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateSessionEntityTypeRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateSessionEntityTypeRequest.Builder>
      • getDefaultInstanceForType

        public CreateSessionEntityTypeRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public CreateSessionEntityTypeRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public CreateSessionEntityTypeRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateSessionEntityTypeRequest.Builder>
      • getParent

        public String getParent()
         Required. The session to create a session entity type for.
         Supported formats:
         - `projects/<Project ID>/agent/sessions/<Session ID>,
         - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
           ID>`,
         - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
           ID>/sessions/<Session ID>`,
         - `projects/<Project ID>/locations/<Location
           ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
           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 parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface CreateSessionEntityTypeRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The session to create a session entity type for.
         Supported formats:
         - `projects/<Project ID>/agent/sessions/<Session ID>,
         - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
           ID>`,
         - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
           ID>/sessions/<Session ID>`,
         - `projects/<Project ID>/locations/<Location
           ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
           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 parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreateSessionEntityTypeRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateSessionEntityTypeRequest.Builder setParent​(String value)
         Required. The session to create a session entity type for.
         Supported formats:
         - `projects/<Project ID>/agent/sessions/<Session ID>,
         - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
           ID>`,
         - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
           ID>/sessions/<Session ID>`,
         - `projects/<Project ID>/locations/<Location
           ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
           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 parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public CreateSessionEntityTypeRequest.Builder clearParent()
         Required. The session to create a session entity type for.
         Supported formats:
         - `projects/<Project ID>/agent/sessions/<Session ID>,
         - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
           ID>`,
         - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
           ID>/sessions/<Session ID>`,
         - `projects/<Project ID>/locations/<Location
           ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
           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 parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateSessionEntityTypeRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The session to create a session entity type for.
         Supported formats:
         - `projects/<Project ID>/agent/sessions/<Session ID>,
         - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
           ID>`,
         - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
           ID>/sessions/<Session ID>`,
         - `projects/<Project ID>/locations/<Location
           ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
           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 parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • hasSessionEntityType

        public boolean hasSessionEntityType()
         Required. The session entity type to create.
         
        .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasSessionEntityType in interface CreateSessionEntityTypeRequestOrBuilder
        Returns:
        Whether the sessionEntityType field is set.
      • setSessionEntityType

        public CreateSessionEntityTypeRequest.Builder setSessionEntityType​(SessionEntityType value)
         Required. The session entity type to create.
         
        .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeSessionEntityType

        public CreateSessionEntityTypeRequest.Builder mergeSessionEntityType​(SessionEntityType value)
         Required. The session entity type to create.
         
        .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearSessionEntityType

        public CreateSessionEntityTypeRequest.Builder clearSessionEntityType()
         Required. The session entity type to create.
         
        .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED];
      • getSessionEntityTypeBuilder

        public SessionEntityType.Builder getSessionEntityTypeBuilder()
         Required. The session entity type to create.
         
        .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED];