Class PageInfo.FormInfo.ParameterInfo.Builder (0.52.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.v3.PageInfo.FormInfo.ParameterInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PageInfo.FormInfo.ParameterInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo.Builder
Overrides

build()

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

buildPartial()

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

clear()

public PageInfo.FormInfo.ParameterInfo.Builder clear()
Returns
TypeDescription
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
TypeDescription
PageInfo.FormInfo.ParameterInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PageInfo.FormInfo.ParameterInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
PageInfo.FormInfo.ParameterInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PageInfo.FormInfo.ParameterInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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.v3.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;

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

clone()

public PageInfo.FormInfo.ParameterInfo.Builder clone()
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

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.

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.

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
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PageInfo.FormInfo.ParameterInfo other)

public PageInfo.FormInfo.ParameterInfo.Builder mergeFrom(PageInfo.FormInfo.ParameterInfo other)
Parameter
NameDescription
otherPageInfo.FormInfo.ParameterInfo
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public PageInfo.FormInfo.ParameterInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PageInfo.FormInfo.ParameterInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueValue
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The justCollected to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The required to set.

Returns
TypeDescription
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.v3.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;

Parameter
NameDescription
valuePageInfo.FormInfo.ParameterInfo.ParameterState

The state to set.

Returns
TypeDescription
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.v3.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PageInfo.FormInfo.ParameterInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
PageInfo.FormInfo.ParameterInfo.Builder