public static final class Conversation.ContextReference.ContextContent.Builder extends GeneratedMessageV3.Builder<Conversation.ContextReference.ContextContent.Builder> implements Conversation.ContextReference.ContextContentOrBuilder
Contents ingested.
Protobuf type
google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent
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 Conversation.ContextReference.ContextContent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Conversation.ContextReference.ContextContent build()
buildPartial()
public Conversation.ContextReference.ContextContent buildPartial()
clear()
public Conversation.ContextReference.ContextContent.Builder clear()
Overrides
clearContent()
public Conversation.ContextReference.ContextContent.Builder clearContent()
Required. The information ingested in a single request.
string content = 1 [(.google.api.field_behavior) = REQUIRED];
clearContentFormat()
public Conversation.ContextReference.ContextContent.Builder clearContentFormat()
Required. The format of the ingested string.
.google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent.ContentFormat content_format = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public Conversation.ContextReference.ContextContent.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIngestionTime()
public Conversation.ContextReference.ContextContent.Builder clearIngestionTime()
Output only. The time when this information was incorporated into the
relevant context reference.
.google.protobuf.Timestamp ingestion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearOneof(Descriptors.OneofDescriptor oneof)
public Conversation.ContextReference.ContextContent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Conversation.ContextReference.ContextContent.Builder clone()
Overrides
getContent()
public String getContent()
Required. The information ingested in a single request.
string content = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The content.
|
getContentBytes()
public ByteString getContentBytes()
Required. The information ingested in a single request.
string content = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for content.
|
getContentFormat()
public Conversation.ContextReference.ContextContent.ContentFormat getContentFormat()
Required. The format of the ingested string.
.google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent.ContentFormat content_format = 2 [(.google.api.field_behavior) = REQUIRED];
getContentFormatValue()
public int getContentFormatValue()
Required. The format of the ingested string.
.google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent.ContentFormat content_format = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for contentFormat.
|
getDefaultInstanceForType()
public Conversation.ContextReference.ContextContent getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getIngestionTime()
public Timestamp getIngestionTime()
Output only. The time when this information was incorporated into the
relevant context reference.
.google.protobuf.Timestamp ingestion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The ingestionTime.
|
getIngestionTimeBuilder()
public Timestamp.Builder getIngestionTimeBuilder()
Output only. The time when this information was incorporated into the
relevant context reference.
.google.protobuf.Timestamp ingestion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getIngestionTimeOrBuilder()
public TimestampOrBuilder getIngestionTimeOrBuilder()
Output only. The time when this information was incorporated into the
relevant context reference.
.google.protobuf.Timestamp ingestion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasIngestionTime()
public boolean hasIngestionTime()
Output only. The time when this information was incorporated into the
relevant context reference.
.google.protobuf.Timestamp ingestion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the ingestionTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Conversation.ContextReference.ContextContent other)
public Conversation.ContextReference.ContextContent.Builder mergeFrom(Conversation.ContextReference.ContextContent other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Conversation.ContextReference.ContextContent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Conversation.ContextReference.ContextContent.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeIngestionTime(Timestamp value)
public Conversation.ContextReference.ContextContent.Builder mergeIngestionTime(Timestamp value)
Output only. The time when this information was incorporated into the
relevant context reference.
.google.protobuf.Timestamp ingestion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Conversation.ContextReference.ContextContent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setContent(String value)
public Conversation.ContextReference.ContextContent.Builder setContent(String value)
Required. The information ingested in a single request.
string content = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The content to set.
|
setContentBytes(ByteString value)
public Conversation.ContextReference.ContextContent.Builder setContentBytes(ByteString value)
Required. The information ingested in a single request.
string content = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for content to set.
|
setContentFormat(Conversation.ContextReference.ContextContent.ContentFormat value)
public Conversation.ContextReference.ContextContent.Builder setContentFormat(Conversation.ContextReference.ContextContent.ContentFormat value)
Required. The format of the ingested string.
.google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent.ContentFormat content_format = 2 [(.google.api.field_behavior) = REQUIRED];
setContentFormatValue(int value)
public Conversation.ContextReference.ContextContent.Builder setContentFormatValue(int value)
Required. The format of the ingested string.
.google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent.ContentFormat content_format = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for contentFormat to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Conversation.ContextReference.ContextContent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setIngestionTime(Timestamp value)
public Conversation.ContextReference.ContextContent.Builder setIngestionTime(Timestamp value)
Output only. The time when this information was incorporated into the
relevant context reference.
.google.protobuf.Timestamp ingestion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
setIngestionTime(Timestamp.Builder builderForValue)
public Conversation.ContextReference.ContextContent.Builder setIngestionTime(Timestamp.Builder builderForValue)
Output only. The time when this information was incorporated into the
relevant context reference.
.google.protobuf.Timestamp ingestion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
builderForValue |
Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Conversation.ContextReference.ContextContent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Conversation.ContextReference.ContextContent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides