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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
RBM_SUGGESTION_FIELD_NUMBER
public static final int RBM_SUGGESTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Intent.Message.RbmText getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Intent.Message.RbmText.Builder newBuilder()
newBuilder(Intent.Message.RbmText prototype)
public static Intent.Message.RbmText.Builder newBuilder(Intent.Message.RbmText prototype)
parseDelimitedFrom(InputStream input)
public static Intent.Message.RbmText parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmText parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Intent.Message.RbmText parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmText parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Intent.Message.RbmText parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmText parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static Intent.Message.RbmText parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmText parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static Intent.Message.RbmText parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmText parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Intent.Message.RbmText parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmText parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Intent.Message.RbmText> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Intent.Message.RbmText getDefaultInstanceForType()
getParserForType()
public Parser<Intent.Message.RbmText> getParserForType()
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
|
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> |
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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 |
Type |
Description |
ByteString |
The bytes for text.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Intent.Message.RbmText.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.RbmText.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Intent.Message.RbmText.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides