public static final class PageInfo.FormInfo.ParameterInfo extends GeneratedMessageV3 implements PageInfo.FormInfo.ParameterInfoOrBuilder
Represents parameter information.
Protobuf type google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo
Static Fields
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
JUST_COLLECTED_FIELD_NUMBER
public static final int JUST_COLLECTED_FIELD_NUMBER
Field Value
REQUIRED_FIELD_NUMBER
public static final int REQUIRED_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PageInfo.FormInfo.ParameterInfo getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PageInfo.FormInfo.ParameterInfo.Builder newBuilder()
Returns
newBuilder(PageInfo.FormInfo.ParameterInfo prototype)
public static PageInfo.FormInfo.ParameterInfo.Builder newBuilder(PageInfo.FormInfo.ParameterInfo prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static PageInfo.FormInfo.ParameterInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PageInfo.FormInfo.ParameterInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PageInfo.FormInfo.ParameterInfo parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PageInfo.FormInfo.ParameterInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PageInfo.FormInfo.ParameterInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PageInfo.FormInfo.ParameterInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static PageInfo.FormInfo.ParameterInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PageInfo.FormInfo.ParameterInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static PageInfo.FormInfo.ParameterInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PageInfo.FormInfo.ParameterInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PageInfo.FormInfo.ParameterInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PageInfo.FormInfo.ParameterInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PageInfo.FormInfo.ParameterInfo> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public PageInfo.FormInfo.ParameterInfo getDefaultInstanceForType()
Returns
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
Type |
Description |
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
Type |
Description |
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
Type |
Description |
boolean |
The justCollected.
|
getParserForType()
public Parser<PageInfo.FormInfo.ParameterInfo> getParserForType()
Returns
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
Type |
Description |
boolean |
The required.
|
getSerializedSize()
public int getSerializedSize()
Returns
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.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
Returns
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.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
Returns
Type |
Description |
int |
The enum numeric value on the wire for state.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Type |
Description |
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
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
Type |
Description |
boolean |
Whether the value field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PageInfo.FormInfo.ParameterInfo.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PageInfo.FormInfo.ParameterInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PageInfo.FormInfo.ParameterInfo.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions