Class IngestContextReferencesResponse.Builder (4.89.0)

public static final class IngestContextReferencesResponse.Builder extends GeneratedMessage.Builder<IngestContextReferencesResponse.Builder> implements IngestContextReferencesResponseOrBuilder

The response message for [ConversationsService.IngestContextReferences][].

Protobuf type google.cloud.dialogflow.v2beta1.IngestContextReferencesResponse

Static 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
Overrides

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
Overrides

getIngestedContextReferences() (deprecated)

public Map<String,Conversation.ContextReference> getIngestedContextReferences()
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
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.GeneratedMessage.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.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

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