public static final class GenerateStatelessSuggestionResponse.Builder extends GeneratedMessageV3.Builder<GenerateStatelessSuggestionResponse.Builder> implements GenerateStatelessSuggestionResponseOrBuilder
The response message for
Conversations.GenerateStatelessSuggestion.
Protobuf type google.cloud.dialogflow.v2.GenerateStatelessSuggestionResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateStatelessSuggestionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GenerateStatelessSuggestionResponse build()
buildPartial()
public GenerateStatelessSuggestionResponse buildPartial()
clear()
public GenerateStatelessSuggestionResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GenerateStatelessSuggestionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGeneratorSuggestion()
public GenerateStatelessSuggestionResponse.Builder clearGeneratorSuggestion()
Required. Generated suggestion for a conversation.
.google.cloud.dialogflow.v2.GeneratorSuggestion generator_suggestion = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateStatelessSuggestionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public GenerateStatelessSuggestionResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public GenerateStatelessSuggestionResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGeneratorSuggestion()
public GeneratorSuggestion getGeneratorSuggestion()
Required. Generated suggestion for a conversation.
.google.cloud.dialogflow.v2.GeneratorSuggestion generator_suggestion = 1 [(.google.api.field_behavior) = REQUIRED];
getGeneratorSuggestionBuilder()
public GeneratorSuggestion.Builder getGeneratorSuggestionBuilder()
Required. Generated suggestion for a conversation.
.google.cloud.dialogflow.v2.GeneratorSuggestion generator_suggestion = 1 [(.google.api.field_behavior) = REQUIRED];
getGeneratorSuggestionOrBuilder()
public GeneratorSuggestionOrBuilder getGeneratorSuggestionOrBuilder()
Required. Generated suggestion for a conversation.
.google.cloud.dialogflow.v2.GeneratorSuggestion generator_suggestion = 1 [(.google.api.field_behavior) = REQUIRED];
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GenerateStatelessSuggestionResponse other)
public GenerateStatelessSuggestionResponse.Builder mergeFrom(GenerateStatelessSuggestionResponse other)
public GenerateStatelessSuggestionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GenerateStatelessSuggestionResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeGeneratorSuggestion(GeneratorSuggestion value)
public GenerateStatelessSuggestionResponse.Builder mergeGeneratorSuggestion(GeneratorSuggestion value)
Required. Generated suggestion for a conversation.
.google.cloud.dialogflow.v2.GeneratorSuggestion generator_suggestion = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateStatelessSuggestionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateStatelessSuggestionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGeneratorSuggestion(GeneratorSuggestion value)
public GenerateStatelessSuggestionResponse.Builder setGeneratorSuggestion(GeneratorSuggestion value)
Required. Generated suggestion for a conversation.
.google.cloud.dialogflow.v2.GeneratorSuggestion generator_suggestion = 1 [(.google.api.field_behavior) = REQUIRED];
setGeneratorSuggestion(GeneratorSuggestion.Builder builderForValue)
public GenerateStatelessSuggestionResponse.Builder setGeneratorSuggestion(GeneratorSuggestion.Builder builderForValue)
Required. Generated suggestion for a conversation.
.google.cloud.dialogflow.v2.GeneratorSuggestion generator_suggestion = 1 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateStatelessSuggestionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateStatelessSuggestionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides