Class PageInfo.FormInfo.ParameterInfo

    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • getDisplayName

        public String getDisplayName()
         Always present for
         [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
         Required for
         [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.WebhookRequest].
         Required for
         [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.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.
      • getRequired

        public boolean getRequired()
         Optional for both
         [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
         [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.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.
      • getStateValue

        public int getStateValue()
         Always present for
         [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
         Required for
         [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
         The state of the parameter. This field can be set to
         [INVALID][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
        Specified by:
        getStateValue in interface PageInfo.FormInfo.ParameterInfoOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • getState

        public PageInfo.FormInfo.ParameterInfo.ParameterState getState()
         Always present for
         [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
         Required for
         [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
         The state of the parameter. This field can be set to
         [INVALID][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
        Specified by:
        getState in interface PageInfo.FormInfo.ParameterInfoOrBuilder
        Returns:
        The state.
      • hasValue

        public boolean hasValue()
         Optional for both
         [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
         [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.WebhookRequest] and
         [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.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.
      • getValueOrBuilder

        public com.google.protobuf.ValueOrBuilder getValueOrBuilder()
         Optional for both
         [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
         [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.WebhookRequest].
         Ignored for
         [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static PageInfo.FormInfo.ParameterInfo parseFrom​(ByteBuffer data)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PageInfo.FormInfo.ParameterInfo parseFrom​(ByteBuffer data,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PageInfo.FormInfo.ParameterInfo parseFrom​(com.google.protobuf.ByteString data)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PageInfo.FormInfo.ParameterInfo parseFrom​(com.google.protobuf.ByteString data,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PageInfo.FormInfo.ParameterInfo parseFrom​(byte[] data)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PageInfo.FormInfo.ParameterInfo parseFrom​(byte[] data,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

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

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

        protected PageInfo.FormInfo.ParameterInfo.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<PageInfo.FormInfo.ParameterInfo> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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