public static final class Generator.Placeholder.Builder extends GeneratedMessageV3.Builder<Generator.Placeholder.Builder> implements Generator.PlaceholderOrBuilder
Represents a custom placeholder in the prompt text.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Generator.Placeholder
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 Generator.Placeholder.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Generator.Placeholder build()
buildPartial()
public Generator.Placeholder buildPartial()
clear()
public Generator.Placeholder.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Generator.Placeholder.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearId()
public Generator.Placeholder.Builder clearId()
Unique ID used to map custom placeholder to parameters in fulfillment.
string id = 1;
clearName()
public Generator.Placeholder.Builder clearName()
Custom placeholder value in the prompt text.
string name = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public Generator.Placeholder.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Generator.Placeholder.Builder clone()
Overrides
getDefaultInstanceForType()
public Generator.Placeholder getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getId()
Unique ID used to map custom placeholder to parameters in fulfillment.
string id = 1;
Returns |
Type |
Description |
String |
The id.
|
getIdBytes()
public ByteString getIdBytes()
Unique ID used to map custom placeholder to parameters in fulfillment.
string id = 1;
Returns |
Type |
Description |
ByteString |
The bytes for id.
|
getName()
Custom placeholder value in the prompt text.
string name = 2;
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Custom placeholder value in the prompt text.
string name = 2;
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Generator.Placeholder other)
public Generator.Placeholder.Builder mergeFrom(Generator.Placeholder other)
public Generator.Placeholder.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Generator.Placeholder.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Generator.Placeholder.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Generator.Placeholder.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setId(String value)
public Generator.Placeholder.Builder setId(String value)
Unique ID used to map custom placeholder to parameters in fulfillment.
string id = 1;
Parameter |
Name |
Description |
value |
String
The id to set.
|
setIdBytes(ByteString value)
public Generator.Placeholder.Builder setIdBytes(ByteString value)
Unique ID used to map custom placeholder to parameters in fulfillment.
string id = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for id to set.
|
setName(String value)
public Generator.Placeholder.Builder setName(String value)
Custom placeholder value in the prompt text.
string name = 2;
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public Generator.Placeholder.Builder setNameBytes(ByteString value)
Custom placeholder value in the prompt text.
string name = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Generator.Placeholder.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Generator.Placeholder.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides