Class GenerateStatelessSuggestionResponse.Builder (4.59.0)

public static final class GenerateStatelessSuggestionResponse.Builder extends GeneratedMessageV3.Builder<GenerateStatelessSuggestionResponse.Builder> implements GenerateStatelessSuggestionResponseOrBuilder

The response message for Conversations.GenerateStatelessSuggestion.

Protobuf type google.cloud.dialogflow.v2beta1.GenerateStatelessSuggestionResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenerateStatelessSuggestionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder
Overrides

build()

public GenerateStatelessSuggestionResponse build()
Returns
Type Description
GenerateStatelessSuggestionResponse

buildPartial()

public GenerateStatelessSuggestionResponse buildPartial()
Returns
Type Description
GenerateStatelessSuggestionResponse

clear()

public GenerateStatelessSuggestionResponse.Builder clear()
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GenerateStatelessSuggestionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder
Overrides

clearGeneratorSuggestion()

public GenerateStatelessSuggestionResponse.Builder clearGeneratorSuggestion()

Required. Generated suggestion for a conversation.

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

Returns
Type Description
GenerateStatelessSuggestionResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateStatelessSuggestionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder
Overrides

clone()

public GenerateStatelessSuggestionResponse.Builder clone()
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder
Overrides

getDefaultInstanceForType()

public GenerateStatelessSuggestionResponse getDefaultInstanceForType()
Returns
Type Description
GenerateStatelessSuggestionResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGeneratorSuggestion()

public GeneratorSuggestion getGeneratorSuggestion()

Required. Generated suggestion for a conversation.

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

Returns
Type Description
GeneratorSuggestion

The generatorSuggestion.

getGeneratorSuggestionBuilder()

public GeneratorSuggestion.Builder getGeneratorSuggestionBuilder()

Required. Generated suggestion for a conversation.

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

Returns
Type Description
GeneratorSuggestion.Builder

getGeneratorSuggestionOrBuilder()

public GeneratorSuggestionOrBuilder getGeneratorSuggestionOrBuilder()

Required. Generated suggestion for a conversation.

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

Returns
Type Description
GeneratorSuggestionOrBuilder

hasGeneratorSuggestion()

public boolean hasGeneratorSuggestion()

Required. Generated suggestion for a conversation.

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

Returns
Type Description
boolean

Whether the generatorSuggestion field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateStatelessSuggestionResponse other)

public GenerateStatelessSuggestionResponse.Builder mergeFrom(GenerateStatelessSuggestionResponse other)
Parameter
Name Description
other GenerateStatelessSuggestionResponse
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenerateStatelessSuggestionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GenerateStatelessSuggestionResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder
Overrides

mergeGeneratorSuggestion(GeneratorSuggestion value)

public GenerateStatelessSuggestionResponse.Builder mergeGeneratorSuggestion(GeneratorSuggestion value)

Required. Generated suggestion for a conversation.

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

Parameter
Name Description
value GeneratorSuggestion
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateStatelessSuggestionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateStatelessSuggestionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder
Overrides

setGeneratorSuggestion(GeneratorSuggestion value)

public GenerateStatelessSuggestionResponse.Builder setGeneratorSuggestion(GeneratorSuggestion value)

Required. Generated suggestion for a conversation.

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

Parameter
Name Description
value GeneratorSuggestion
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder

setGeneratorSuggestion(GeneratorSuggestion.Builder builderForValue)

public GenerateStatelessSuggestionResponse.Builder setGeneratorSuggestion(GeneratorSuggestion.Builder builderForValue)

Required. Generated suggestion for a conversation.

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

Parameter
Name Description
builderForValue GeneratorSuggestion.Builder
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GenerateStatelessSuggestionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateStatelessSuggestionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateStatelessSuggestionResponse.Builder
Overrides