Class PageInfo.FormInfo.ParameterInfo (0.52.0)

public static final class PageInfo.FormInfo.ParameterInfo extends GeneratedMessageV3 implements PageInfo.FormInfo.ParameterInfoOrBuilder

Represents parameter information.

Protobuf type google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PageInfo.FormInfo.ParameterInfo

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

JUST_COLLECTED_FIELD_NUMBER

public static final int JUST_COLLECTED_FIELD_NUMBER
Field Value
TypeDescription
int

REQUIRED_FIELD_NUMBER

public static final int REQUIRED_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PageInfo.FormInfo.ParameterInfo getDefaultInstance()
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PageInfo.FormInfo.ParameterInfo.Builder newBuilder()
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo.Builder

newBuilder(PageInfo.FormInfo.ParameterInfo prototype)

public static PageInfo.FormInfo.ParameterInfo.Builder newBuilder(PageInfo.FormInfo.ParameterInfo prototype)
Parameter
NameDescription
prototypePageInfo.FormInfo.ParameterInfo
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo.Builder

parseDelimitedFrom(InputStream input)

public static PageInfo.FormInfo.ParameterInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PageInfo.FormInfo.ParameterInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PageInfo.FormInfo.ParameterInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PageInfo.FormInfo.ParameterInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PageInfo.FormInfo.ParameterInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PageInfo.FormInfo.ParameterInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PageInfo.FormInfo.ParameterInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PageInfo.FormInfo.ParameterInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PageInfo.FormInfo.ParameterInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PageInfo.FormInfo.ParameterInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PageInfo.FormInfo.ParameterInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PageInfo.FormInfo.ParameterInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PageInfo.FormInfo.ParameterInfo> parser()
Returns
TypeDescription
Parser<ParameterInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PageInfo.FormInfo.ParameterInfo getDefaultInstanceForType()
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo

getDisplayName()

public String getDisplayName()

Always present for WebhookRequest. Required for 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
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Always present for WebhookRequest. Required for 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
TypeDescription
ByteString

The bytes for displayName.

getJustCollected()

public boolean getJustCollected()

Optional for WebhookRequest. Ignored for WebhookResponse. Indicates if the parameter value was just collected on the last conversation turn.

bool just_collected = 5;

Returns
TypeDescription
boolean

The justCollected.

getParserForType()

public Parser<PageInfo.FormInfo.ParameterInfo> getParserForType()
Returns
TypeDescription
Parser<ParameterInfo>
Overrides

getRequired()

public boolean getRequired()

Optional for both WebhookRequest and 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
TypeDescription
boolean

The required.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public PageInfo.FormInfo.ParameterInfo.ParameterState getState()

Always present for WebhookRequest. Required for WebhookResponse. The state of the parameter. This field can be set to 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
TypeDescription
PageInfo.FormInfo.ParameterInfo.ParameterState

The state.

getStateValue()

public int getStateValue()

Always present for WebhookRequest. Required for WebhookResponse. The state of the parameter. This field can be set to 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
TypeDescription
int

The enum numeric value on the wire for state.

getValue()

public Value getValue()

Optional for both WebhookRequest and WebhookResponse. The value of the parameter. This field can be set by the webhook to change the parameter value.

.google.protobuf.Value value = 4;

Returns
TypeDescription
Value

The value.

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

Optional for both WebhookRequest and WebhookResponse. The value of the parameter. This field can be set by the webhook to change the parameter value.

.google.protobuf.Value value = 4;

Returns
TypeDescription
ValueOrBuilder

hasValue()

public boolean hasValue()

Optional for both WebhookRequest and WebhookResponse. The value of the parameter. This field can be set by the webhook to change the parameter value.

.google.protobuf.Value value = 4;

Returns
TypeDescription
boolean

Whether the value field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PageInfo.FormInfo.ParameterInfo.Builder newBuilderForType()
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PageInfo.FormInfo.ParameterInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PageInfo.FormInfo.ParameterInfo.Builder toBuilder()
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException