Class Fulfillment.SetParameterAction.Builder (0.56.0)

public static final class Fulfillment.SetParameterAction.Builder extends GeneratedMessageV3.Builder<Fulfillment.SetParameterAction.Builder> implements Fulfillment.SetParameterActionOrBuilder

Setting a parameter value.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Fulfillment.SetParameterAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Fulfillment.SetParameterAction.Builder
Overrides

build()

public Fulfillment.SetParameterAction build()
Returns
Type Description
Fulfillment.SetParameterAction

buildPartial()

public Fulfillment.SetParameterAction buildPartial()
Returns
Type Description
Fulfillment.SetParameterAction

clear()

public Fulfillment.SetParameterAction.Builder clear()
Returns
Type Description
Fulfillment.SetParameterAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Fulfillment.SetParameterAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Fulfillment.SetParameterAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Fulfillment.SetParameterAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Fulfillment.SetParameterAction.Builder
Overrides

clearParameter()

public Fulfillment.SetParameterAction.Builder clearParameter()

Display name of the parameter.

string parameter = 1;

Returns
Type Description
Fulfillment.SetParameterAction.Builder

This builder for chaining.

clearValue()

public Fulfillment.SetParameterAction.Builder clearValue()

The new value of the parameter. A null value clears the parameter.

.google.protobuf.Value value = 2;

Returns
Type Description
Fulfillment.SetParameterAction.Builder

clone()

public Fulfillment.SetParameterAction.Builder clone()
Returns
Type Description
Fulfillment.SetParameterAction.Builder
Overrides

getDefaultInstanceForType()

public Fulfillment.SetParameterAction getDefaultInstanceForType()
Returns
Type Description
Fulfillment.SetParameterAction

getDescriptorForType()

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

getParameter()

public String getParameter()

Display name of the parameter.

string parameter = 1;

Returns
Type Description
String

The parameter.

getParameterBytes()

public ByteString getParameterBytes()

Display name of the parameter.

string parameter = 1;

Returns
Type Description
ByteString

The bytes for parameter.

getValue()

public Value getValue()

The new value of the parameter. A null value clears the parameter.

.google.protobuf.Value value = 2;

Returns
Type Description
Value

The value.

getValueBuilder()

public Value.Builder getValueBuilder()

The new value of the parameter. A null value clears the parameter.

.google.protobuf.Value value = 2;

Returns
Type Description
Builder

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

The new value of the parameter. A null value clears the parameter.

.google.protobuf.Value value = 2;

Returns
Type Description
ValueOrBuilder

hasValue()

public boolean hasValue()

The new value of the parameter. A null value clears the parameter.

.google.protobuf.Value value = 2;

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(Fulfillment.SetParameterAction other)

public Fulfillment.SetParameterAction.Builder mergeFrom(Fulfillment.SetParameterAction other)
Parameter
Name Description
other Fulfillment.SetParameterAction
Returns
Type Description
Fulfillment.SetParameterAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Fulfillment.SetParameterAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Fulfillment.SetParameterAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Fulfillment.SetParameterAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Fulfillment.SetParameterAction.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Fulfillment.SetParameterAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Fulfillment.SetParameterAction.Builder
Overrides

mergeValue(Value value)

public Fulfillment.SetParameterAction.Builder mergeValue(Value value)

The new value of the parameter. A null value clears the parameter.

.google.protobuf.Value value = 2;

Parameter
Name Description
value Value
Returns
Type Description
Fulfillment.SetParameterAction.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Fulfillment.SetParameterAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Fulfillment.SetParameterAction.Builder
Overrides

setParameter(String value)

public Fulfillment.SetParameterAction.Builder setParameter(String value)

Display name of the parameter.

string parameter = 1;

Parameter
Name Description
value String

The parameter to set.

Returns
Type Description
Fulfillment.SetParameterAction.Builder

This builder for chaining.

setParameterBytes(ByteString value)

public Fulfillment.SetParameterAction.Builder setParameterBytes(ByteString value)

Display name of the parameter.

string parameter = 1;

Parameter
Name Description
value ByteString

The bytes for parameter to set.

Returns
Type Description
Fulfillment.SetParameterAction.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Fulfillment.SetParameterAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Fulfillment.SetParameterAction.Builder
Overrides

setValue(Value value)

public Fulfillment.SetParameterAction.Builder setValue(Value value)

The new value of the parameter. A null value clears the parameter.

.google.protobuf.Value value = 2;

Parameter
Name Description
value Value
Returns
Type Description
Fulfillment.SetParameterAction.Builder

setValue(Value.Builder builderForValue)

public Fulfillment.SetParameterAction.Builder setValue(Value.Builder builderForValue)

The new value of the parameter. A null value clears the parameter.

.google.protobuf.Value value = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Fulfillment.SetParameterAction.Builder