public final class CompanionSuggestion extends GeneratedMessage implements CompanionSuggestionOrBuilderRepresents a companion suggestion answer.
Protobuf type google.cloud.dialogflow.v2.CompanionSuggestion
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CompanionSuggestionImplements
CompanionSuggestionOrBuilderStatic Fields
GUIDANCES_FIELD_NUMBER
public static final int GUIDANCES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static CompanionSuggestion getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static CompanionSuggestion.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion.Builder |
|
newBuilder(CompanionSuggestion prototype)
public static CompanionSuggestion.Builder newBuilder(CompanionSuggestion prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
CompanionSuggestion |
| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion.Builder |
|
parseDelimitedFrom(InputStream input)
public static CompanionSuggestion parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CompanionSuggestion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static CompanionSuggestion parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CompanionSuggestion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static CompanionSuggestion parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CompanionSuggestion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static CompanionSuggestion parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CompanionSuggestion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static CompanionSuggestion parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CompanionSuggestion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static CompanionSuggestion parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CompanionSuggestion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<CompanionSuggestion> parser()| Returns | |
|---|---|
| Type | Description |
Parser<CompanionSuggestion> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public CompanionSuggestion getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion |
|
getGuidances(int index)
public CompanionSuggestion.Guidance getGuidances(int index)List of guidances generated by the Companion Agent.
repeated .google.cloud.dialogflow.v2.CompanionSuggestion.Guidance guidances = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion.Guidance |
|
getGuidancesCount()
public int getGuidancesCount()List of guidances generated by the Companion Agent.
repeated .google.cloud.dialogflow.v2.CompanionSuggestion.Guidance guidances = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getGuidancesList()
public List<CompanionSuggestion.Guidance> getGuidancesList()List of guidances generated by the Companion Agent.
repeated .google.cloud.dialogflow.v2.CompanionSuggestion.Guidance guidances = 1;
| Returns | |
|---|---|
| Type | Description |
List<Guidance> |
|
getGuidancesOrBuilder(int index)
public CompanionSuggestion.GuidanceOrBuilder getGuidancesOrBuilder(int index)List of guidances generated by the Companion Agent.
repeated .google.cloud.dialogflow.v2.CompanionSuggestion.Guidance guidances = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion.GuidanceOrBuilder |
|
getGuidancesOrBuilderList()
public List<? extends CompanionSuggestion.GuidanceOrBuilder> getGuidancesOrBuilderList()List of guidances generated by the Companion Agent.
repeated .google.cloud.dialogflow.v2.CompanionSuggestion.Guidance guidances = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.dialogflow.v2.CompanionSuggestion.GuidanceOrBuilder> |
|
getParserForType()
public Parser<CompanionSuggestion> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<CompanionSuggestion> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public CompanionSuggestion.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CompanionSuggestion.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion.Builder |
|
toBuilder()
public CompanionSuggestion.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
CompanionSuggestion.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|