Class PageInfo.FormInfo.ParameterInfo.Builder (0.22.0)

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

Represents parameter information.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PageInfo.FormInfo.ParameterInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder
Overrides

build()

public PageInfo.FormInfo.ParameterInfo build()
Returns
Type Description
PageInfo.FormInfo.ParameterInfo

buildPartial()

public PageInfo.FormInfo.ParameterInfo buildPartial()
Returns
Type Description
PageInfo.FormInfo.ParameterInfo

clear()

public PageInfo.FormInfo.ParameterInfo.Builder clear()
Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder
Overrides

clearDisplayName()

public PageInfo.FormInfo.ParameterInfo.Builder clearDisplayName()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PageInfo.FormInfo.ParameterInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder
Overrides

clearJustCollected()

public PageInfo.FormInfo.ParameterInfo.Builder clearJustCollected()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PageInfo.FormInfo.ParameterInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder
Overrides

clearRequired()

public PageInfo.FormInfo.ParameterInfo.Builder clearRequired()

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

This builder for chaining.

clearState()

public PageInfo.FormInfo.ParameterInfo.Builder clearState()

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

This builder for chaining.

clearValue()

public PageInfo.FormInfo.ParameterInfo.Builder clearValue()

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

clone()

public PageInfo.FormInfo.ParameterInfo.Builder clone()
Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder
Overrides

getDefaultInstanceForType()

public PageInfo.FormInfo.ParameterInfo getDefaultInstanceForType()
Returns
Type Description
PageInfo.FormInfo.ParameterInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

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
Type Description
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.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;

Returns
Type Description
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
Type Description
Value

The value.

getValueBuilder()

public Value.Builder getValueBuilder()

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
Builder

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
Type Description
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
Type Description
boolean

Whether the value field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PageInfo.FormInfo.ParameterInfo other)

public PageInfo.FormInfo.ParameterInfo.Builder mergeFrom(PageInfo.FormInfo.ParameterInfo other)
Parameter
Name Description
other PageInfo.FormInfo.ParameterInfo
Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PageInfo.FormInfo.ParameterInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public PageInfo.FormInfo.ParameterInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PageInfo.FormInfo.ParameterInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder
Overrides

mergeValue(Value value)

public PageInfo.FormInfo.ParameterInfo.Builder mergeValue(Value value)

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;

Parameter
Name Description
value Value
Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder

setDisplayName(String value)

public PageInfo.FormInfo.ParameterInfo.Builder setDisplayName(String value)

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;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public PageInfo.FormInfo.ParameterInfo.Builder setDisplayNameBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PageInfo.FormInfo.ParameterInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder
Overrides

setJustCollected(boolean value)

public PageInfo.FormInfo.ParameterInfo.Builder setJustCollected(boolean value)

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

bool just_collected = 5;

Parameter
Name Description
value boolean

The justCollected to set.

Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PageInfo.FormInfo.ParameterInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder
Overrides

setRequired(boolean value)

public PageInfo.FormInfo.ParameterInfo.Builder setRequired(boolean value)

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;

Parameter
Name Description
value boolean

The required to set.

Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder

This builder for chaining.

setState(PageInfo.FormInfo.ParameterInfo.ParameterState value)

public PageInfo.FormInfo.ParameterInfo.Builder setState(PageInfo.FormInfo.ParameterInfo.ParameterState value)

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;

Parameter
Name Description
value PageInfo.FormInfo.ParameterInfo.ParameterState

The state to set.

Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder

This builder for chaining.

setStateValue(int value)

public PageInfo.FormInfo.ParameterInfo.Builder setStateValue(int value)

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;

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PageInfo.FormInfo.ParameterInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder
Overrides

setValue(Value value)

public PageInfo.FormInfo.ParameterInfo.Builder setValue(Value value)

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;

Parameter
Name Description
value Value
Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder

setValue(Value.Builder builderForValue)

public PageInfo.FormInfo.ParameterInfo.Builder setValue(Value.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PageInfo.FormInfo.ParameterInfo.Builder