public static final class Intent.Message.RbmText.Builder extends GeneratedMessageV3.Builder<Intent.Message.RbmText.Builder> implements Intent.Message.RbmTextOrBuilder
Rich Business Messaging (RBM) text response with suggestions.
Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmText
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
addAllRbmSuggestion(Iterable<? extends Intent.Message.RbmSuggestion> values)
public Intent.Message.RbmText.Builder addAllRbmSuggestion(Iterable<? extends Intent.Message.RbmSuggestion> values)
Optional. One or more suggestions to show to the user.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion rbm_suggestion = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion>
|
addRbmSuggestion(Intent.Message.RbmSuggestion value)
public Intent.Message.RbmText.Builder addRbmSuggestion(Intent.Message.RbmSuggestion value)
Optional. One or more suggestions to show to the user.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion rbm_suggestion = 2;
addRbmSuggestion(Intent.Message.RbmSuggestion.Builder builderForValue)
public Intent.Message.RbmText.Builder addRbmSuggestion(Intent.Message.RbmSuggestion.Builder builderForValue)
Optional. One or more suggestions to show to the user.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion rbm_suggestion = 2;
addRbmSuggestion(int index, Intent.Message.RbmSuggestion value)
public Intent.Message.RbmText.Builder addRbmSuggestion(int index, Intent.Message.RbmSuggestion value)
Optional. One or more suggestions to show to the user.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion rbm_suggestion = 2;
addRbmSuggestion(int index, Intent.Message.RbmSuggestion.Builder builderForValue)
public Intent.Message.RbmText.Builder addRbmSuggestion(int index, Intent.Message.RbmSuggestion.Builder builderForValue)
Optional. One or more suggestions to show to the user.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion rbm_suggestion = 2;
addRbmSuggestionBuilder()
public Intent.Message.RbmSuggestion.Builder addRbmSuggestionBuilder()
Optional. One or more suggestions to show to the user.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion rbm_suggestion = 2;
addRbmSuggestionBuilder(int index)
public Intent.Message.RbmSuggestion.Builder addRbmSuggestionBuilder(int index)
Optional. One or more suggestions to show to the user.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion rbm_suggestion = 2;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmText.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Intent.Message.RbmText build()
buildPartial()
public Intent.Message.RbmText buildPartial()
clear()
public Intent.Message.RbmText.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.RbmText.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.RbmText.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRbmSuggestion()
public Intent.Message.RbmText.Builder clearRbmSuggestion()
Optional. One or more suggestions to show to the user.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion rbm_suggestion = 2;
clearText()
public Intent.Message.RbmText.Builder clearText()
Required. Text sent and displayed to the user.
string text = 1;
clone()
public Intent.Message.RbmText.Builder clone()
Overrides
getDefaultInstanceForType()
public Intent.Message.RbmText getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRbmSuggestion(int index)
public Intent.Message.RbmSuggestion getRbmSuggestion(int index)
Optional. One or more suggestions to show to the user.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion rbm_suggestion = 2;
Parameter |
Name |
Description |
index |
int
|
getRbmSuggestionBuilder(int index)
public Intent.Message.RbmSuggestion.Builder getRbmSuggestionBuilder(int index)
Optional. One or more suggestions to show to the user.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion rbm_suggestion = 2;
Parameter |
Name |
Description |
index |
int
|
getRbmSuggestionBuilderList()
public List<Intent.Message.RbmSuggestion.Builder> getRbmSuggestionBuilderList()
Optional. One or more suggestions to show to the user.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion rbm_suggestion = 2;
getRbmSuggestionCount()
public int getRbmSuggestionCount()
Optional. One or more suggestions to show to the user.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion rbm_suggestion = 2;
Returns |
Type |
Description |
int |
|
getRbmSuggestionList()
public List<Intent.Message.RbmSuggestion> getRbmSuggestionList()
Optional. One or more suggestions to show to the user.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion rbm_suggestion = 2;
getRbmSuggestionOrBuilder(int index)
public Intent.Message.RbmSuggestionOrBuilder getRbmSuggestionOrBuilder(int index)
Optional. One or more suggestions to show to the user.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion rbm_suggestion = 2;
Parameter |
Name |
Description |
index |
int
|
getRbmSuggestionOrBuilderList()
public List<? extends Intent.Message.RbmSuggestionOrBuilder> getRbmSuggestionOrBuilderList()
Optional. One or more suggestions to show to the user.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion rbm_suggestion = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestionOrBuilder> |
|
getText()
Required. Text sent and displayed to the user.
string text = 1;
Returns |
Type |
Description |
String |
The text.
|
getTextBytes()
public ByteString getTextBytes()
Required. Text sent and displayed to the user.
string text = 1;
Returns |
Type |
Description |
ByteString |
The bytes for text.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Intent.Message.RbmText other)
public Intent.Message.RbmText.Builder mergeFrom(Intent.Message.RbmText other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Intent.Message.RbmText.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Intent.Message.RbmText.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmText.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeRbmSuggestion(int index)
public Intent.Message.RbmText.Builder removeRbmSuggestion(int index)
Optional. One or more suggestions to show to the user.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion rbm_suggestion = 2;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmText.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRbmSuggestion(int index, Intent.Message.RbmSuggestion value)
public Intent.Message.RbmText.Builder setRbmSuggestion(int index, Intent.Message.RbmSuggestion value)
Optional. One or more suggestions to show to the user.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion rbm_suggestion = 2;
setRbmSuggestion(int index, Intent.Message.RbmSuggestion.Builder builderForValue)
public Intent.Message.RbmText.Builder setRbmSuggestion(int index, Intent.Message.RbmSuggestion.Builder builderForValue)
Optional. One or more suggestions to show to the user.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion rbm_suggestion = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.RbmText.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setText(String value)
public Intent.Message.RbmText.Builder setText(String value)
Required. Text sent and displayed to the user.
string text = 1;
Parameter |
Name |
Description |
value |
String
The text to set.
|
setTextBytes(ByteString value)
public Intent.Message.RbmText.Builder setTextBytes(ByteString value)
Required. Text sent and displayed to the user.
string text = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for text to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmText.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides