public static final class ConversationMessage.Builder extends GeneratedMessageV3.Builder<ConversationMessage.Builder> implements ConversationMessageOrBuilder
Defines a conversation message.
Protobuf type google.cloud.discoveryengine.v1beta.ConversationMessage
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 ConversationMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ConversationMessage build()
buildPartial()
public ConversationMessage buildPartial()
clear()
public ConversationMessage.Builder clear()
Overrides
clearCreateTime()
public ConversationMessage.Builder clearCreateTime()
Output only. Message creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public ConversationMessage.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMessage()
public ConversationMessage.Builder clearMessage()
clearOneof(Descriptors.OneofDescriptor oneof)
public ConversationMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReply()
public ConversationMessage.Builder clearReply()
Search reply.
.google.cloud.discoveryengine.v1beta.Reply reply = 2;
public ConversationMessage.Builder clearUserInput()
User text input.
.google.cloud.discoveryengine.v1beta.TextInput user_input = 1;
clone()
public ConversationMessage.Builder clone()
Overrides
getCreateTime()
public Timestamp getCreateTime()
Output only. Message creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Message creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Message creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public ConversationMessage getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMessageCase()
public ConversationMessage.MessageCase getMessageCase()
getReply()
Search reply.
.google.cloud.discoveryengine.v1beta.Reply reply = 2;
Returns |
---|
Type | Description |
Reply | The reply.
|
getReplyBuilder()
public Reply.Builder getReplyBuilder()
Search reply.
.google.cloud.discoveryengine.v1beta.Reply reply = 2;
getReplyOrBuilder()
public ReplyOrBuilder getReplyOrBuilder()
Search reply.
.google.cloud.discoveryengine.v1beta.Reply reply = 2;
public TextInput getUserInput()
User text input.
.google.cloud.discoveryengine.v1beta.TextInput user_input = 1;
Returns |
---|
Type | Description |
TextInput | The userInput.
|
public TextInput.Builder getUserInputBuilder()
User text input.
.google.cloud.discoveryengine.v1beta.TextInput user_input = 1;
public TextInputOrBuilder getUserInputOrBuilder()
User text input.
.google.cloud.discoveryengine.v1beta.TextInput user_input = 1;
hasCreateTime()
public boolean hasCreateTime()
Output only. Message creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the createTime field is set.
|
hasReply()
public boolean hasReply()
Search reply.
.google.cloud.discoveryengine.v1beta.Reply reply = 2;
Returns |
---|
Type | Description |
boolean | Whether the reply field is set.
|
public boolean hasUserInput()
User text input.
.google.cloud.discoveryengine.v1beta.TextInput user_input = 1;
Returns |
---|
Type | Description |
boolean | Whether the userInput field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCreateTime(Timestamp value)
public ConversationMessage.Builder mergeCreateTime(Timestamp value)
Output only. Message creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeFrom(ConversationMessage other)
public ConversationMessage.Builder mergeFrom(ConversationMessage other)
public ConversationMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ConversationMessage.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeReply(Reply value)
public ConversationMessage.Builder mergeReply(Reply value)
Search reply.
.google.cloud.discoveryengine.v1beta.Reply reply = 2;
Parameter |
---|
Name | Description |
value | Reply
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConversationMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUserInput(TextInput value)
public ConversationMessage.Builder mergeUserInput(TextInput value)
User text input.
.google.cloud.discoveryengine.v1beta.TextInput user_input = 1;
setCreateTime(Timestamp value)
public ConversationMessage.Builder setCreateTime(Timestamp value)
Output only. Message creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
setCreateTime(Timestamp.Builder builderForValue)
public ConversationMessage.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Message creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public ConversationMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConversationMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setReply(Reply value)
public ConversationMessage.Builder setReply(Reply value)
Search reply.
.google.cloud.discoveryengine.v1beta.Reply reply = 2;
Parameter |
---|
Name | Description |
value | Reply
|
setReply(Reply.Builder builderForValue)
public ConversationMessage.Builder setReply(Reply.Builder builderForValue)
Search reply.
.google.cloud.discoveryengine.v1beta.Reply reply = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final ConversationMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUserInput(TextInput value)
public ConversationMessage.Builder setUserInput(TextInput value)
User text input.
.google.cloud.discoveryengine.v1beta.TextInput user_input = 1;
setUserInput(TextInput.Builder builderForValue)
public ConversationMessage.Builder setUserInput(TextInput.Builder builderForValue)
User text input.
.google.cloud.discoveryengine.v1beta.TextInput user_input = 1;