Class PageInfo.FormInfo.ParameterInfo.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<PageInfo.FormInfo.ParameterInfo.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<PageInfo.FormInfo.ParameterInfo.Builder>
      • getDefaultInstanceForType

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

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

        public PageInfo.FormInfo.ParameterInfo 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<PageInfo.FormInfo.ParameterInfo.Builder>
      • getDisplayName

        public String getDisplayName()
         Always present for
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
         Required for
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
         The human-readable name of the parameter, unique within the form. This
         field cannot be modified by the webhook.
         
        string display_name = 1;
        Specified by:
        getDisplayName in interface PageInfo.FormInfo.ParameterInfoOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         Always present for
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
         Required for
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
         The human-readable name of the parameter, unique within the form. This
         field cannot be modified by the webhook.
         
        string display_name = 1;
        Specified by:
        getDisplayNameBytes in interface PageInfo.FormInfo.ParameterInfoOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public PageInfo.FormInfo.ParameterInfo.Builder setDisplayName​(String value)
         Always present for
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
         Required for
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
         The human-readable name of the parameter, unique within the form. This
         field cannot be modified by the webhook.
         
        string display_name = 1;
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public PageInfo.FormInfo.ParameterInfo.Builder clearDisplayName()
         Always present for
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
         Required for
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
         The human-readable name of the parameter, unique within the form. This
         field cannot be modified by the webhook.
         
        string display_name = 1;
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public PageInfo.FormInfo.ParameterInfo.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         Always present for
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
         Required for
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
         The human-readable name of the parameter, unique within the form. This
         field cannot be modified by the webhook.
         
        string display_name = 1;
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getRequired

        public boolean getRequired()
         Optional for both
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
         Indicates whether the parameter is required. Optional parameters will
         not trigger prompts; however, they are filled if the user specifies
         them. Required parameters must be filled before form filling concludes.
         
        bool required = 2;
        Specified by:
        getRequired in interface PageInfo.FormInfo.ParameterInfoOrBuilder
        Returns:
        The required.
      • setRequired

        public PageInfo.FormInfo.ParameterInfo.Builder setRequired​(boolean value)
         Optional for both
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
         Indicates whether the parameter is required. Optional parameters will
         not trigger prompts; however, they are filled if the user specifies
         them. Required parameters must be filled before form filling concludes.
         
        bool required = 2;
        Parameters:
        value - The required to set.
        Returns:
        This builder for chaining.
      • clearRequired

        public PageInfo.FormInfo.ParameterInfo.Builder clearRequired()
         Optional for both
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
         Indicates whether the parameter is required. Optional parameters will
         not trigger prompts; however, they are filled if the user specifies
         them. Required parameters must be filled before form filling concludes.
         
        bool required = 2;
        Returns:
        This builder for chaining.
      • getStateValue

        public int getStateValue()
         Always present for
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
         Required for
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The
         state of the parameter. This field can be set to
         [INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
         by the webhook to invalidate the parameter; other values set by the
         webhook will be ignored.
         
        .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
        Specified by:
        getStateValue in interface PageInfo.FormInfo.ParameterInfoOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public PageInfo.FormInfo.ParameterInfo.Builder setStateValue​(int value)
         Always present for
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
         Required for
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The
         state of the parameter. This field can be set to
         [INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
         by the webhook to invalidate the parameter; other values set by the
         webhook will be ignored.
         
        .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • getState

        public PageInfo.FormInfo.ParameterInfo.ParameterState getState()
         Always present for
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
         Required for
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The
         state of the parameter. This field can be set to
         [INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
         by the webhook to invalidate the parameter; other values set by the
         webhook will be ignored.
         
        .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
        Specified by:
        getState in interface PageInfo.FormInfo.ParameterInfoOrBuilder
        Returns:
        The state.
      • setState

        public PageInfo.FormInfo.ParameterInfo.Builder setState​(PageInfo.FormInfo.ParameterInfo.ParameterState value)
         Always present for
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
         Required for
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The
         state of the parameter. This field can be set to
         [INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
         by the webhook to invalidate the parameter; other values set by the
         webhook will be ignored.
         
        .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public PageInfo.FormInfo.ParameterInfo.Builder clearState()
         Always present for
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
         Required for
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The
         state of the parameter. This field can be set to
         [INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
         by the webhook to invalidate the parameter; other values set by the
         webhook will be ignored.
         
        .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
        Returns:
        This builder for chaining.
      • hasValue

        public boolean hasValue()
         Optional for both
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The
         value of the parameter. This field can be set by the webhook to change
         the parameter value.
         
        .google.protobuf.Value value = 4;
        Specified by:
        hasValue in interface PageInfo.FormInfo.ParameterInfoOrBuilder
        Returns:
        Whether the value field is set.
      • getValue

        public com.google.protobuf.Value getValue()
         Optional for both
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The
         value of the parameter. This field can be set by the webhook to change
         the parameter value.
         
        .google.protobuf.Value value = 4;
        Specified by:
        getValue in interface PageInfo.FormInfo.ParameterInfoOrBuilder
        Returns:
        The value.
      • setValue

        public PageInfo.FormInfo.ParameterInfo.Builder setValue​(com.google.protobuf.Value value)
         Optional for both
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The
         value of the parameter. This field can be set by the webhook to change
         the parameter value.
         
        .google.protobuf.Value value = 4;
      • setValue

        public PageInfo.FormInfo.ParameterInfo.Builder setValue​(com.google.protobuf.Value.Builder builderForValue)
         Optional for both
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The
         value of the parameter. This field can be set by the webhook to change
         the parameter value.
         
        .google.protobuf.Value value = 4;
      • mergeValue

        public PageInfo.FormInfo.ParameterInfo.Builder mergeValue​(com.google.protobuf.Value value)
         Optional for both
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The
         value of the parameter. This field can be set by the webhook to change
         the parameter value.
         
        .google.protobuf.Value value = 4;
      • clearValue

        public PageInfo.FormInfo.ParameterInfo.Builder clearValue()
         Optional for both
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The
         value of the parameter. This field can be set by the webhook to change
         the parameter value.
         
        .google.protobuf.Value value = 4;
      • getValueBuilder

        public com.google.protobuf.Value.Builder getValueBuilder()
         Optional for both
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The
         value of the parameter. This field can be set by the webhook to change
         the parameter value.
         
        .google.protobuf.Value value = 4;
      • getValueOrBuilder

        public com.google.protobuf.ValueOrBuilder getValueOrBuilder()
         Optional for both
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and
         [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The
         value of the parameter. This field can be set by the webhook to change
         the parameter value.
         
        .google.protobuf.Value value = 4;
        Specified by:
        getValueOrBuilder in interface PageInfo.FormInfo.ParameterInfoOrBuilder
      • getJustCollected

        public boolean getJustCollected()
         Optional for
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored
         for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
         Indicates if the parameter value was just collected on the last
         conversation turn.
         
        bool just_collected = 5;
        Specified by:
        getJustCollected in interface PageInfo.FormInfo.ParameterInfoOrBuilder
        Returns:
        The justCollected.
      • setJustCollected

        public PageInfo.FormInfo.ParameterInfo.Builder setJustCollected​(boolean value)
         Optional for
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored
         for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
         Indicates if the parameter value was just collected on the last
         conversation turn.
         
        bool just_collected = 5;
        Parameters:
        value - The justCollected to set.
        Returns:
        This builder for chaining.
      • clearJustCollected

        public PageInfo.FormInfo.ParameterInfo.Builder clearJustCollected()
         Optional for
         [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored
         for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
         Indicates if the parameter value was just collected on the last
         conversation turn.
         
        bool just_collected = 5;
        Returns:
        This builder for chaining.