Class GenerateStatelessSuggestionResponse (4.59.0)

public final class GenerateStatelessSuggestionResponse extends GeneratedMessageV3 implements GenerateStatelessSuggestionResponseOrBuilder

The response message for Conversations.GenerateStatelessSuggestion.

Protobuf type google.cloud.dialogflow.v2.GenerateStatelessSuggestionResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GenerateStatelessSuggestionResponse

Static Fields

GENERATOR_SUGGESTION_FIELD_NUMBER

public static final int GENERATOR_SUGGESTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GenerateStatelessSuggestionResponse getDefaultInstance()
Returns
Type Description
GenerateStatelessSuggestionResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GenerateStatelessSuggestionResponse.Builder newBuilder()
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder

newBuilder(GenerateStatelessSuggestionResponse prototype)

public static GenerateStatelessSuggestionResponse.Builder newBuilder(GenerateStatelessSuggestionResponse prototype)
Parameter
Name Description
prototype GenerateStatelessSuggestionResponse
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder

parseDelimitedFrom(InputStream input)

public static GenerateStatelessSuggestionResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateStatelessSuggestionResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateStatelessSuggestionResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateStatelessSuggestionResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GenerateStatelessSuggestionResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GenerateStatelessSuggestionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerateStatelessSuggestionResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateStatelessSuggestionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerateStatelessSuggestionResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GenerateStatelessSuggestionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerateStatelessSuggestionResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateStatelessSuggestionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerateStatelessSuggestionResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GenerateStatelessSuggestionResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateStatelessSuggestionResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateStatelessSuggestionResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GenerateStatelessSuggestionResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateStatelessSuggestionResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateStatelessSuggestionResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateStatelessSuggestionResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GenerateStatelessSuggestionResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GenerateStatelessSuggestionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerateStatelessSuggestionResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateStatelessSuggestionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GenerateStatelessSuggestionResponse> parser()
Returns
Type Description
Parser<GenerateStatelessSuggestionResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GenerateStatelessSuggestionResponse getDefaultInstanceForType()
Returns
Type Description
GenerateStatelessSuggestionResponse

getGeneratorSuggestion()

public GeneratorSuggestion getGeneratorSuggestion()

Required. Generated suggestion for a conversation.

.google.cloud.dialogflow.v2.GeneratorSuggestion generator_suggestion = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GeneratorSuggestion

The generatorSuggestion.

getGeneratorSuggestionOrBuilder()

public GeneratorSuggestionOrBuilder getGeneratorSuggestionOrBuilder()

Required. Generated suggestion for a conversation.

.google.cloud.dialogflow.v2.GeneratorSuggestion generator_suggestion = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GeneratorSuggestionOrBuilder

getParserForType()

public Parser<GenerateStatelessSuggestionResponse> getParserForType()
Returns
Type Description
Parser<GenerateStatelessSuggestionResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasGeneratorSuggestion()

public boolean hasGeneratorSuggestion()

Required. Generated suggestion for a conversation.

.google.cloud.dialogflow.v2.GeneratorSuggestion generator_suggestion = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the generatorSuggestion field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GenerateStatelessSuggestionResponse.Builder newBuilderForType()
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GenerateStatelessSuggestionResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GenerateStatelessSuggestionResponse.Builder toBuilder()
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException