public static final class Intent.Message.RbmText extends GeneratedMessageV3 implements Intent.Message.RbmTextOrBuilder
Rich Business Messaging (RBM) text response with suggestions.
Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmText
Static Fields
RBM_SUGGESTION_FIELD_NUMBER
public static final int RBM_SUGGESTION_FIELD_NUMBER
Field Value
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Intent.Message.RbmText getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Intent.Message.RbmText.Builder newBuilder()
Returns
newBuilder(Intent.Message.RbmText prototype)
public static Intent.Message.RbmText.Builder newBuilder(Intent.Message.RbmText prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static Intent.Message.RbmText parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmText parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Intent.Message.RbmText parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmText parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Intent.Message.RbmText parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmText parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static Intent.Message.RbmText parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmText parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static Intent.Message.RbmText parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmText parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Intent.Message.RbmText parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmText parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Intent.Message.RbmText> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Intent.Message.RbmText getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Intent.Message.RbmText> getParserForType()
Returns
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
|
Returns
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
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;
Returns
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
|
Returns
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> |
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Intent.Message.RbmText.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.RbmText.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Intent.Message.RbmText.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions