public static final class IngestContextReferencesResponse.Builder extends GeneratedMessage.Builder<IngestContextReferencesResponse.Builder> implements IngestContextReferencesResponseOrBuilderThe response message for [ConversationsService.IngestContextReferences][].
Protobuf type google.cloud.dialogflow.v2beta1.IngestContextReferencesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IngestContextReferencesResponse.BuilderImplements
IngestContextReferencesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public IngestContextReferencesResponse build()| Returns | |
|---|---|
| Type | Description |
IngestContextReferencesResponse |
|
buildPartial()
public IngestContextReferencesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
IngestContextReferencesResponse |
|
clear()
public IngestContextReferencesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
IngestContextReferencesResponse.Builder |
|
clearIngestedContextReferences()
public IngestContextReferencesResponse.Builder clearIngestedContextReferences()| Returns | |
|---|---|
| Type | Description |
IngestContextReferencesResponse.Builder |
|
containsIngestedContextReferences(String key)
public boolean containsIngestedContextReferences(String key)All context references ingested.
map<string, .google.cloud.dialogflow.v2beta1.Conversation.ContextReference> ingested_context_references = 1;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public IngestContextReferencesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
IngestContextReferencesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIngestedContextReferences() (deprecated)
public Map<String,Conversation.ContextReference> getIngestedContextReferences()Use #getIngestedContextReferencesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,ContextReference> |
|
getIngestedContextReferencesCount()
public int getIngestedContextReferencesCount()All context references ingested.
map<string, .google.cloud.dialogflow.v2beta1.Conversation.ContextReference> ingested_context_references = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getIngestedContextReferencesMap()
public Map<String,Conversation.ContextReference> getIngestedContextReferencesMap()All context references ingested.
map<string, .google.cloud.dialogflow.v2beta1.Conversation.ContextReference> ingested_context_references = 1;
| Returns | |
|---|---|
| Type | Description |
Map<String,ContextReference> |
|
getIngestedContextReferencesOrDefault(String key, Conversation.ContextReference defaultValue)
public Conversation.ContextReference getIngestedContextReferencesOrDefault(String key, Conversation.ContextReference defaultValue)All context references ingested.
map<string, .google.cloud.dialogflow.v2beta1.Conversation.ContextReference> ingested_context_references = 1;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
Conversation.ContextReference |
| Returns | |
|---|---|
| Type | Description |
Conversation.ContextReference |
|
getIngestedContextReferencesOrThrow(String key)
public Conversation.ContextReference getIngestedContextReferencesOrThrow(String key)All context references ingested.
map<string, .google.cloud.dialogflow.v2beta1.Conversation.ContextReference> ingested_context_references = 1;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Conversation.ContextReference |
|
getMutableIngestedContextReferences() (deprecated)
public Map<String,Conversation.ContextReference> getMutableIngestedContextReferences()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,ContextReference> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(IngestContextReferencesResponse other)
public IngestContextReferencesResponse.Builder mergeFrom(IngestContextReferencesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
IngestContextReferencesResponse |
| Returns | |
|---|---|
| Type | Description |
IngestContextReferencesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IngestContextReferencesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IngestContextReferencesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IngestContextReferencesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IngestContextReferencesResponse.Builder |
|
putAllIngestedContextReferences(Map<String,Conversation.ContextReference> values)
public IngestContextReferencesResponse.Builder putAllIngestedContextReferences(Map<String,Conversation.ContextReference> values)All context references ingested.
map<string, .google.cloud.dialogflow.v2beta1.Conversation.ContextReference> ingested_context_references = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,ContextReference> |
| Returns | |
|---|---|
| Type | Description |
IngestContextReferencesResponse.Builder |
|
putIngestedContextReferences(String key, Conversation.ContextReference value)
public IngestContextReferencesResponse.Builder putIngestedContextReferences(String key, Conversation.ContextReference value)All context references ingested.
map<string, .google.cloud.dialogflow.v2beta1.Conversation.ContextReference> ingested_context_references = 1;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
Conversation.ContextReference |
| Returns | |
|---|---|
| Type | Description |
IngestContextReferencesResponse.Builder |
|
putIngestedContextReferencesBuilderIfAbsent(String key)
public Conversation.ContextReference.Builder putIngestedContextReferencesBuilderIfAbsent(String key)All context references ingested.
map<string, .google.cloud.dialogflow.v2beta1.Conversation.ContextReference> ingested_context_references = 1;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Conversation.ContextReference.Builder |
|
removeIngestedContextReferences(String key)
public IngestContextReferencesResponse.Builder removeIngestedContextReferences(String key)All context references ingested.
map<string, .google.cloud.dialogflow.v2beta1.Conversation.ContextReference> ingested_context_references = 1;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
IngestContextReferencesResponse.Builder |
|