- 0.63.0 (latest)
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class Form.Parameter.Builder extends GeneratedMessageV3.Builder<Form.Parameter.Builder> implements Form.ParameterOrBuilder
Represents a form parameter.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Form.Parameter
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Form.Parameter.BuilderImplements
Form.ParameterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Form.Parameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Form.Parameter.Builder |
build()
public Form.Parameter build()
Type | Description |
Form.Parameter |
buildPartial()
public Form.Parameter buildPartial()
Type | Description |
Form.Parameter |
clear()
public Form.Parameter.Builder clear()
Type | Description |
Form.Parameter.Builder |
clearDefaultValue()
public Form.Parameter.Builder clearDefaultValue()
The default value of an optional parameter. If the parameter is required, the default value will be ignored.
.google.protobuf.Value default_value = 9;
Type | Description |
Form.Parameter.Builder |
clearDisplayName()
public Form.Parameter.Builder clearDisplayName()
Required. The human-readable name of the parameter, unique within the form.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Form.Parameter.Builder | This builder for chaining. |
clearEntityType()
public Form.Parameter.Builder clearEntityType()
Required. The entity type of the parameter.
Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type
ID>
for system entity types (for example,
projects/-/locations/-/agents/-/entityTypes/sys.date
), or
projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/entityTypes/<Entity Type ID>
for developer entity types.
string entity_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
Form.Parameter.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Form.Parameter.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Form.Parameter.Builder |
clearFillBehavior()
public Form.Parameter.Builder clearFillBehavior()
Required. Defines fill behavior for the parameter.
.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior fill_behavior = 7 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Form.Parameter.Builder |
clearIsList()
public Form.Parameter.Builder clearIsList()
Indicates whether the parameter represents a list of values.
bool is_list = 4;
Type | Description |
Form.Parameter.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Form.Parameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Form.Parameter.Builder |
clearRedact()
public Form.Parameter.Builder clearRedact()
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
bool redact = 11;
Type | Description |
Form.Parameter.Builder | This builder for chaining. |
clearRequired()
public Form.Parameter.Builder clearRequired()
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;
Type | Description |
Form.Parameter.Builder | This builder for chaining. |
clone()
public Form.Parameter.Builder clone()
Type | Description |
Form.Parameter.Builder |
getDefaultInstanceForType()
public Form.Parameter getDefaultInstanceForType()
Type | Description |
Form.Parameter |
getDefaultValue()
public Value getDefaultValue()
The default value of an optional parameter. If the parameter is required, the default value will be ignored.
.google.protobuf.Value default_value = 9;
Type | Description |
Value | The defaultValue. |
getDefaultValueBuilder()
public Value.Builder getDefaultValueBuilder()
The default value of an optional parameter. If the parameter is required, the default value will be ignored.
.google.protobuf.Value default_value = 9;
Type | Description |
Builder |
getDefaultValueOrBuilder()
public ValueOrBuilder getDefaultValueOrBuilder()
The default value of an optional parameter. If the parameter is required, the default value will be ignored.
.google.protobuf.Value default_value = 9;
Type | Description |
ValueOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Required. The human-readable name of the parameter, unique within the form.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. The human-readable name of the parameter, unique within the form.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for displayName. |
getEntityType()
public String getEntityType()
Required. The entity type of the parameter.
Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type
ID>
for system entity types (for example,
projects/-/locations/-/agents/-/entityTypes/sys.date
), or
projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/entityTypes/<Entity Type ID>
for developer entity types.
string entity_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The entityType. |
getEntityTypeBytes()
public ByteString getEntityTypeBytes()
Required. The entity type of the parameter.
Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type
ID>
for system entity types (for example,
projects/-/locations/-/agents/-/entityTypes/sys.date
), or
projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/entityTypes/<Entity Type ID>
for developer entity types.
string entity_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for entityType. |
getFillBehavior()
public Form.Parameter.FillBehavior getFillBehavior()
Required. Defines fill behavior for the parameter.
.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior fill_behavior = 7 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Form.Parameter.FillBehavior | The fillBehavior. |
getFillBehaviorBuilder()
public Form.Parameter.FillBehavior.Builder getFillBehaviorBuilder()
Required. Defines fill behavior for the parameter.
.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior fill_behavior = 7 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Form.Parameter.FillBehavior.Builder |
getFillBehaviorOrBuilder()
public Form.Parameter.FillBehaviorOrBuilder getFillBehaviorOrBuilder()
Required. Defines fill behavior for the parameter.
.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior fill_behavior = 7 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Form.Parameter.FillBehaviorOrBuilder |
getIsList()
public boolean getIsList()
Indicates whether the parameter represents a list of values.
bool is_list = 4;
Type | Description |
boolean | The isList. |
getRedact()
public boolean getRedact()
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
bool redact = 11;
Type | Description |
boolean | The redact. |
getRequired()
public boolean getRequired()
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;
Type | Description |
boolean | The required. |
hasDefaultValue()
public boolean hasDefaultValue()
The default value of an optional parameter. If the parameter is required, the default value will be ignored.
.google.protobuf.Value default_value = 9;
Type | Description |
boolean | Whether the defaultValue field is set. |
hasFillBehavior()
public boolean hasFillBehavior()
Required. Defines fill behavior for the parameter.
.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior fill_behavior = 7 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the fillBehavior field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeDefaultValue(Value value)
public Form.Parameter.Builder mergeDefaultValue(Value value)
The default value of an optional parameter. If the parameter is required, the default value will be ignored.
.google.protobuf.Value default_value = 9;
Name | Description |
value | Value |
Type | Description |
Form.Parameter.Builder |
mergeFillBehavior(Form.Parameter.FillBehavior value)
public Form.Parameter.Builder mergeFillBehavior(Form.Parameter.FillBehavior value)
Required. Defines fill behavior for the parameter.
.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior fill_behavior = 7 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Form.Parameter.FillBehavior |
Type | Description |
Form.Parameter.Builder |
mergeFrom(Form.Parameter other)
public Form.Parameter.Builder mergeFrom(Form.Parameter other)
Name | Description |
other | Form.Parameter |
Type | Description |
Form.Parameter.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Form.Parameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Form.Parameter.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Form.Parameter.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Form.Parameter.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Form.Parameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Form.Parameter.Builder |
setDefaultValue(Value value)
public Form.Parameter.Builder setDefaultValue(Value value)
The default value of an optional parameter. If the parameter is required, the default value will be ignored.
.google.protobuf.Value default_value = 9;
Name | Description |
value | Value |
Type | Description |
Form.Parameter.Builder |
setDefaultValue(Value.Builder builderForValue)
public Form.Parameter.Builder setDefaultValue(Value.Builder builderForValue)
The default value of an optional parameter. If the parameter is required, the default value will be ignored.
.google.protobuf.Value default_value = 9;
Name | Description |
builderForValue | Builder |
Type | Description |
Form.Parameter.Builder |
setDisplayName(String value)
public Form.Parameter.Builder setDisplayName(String value)
Required. The human-readable name of the parameter, unique within the form.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The displayName to set. |
Type | Description |
Form.Parameter.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Form.Parameter.Builder setDisplayNameBytes(ByteString value)
Required. The human-readable name of the parameter, unique within the form.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
Form.Parameter.Builder | This builder for chaining. |
setEntityType(String value)
public Form.Parameter.Builder setEntityType(String value)
Required. The entity type of the parameter.
Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type
ID>
for system entity types (for example,
projects/-/locations/-/agents/-/entityTypes/sys.date
), or
projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/entityTypes/<Entity Type ID>
for developer entity types.
string entity_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The entityType to set. |
Type | Description |
Form.Parameter.Builder | This builder for chaining. |
setEntityTypeBytes(ByteString value)
public Form.Parameter.Builder setEntityTypeBytes(ByteString value)
Required. The entity type of the parameter.
Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type
ID>
for system entity types (for example,
projects/-/locations/-/agents/-/entityTypes/sys.date
), or
projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/entityTypes/<Entity Type ID>
for developer entity types.
string entity_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for entityType to set. |
Type | Description |
Form.Parameter.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Form.Parameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Form.Parameter.Builder |
setFillBehavior(Form.Parameter.FillBehavior value)
public Form.Parameter.Builder setFillBehavior(Form.Parameter.FillBehavior value)
Required. Defines fill behavior for the parameter.
.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior fill_behavior = 7 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Form.Parameter.FillBehavior |
Type | Description |
Form.Parameter.Builder |
setFillBehavior(Form.Parameter.FillBehavior.Builder builderForValue)
public Form.Parameter.Builder setFillBehavior(Form.Parameter.FillBehavior.Builder builderForValue)
Required. Defines fill behavior for the parameter.
.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior fill_behavior = 7 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | Form.Parameter.FillBehavior.Builder |
Type | Description |
Form.Parameter.Builder |
setIsList(boolean value)
public Form.Parameter.Builder setIsList(boolean value)
Indicates whether the parameter represents a list of values.
bool is_list = 4;
Name | Description |
value | boolean The isList to set. |
Type | Description |
Form.Parameter.Builder | This builder for chaining. |
setRedact(boolean value)
public Form.Parameter.Builder setRedact(boolean value)
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
bool redact = 11;
Name | Description |
value | boolean The redact to set. |
Type | Description |
Form.Parameter.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Form.Parameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Form.Parameter.Builder |
setRequired(boolean value)
public Form.Parameter.Builder setRequired(boolean value)
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;
Name | Description |
value | boolean The required to set. |
Type | Description |
Form.Parameter.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Form.Parameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Form.Parameter.Builder |