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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
JUST_COLLECTED_FIELD_NUMBER
public static final int JUST_COLLECTED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REQUIRED_FIELD_NUMBER
public static final int REQUIRED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static PageInfo.FormInfo.ParameterInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PageInfo.FormInfo.ParameterInfo.Builder newBuilder()
newBuilder(PageInfo.FormInfo.ParameterInfo prototype)
public static PageInfo.FormInfo.ParameterInfo.Builder newBuilder(PageInfo.FormInfo.ParameterInfo prototype)
parseDelimitedFrom(InputStream input)
public static PageInfo.FormInfo.ParameterInfo parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PageInfo.FormInfo.ParameterInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PageInfo.FormInfo.ParameterInfo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PageInfo.FormInfo.ParameterInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PageInfo.FormInfo.ParameterInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PageInfo.FormInfo.ParameterInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static PageInfo.FormInfo.ParameterInfo parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PageInfo.FormInfo.ParameterInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static PageInfo.FormInfo.ParameterInfo parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PageInfo.FormInfo.ParameterInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PageInfo.FormInfo.ParameterInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PageInfo.FormInfo.ParameterInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PageInfo.FormInfo.ParameterInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public PageInfo.FormInfo.ParameterInfo getDefaultInstanceForType()
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()
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 |
Type |
Description |
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.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
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.
|
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;
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 |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PageInfo.FormInfo.ParameterInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PageInfo.FormInfo.ParameterInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PageInfo.FormInfo.ParameterInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides