Class ActionParameter.Builder (0.53.0)

public static final class ActionParameter.Builder extends GeneratedMessageV3.Builder<ActionParameter.Builder> implements ActionParameterOrBuilder

Parameter associated with action.

Protobuf type google.cloud.dialogflow.cx.v3beta1.ActionParameter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ActionParameter build()
Returns
Type Description
ActionParameter

buildPartial()

public ActionParameter buildPartial()
Returns
Type Description
ActionParameter

clear()

public ActionParameter.Builder clear()
Returns
Type Description
ActionParameter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ActionParameter.Builder clearName()

Required. Name of the parameter.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ActionParameter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValue()

public ActionParameter.Builder clearValue()

Required. Value of the parameter.

.google.protobuf.Value value = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ActionParameter.Builder

clone()

public ActionParameter.Builder clone()
Returns
Type Description
ActionParameter.Builder
Overrides

getDefaultInstanceForType()

public ActionParameter getDefaultInstanceForType()
Returns
Type Description
ActionParameter

getDescriptorForType()

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

getName()

public String getName()

Required. Name of the parameter.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the parameter.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getValue()

public Value getValue()

Required. Value of the parameter.

.google.protobuf.Value value = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Value

The value.

getValueBuilder()

public Value.Builder getValueBuilder()

Required. Value of the parameter.

.google.protobuf.Value value = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

Required. Value of the parameter.

.google.protobuf.Value value = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ValueOrBuilder

hasValue()

public boolean hasValue()

Required. Value of the parameter.

.google.protobuf.Value value = 2 [(.google.api.field_behavior) = REQUIRED];

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(ActionParameter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeValue(Value value)

public ActionParameter.Builder mergeValue(Value value)

Required. Value of the parameter.

.google.protobuf.Value value = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Value
Returns
Type Description
ActionParameter.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ActionParameter.Builder setName(String value)

Required. Name of the parameter.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ActionParameter.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ActionParameter.Builder setNameBytes(ByteString value)

Required. Name of the parameter.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ActionParameter.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValue(Value value)

public ActionParameter.Builder setValue(Value value)

Required. Value of the parameter.

.google.protobuf.Value value = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Value
Returns
Type Description
ActionParameter.Builder

setValue(Value.Builder builderForValue)

public ActionParameter.Builder setValue(Value.Builder builderForValue)

Required. Value of the parameter.

.google.protobuf.Value value = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ActionParameter.Builder