Class Fulfillment.SetParameterAction.Builder (0.14.1)

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
TypeDescription
Fulfillment.SetParameterAction.Builder
Overrides

build()

public Fulfillment.SetParameterAction build()
Returns
TypeDescription
Fulfillment.SetParameterAction

buildPartial()

public Fulfillment.SetParameterAction buildPartial()
Returns
TypeDescription
Fulfillment.SetParameterAction

clear()

public Fulfillment.SetParameterAction.Builder clear()
Returns
TypeDescription
Fulfillment.SetParameterAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Fulfillment.SetParameterAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Fulfillment.SetParameterAction.Builder
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
TypeDescription
Fulfillment.SetParameterAction.Builder

clone()

public Fulfillment.SetParameterAction.Builder clone()
Returns
TypeDescription
Fulfillment.SetParameterAction.Builder
Overrides

getDefaultInstanceForType()

public Fulfillment.SetParameterAction getDefaultInstanceForType()
Returns
TypeDescription
Fulfillment.SetParameterAction

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
TypeDescription
Fulfillment.SetParameterAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Fulfillment.SetParameterAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Fulfillment.SetParameterAction.Builder
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
TypeDescription
Fulfillment.SetParameterAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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