- 4.59.0 (latest)
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class GenerateStatelessSuggestionRequest.Builder extends GeneratedMessageV3.Builder<GenerateStatelessSuggestionRequest.Builder> implements GenerateStatelessSuggestionRequestOrBuilder
The request message for Conversations.GenerateStatelessSuggestion.
Protobuf type google.cloud.dialogflow.v2beta1.GenerateStatelessSuggestionRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenerateStatelessSuggestionRequest.BuilderImplements
GenerateStatelessSuggestionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllTriggerEvents(Iterable<? extends TriggerEvent> values)
public GenerateStatelessSuggestionRequest.Builder addAllTriggerEvents(Iterable<? extends TriggerEvent> values)
Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.
repeated .google.cloud.dialogflow.v2beta1.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2beta1.TriggerEvent> The triggerEvents to add. |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
This builder for chaining. |
addAllTriggerEventsValue(Iterable<Integer> values)
public GenerateStatelessSuggestionRequest.Builder addAllTriggerEventsValue(Iterable<Integer> values)
Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.
repeated .google.cloud.dialogflow.v2beta1.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<Integer> The enum numeric values on the wire for triggerEvents to add. |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateStatelessSuggestionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
addTriggerEvents(TriggerEvent value)
public GenerateStatelessSuggestionRequest.Builder addTriggerEvents(TriggerEvent value)
Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.
repeated .google.cloud.dialogflow.v2beta1.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
TriggerEvent The triggerEvents to add. |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
This builder for chaining. |
addTriggerEventsValue(int value)
public GenerateStatelessSuggestionRequest.Builder addTriggerEventsValue(int value)
Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.
repeated .google.cloud.dialogflow.v2beta1.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for triggerEvents to add. |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
This builder for chaining. |
build()
public GenerateStatelessSuggestionRequest build()
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest |
buildPartial()
public GenerateStatelessSuggestionRequest buildPartial()
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest |
clear()
public GenerateStatelessSuggestionRequest.Builder clear()
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
clearConversationContext()
public GenerateStatelessSuggestionRequest.Builder clearConversationContext()
Optional. Context of the conversation, including transcripts.
.google.cloud.dialogflow.v2beta1.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public GenerateStatelessSuggestionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
clearGenerator()
public GenerateStatelessSuggestionRequest.Builder clearGenerator()
Uncreated generator. It should be a complete generator that includes all information about the generator.
.google.cloud.dialogflow.v2beta1.Generator generator = 2;
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
clearGeneratorName()
public GenerateStatelessSuggestionRequest.Builder clearGeneratorName()
The resource name of the existing created generator. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
string generator_name = 3;
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
This builder for chaining. |
clearGeneratorResource()
public GenerateStatelessSuggestionRequest.Builder clearGeneratorResource()
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateStatelessSuggestionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
clearParent()
public GenerateStatelessSuggestionRequest.Builder clearParent()
Required. The parent resource to charge for the Suggestion's generation.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
This builder for chaining. |
clearTriggerEvents()
public GenerateStatelessSuggestionRequest.Builder clearTriggerEvents()
Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.
repeated .google.cloud.dialogflow.v2beta1.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
This builder for chaining. |
clone()
public GenerateStatelessSuggestionRequest.Builder clone()
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
getConversationContext()
public ConversationContext getConversationContext()
Optional. Context of the conversation, including transcripts.
.google.cloud.dialogflow.v2beta1.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConversationContext |
The conversationContext. |
getConversationContextBuilder()
public ConversationContext.Builder getConversationContextBuilder()
Optional. Context of the conversation, including transcripts.
.google.cloud.dialogflow.v2beta1.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConversationContext.Builder |
getConversationContextOrBuilder()
public ConversationContextOrBuilder getConversationContextOrBuilder()
Optional. Context of the conversation, including transcripts.
.google.cloud.dialogflow.v2beta1.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConversationContextOrBuilder |
getDefaultInstanceForType()
public GenerateStatelessSuggestionRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGenerator()
public Generator getGenerator()
Uncreated generator. It should be a complete generator that includes all information about the generator.
.google.cloud.dialogflow.v2beta1.Generator generator = 2;
Returns | |
---|---|
Type | Description |
Generator |
The generator. |
getGeneratorBuilder()
public Generator.Builder getGeneratorBuilder()
Uncreated generator. It should be a complete generator that includes all information about the generator.
.google.cloud.dialogflow.v2beta1.Generator generator = 2;
Returns | |
---|---|
Type | Description |
Generator.Builder |
getGeneratorName()
public String getGeneratorName()
The resource name of the existing created generator. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
string generator_name = 3;
Returns | |
---|---|
Type | Description |
String |
The generatorName. |
getGeneratorNameBytes()
public ByteString getGeneratorNameBytes()
The resource name of the existing created generator. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
string generator_name = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for generatorName. |
getGeneratorOrBuilder()
public GeneratorOrBuilder getGeneratorOrBuilder()
Uncreated generator. It should be a complete generator that includes all information about the generator.
.google.cloud.dialogflow.v2beta1.Generator generator = 2;
Returns | |
---|---|
Type | Description |
GeneratorOrBuilder |
getGeneratorResourceCase()
public GenerateStatelessSuggestionRequest.GeneratorResourceCase getGeneratorResourceCase()
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.GeneratorResourceCase |
getParent()
public String getParent()
Required. The parent resource to charge for the Suggestion's generation.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The parent resource to charge for the Suggestion's generation.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getTriggerEvents(int index)
public TriggerEvent getTriggerEvents(int index)
Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.
repeated .google.cloud.dialogflow.v2beta1.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
TriggerEvent |
The triggerEvents at the given index. |
getTriggerEventsCount()
public int getTriggerEventsCount()
Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.
repeated .google.cloud.dialogflow.v2beta1.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of triggerEvents. |
getTriggerEventsList()
public List<TriggerEvent> getTriggerEventsList()
Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.
repeated .google.cloud.dialogflow.v2beta1.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<TriggerEvent> |
A list containing the triggerEvents. |
getTriggerEventsValue(int index)
public int getTriggerEventsValue(int index)
Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.
repeated .google.cloud.dialogflow.v2beta1.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire of triggerEvents at the given index. |
getTriggerEventsValueList()
public List<Integer> getTriggerEventsValueList()
Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.
repeated .google.cloud.dialogflow.v2beta1.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for triggerEvents. |
hasConversationContext()
public boolean hasConversationContext()
Optional. Context of the conversation, including transcripts.
.google.cloud.dialogflow.v2beta1.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the conversationContext field is set. |
hasGenerator()
public boolean hasGenerator()
Uncreated generator. It should be a complete generator that includes all information about the generator.
.google.cloud.dialogflow.v2beta1.Generator generator = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the generator field is set. |
hasGeneratorName()
public boolean hasGeneratorName()
The resource name of the existing created generator. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
string generator_name = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the generatorName field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeConversationContext(ConversationContext value)
public GenerateStatelessSuggestionRequest.Builder mergeConversationContext(ConversationContext value)
Optional. Context of the conversation, including transcripts.
.google.cloud.dialogflow.v2beta1.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ConversationContext |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
mergeFrom(GenerateStatelessSuggestionRequest other)
public GenerateStatelessSuggestionRequest.Builder mergeFrom(GenerateStatelessSuggestionRequest other)
Parameter | |
---|---|
Name | Description |
other |
GenerateStatelessSuggestionRequest |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateStatelessSuggestionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GenerateStatelessSuggestionRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
mergeGenerator(Generator value)
public GenerateStatelessSuggestionRequest.Builder mergeGenerator(Generator value)
Uncreated generator. It should be a complete generator that includes all information about the generator.
.google.cloud.dialogflow.v2beta1.Generator generator = 2;
Parameter | |
---|---|
Name | Description |
value |
Generator |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateStatelessSuggestionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
setConversationContext(ConversationContext value)
public GenerateStatelessSuggestionRequest.Builder setConversationContext(ConversationContext value)
Optional. Context of the conversation, including transcripts.
.google.cloud.dialogflow.v2beta1.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ConversationContext |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
setConversationContext(ConversationContext.Builder builderForValue)
public GenerateStatelessSuggestionRequest.Builder setConversationContext(ConversationContext.Builder builderForValue)
Optional. Context of the conversation, including transcripts.
.google.cloud.dialogflow.v2beta1.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
ConversationContext.Builder |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateStatelessSuggestionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
setGenerator(Generator value)
public GenerateStatelessSuggestionRequest.Builder setGenerator(Generator value)
Uncreated generator. It should be a complete generator that includes all information about the generator.
.google.cloud.dialogflow.v2beta1.Generator generator = 2;
Parameter | |
---|---|
Name | Description |
value |
Generator |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
setGenerator(Generator.Builder builderForValue)
public GenerateStatelessSuggestionRequest.Builder setGenerator(Generator.Builder builderForValue)
Uncreated generator. It should be a complete generator that includes all information about the generator.
.google.cloud.dialogflow.v2beta1.Generator generator = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
Generator.Builder |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
setGeneratorName(String value)
public GenerateStatelessSuggestionRequest.Builder setGeneratorName(String value)
The resource name of the existing created generator. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
string generator_name = 3;
Parameter | |
---|---|
Name | Description |
value |
String The generatorName to set. |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
This builder for chaining. |
setGeneratorNameBytes(ByteString value)
public GenerateStatelessSuggestionRequest.Builder setGeneratorNameBytes(ByteString value)
The resource name of the existing created generator. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
string generator_name = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for generatorName to set. |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
This builder for chaining. |
setParent(String value)
public GenerateStatelessSuggestionRequest.Builder setParent(String value)
Required. The parent resource to charge for the Suggestion's generation.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public GenerateStatelessSuggestionRequest.Builder setParentBytes(ByteString value)
Required. The parent resource to charge for the Suggestion's generation.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateStatelessSuggestionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
setTriggerEvents(int index, TriggerEvent value)
public GenerateStatelessSuggestionRequest.Builder setTriggerEvents(int index, TriggerEvent value)
Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.
repeated .google.cloud.dialogflow.v2beta1.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
TriggerEvent The triggerEvents to set. |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
This builder for chaining. |
setTriggerEventsValue(int index, int value)
public GenerateStatelessSuggestionRequest.Builder setTriggerEventsValue(int index, int value)
Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.
repeated .google.cloud.dialogflow.v2beta1.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The enum numeric value on the wire for triggerEvents to set. |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateStatelessSuggestionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateStatelessSuggestionRequest.Builder |