public static final class IngestContextReferencesRequest.Builder extends GeneratedMessageV3.Builder<IngestContextReferencesRequest.Builder> implements IngestContextReferencesRequestOrBuilder
The request message for [ConversationsService.IngestContextReferences][].
Protobuf type google.cloud.dialogflow.v2beta1.IngestContextReferencesRequest
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 IngestContextReferencesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public IngestContextReferencesRequest build()
buildPartial()
public IngestContextReferencesRequest buildPartial()
clear()
public IngestContextReferencesRequest.Builder clear()
Overrides
clearContextReferences()
public IngestContextReferencesRequest.Builder clearContextReferences()
clearConversation()
public IngestContextReferencesRequest.Builder clearConversation()
Required. Resource identifier of the conversation to ingest context
information for. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>
.
string conversation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearField(Descriptors.FieldDescriptor field)
public IngestContextReferencesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public IngestContextReferencesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public IngestContextReferencesRequest.Builder clone()
Overrides
containsContextReferences(String key)
public boolean containsContextReferences(String key)
Required. The context references to ingest. The key is the name of the
context reference and the value contains the contents of the context
reference. The key is used to incorporate ingested context references to
enhance the generator.
map<string, .google.cloud.dialogflow.v2beta1.Conversation.ContextReference> context_references = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
key |
String
|
getContextReferences() (deprecated)
public Map<String,Conversation.ContextReference> getContextReferences()
getContextReferencesCount()
public int getContextReferencesCount()
Required. The context references to ingest. The key is the name of the
context reference and the value contains the contents of the context
reference. The key is used to incorporate ingested context references to
enhance the generator.
map<string, .google.cloud.dialogflow.v2beta1.Conversation.ContextReference> context_references = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getContextReferencesMap()
public Map<String,Conversation.ContextReference> getContextReferencesMap()
Required. The context references to ingest. The key is the name of the
context reference and the value contains the contents of the context
reference. The key is used to incorporate ingested context references to
enhance the generator.
map<string, .google.cloud.dialogflow.v2beta1.Conversation.ContextReference> context_references = 2 [(.google.api.field_behavior) = REQUIRED];
getContextReferencesOrDefault(String key, Conversation.ContextReference defaultValue)
public Conversation.ContextReference getContextReferencesOrDefault(String key, Conversation.ContextReference defaultValue)
Required. The context references to ingest. The key is the name of the
context reference and the value contains the contents of the context
reference. The key is used to incorporate ingested context references to
enhance the generator.
map<string, .google.cloud.dialogflow.v2beta1.Conversation.ContextReference> context_references = 2 [(.google.api.field_behavior) = REQUIRED];
getContextReferencesOrThrow(String key)
public Conversation.ContextReference getContextReferencesOrThrow(String key)
Required. The context references to ingest. The key is the name of the
context reference and the value contains the contents of the context
reference. The key is used to incorporate ingested context references to
enhance the generator.
map<string, .google.cloud.dialogflow.v2beta1.Conversation.ContextReference> context_references = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
key |
String
|
getConversation()
public String getConversation()
Required. Resource identifier of the conversation to ingest context
information for. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>
.
string conversation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The conversation.
|
getConversationBytes()
public ByteString getConversationBytes()
Required. Resource identifier of the conversation to ingest context
information for. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>
.
string conversation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for conversation.
|
getDefaultInstanceForType()
public IngestContextReferencesRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableContextReferences() (deprecated)
public Map<String,Conversation.ContextReference> getMutableContextReferences()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(IngestContextReferencesRequest other)
public IngestContextReferencesRequest.Builder mergeFrom(IngestContextReferencesRequest other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IngestContextReferencesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public IngestContextReferencesRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IngestContextReferencesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllContextReferences(Map<String,Conversation.ContextReference> values)
public IngestContextReferencesRequest.Builder putAllContextReferences(Map<String,Conversation.ContextReference> values)
Required. The context references to ingest. The key is the name of the
context reference and the value contains the contents of the context
reference. The key is used to incorporate ingested context references to
enhance the generator.
map<string, .google.cloud.dialogflow.v2beta1.Conversation.ContextReference> context_references = 2 [(.google.api.field_behavior) = REQUIRED];
putContextReferences(String key, Conversation.ContextReference value)
public IngestContextReferencesRequest.Builder putContextReferences(String key, Conversation.ContextReference value)
Required. The context references to ingest. The key is the name of the
context reference and the value contains the contents of the context
reference. The key is used to incorporate ingested context references to
enhance the generator.
map<string, .google.cloud.dialogflow.v2beta1.Conversation.ContextReference> context_references = 2 [(.google.api.field_behavior) = REQUIRED];
putContextReferencesBuilderIfAbsent(String key)
public Conversation.ContextReference.Builder putContextReferencesBuilderIfAbsent(String key)
Required. The context references to ingest. The key is the name of the
context reference and the value contains the contents of the context
reference. The key is used to incorporate ingested context references to
enhance the generator.
map<string, .google.cloud.dialogflow.v2beta1.Conversation.ContextReference> context_references = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
key |
String
|
removeContextReferences(String key)
public IngestContextReferencesRequest.Builder removeContextReferences(String key)
Required. The context references to ingest. The key is the name of the
context reference and the value contains the contents of the context
reference. The key is used to incorporate ingested context references to
enhance the generator.
map<string, .google.cloud.dialogflow.v2beta1.Conversation.ContextReference> context_references = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
key |
String
|
setConversation(String value)
public IngestContextReferencesRequest.Builder setConversation(String value)
Required. Resource identifier of the conversation to ingest context
information for. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>
.
string conversation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The conversation to set.
|
setConversationBytes(ByteString value)
public IngestContextReferencesRequest.Builder setConversationBytes(ByteString value)
Required. Resource identifier of the conversation to ingest context
information for. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>
.
string conversation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for conversation to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public IngestContextReferencesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IngestContextReferencesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final IngestContextReferencesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides