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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ActionParameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ActionParameter build()
buildPartial()
public ActionParameter buildPartial()
clear()
public ActionParameter.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ActionParameter.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public ActionParameter.Builder clearName()
Required. Name of the parameter.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public ActionParameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearValue()
public ActionParameter.Builder clearValue()
Required. Value of the parameter.
.google.protobuf.Value value = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public ActionParameter.Builder clone()
Overrides
getDefaultInstanceForType()
public ActionParameter getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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()
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];
getValueOrBuilder()
public ValueOrBuilder getValueOrBuilder()
Required. Value of the parameter.
.google.protobuf.Value value = 2 [(.google.api.field_behavior) = REQUIRED];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ActionParameter other)
public ActionParameter.Builder mergeFrom(ActionParameter other)
public ActionParameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ActionParameter.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ActionParameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ActionParameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ActionParameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ActionParameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
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
|
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
|