Class Fulfillment.SetParameterAction.Builder (0.13.0)

See more code actions.
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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Fulfillment.SetParameterAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

build()

public Fulfillment.SetParameterAction build()
Returns

buildPartial()

public Fulfillment.SetParameterAction buildPartial()
Returns

clear()

public Fulfillment.SetParameterAction.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

public Fulfillment.SetParameterAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Fulfillment.SetParameterAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns Overrides

clearParameter()

public Fulfillment.SetParameterAction.Builder clearParameter()

Display name of the parameter.

string parameter = 1;

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

clone()

public Fulfillment.SetParameterAction.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public Fulfillment.SetParameterAction getDefaultInstanceForType()
Returns

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParameter()

public String getParameter()

Display name of the parameter.

string parameter = 1;

Returns
TypeDescription
String

The parameter.

getParameterBytes()

public ByteString getParameterBytes()

Display name of the parameter.

string parameter = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

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

.google.protobuf.Value value = 2;

Returns
TypeDescription
ValueOrBuilder

hasValue()

public boolean hasValue()

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

.google.protobuf.Value value = 2;

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

public Fulfillment.SetParameterAction.Builder mergeFrom(Fulfillment.SetParameterAction other)
Parameter
NameDescription
otherFulfillment.SetParameterAction
Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Fulfillment.SetParameterAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Fulfillment.SetParameterAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns 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
NameDescription
valueValue
Returns

setField(Descriptors.FieldDescriptor field, Object value)

public Fulfillment.SetParameterAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

setParameter(String value)

public Fulfillment.SetParameterAction.Builder setParameter(String value)

Display name of the parameter.

string parameter = 1;

Parameter
NameDescription
valueString

The parameter to set.

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

The bytes for parameter to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Fulfillment.SetParameterAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns 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
NameDescription
valueValue
Returns

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
NameDescription
builderForValueBuilder
Returns