Class Reply.Builder (0.39.0)

public static final class Reply.Builder extends GeneratedMessageV3.Builder<Reply.Builder> implements ReplyOrBuilder

Defines a reply message to user.

Protobuf type google.cloud.discoveryengine.v1beta.Reply

Implements

ReplyOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllReferences(Iterable<? extends Reply.Reference> values) (deprecated)

public Reply.Builder addAllReferences(Iterable<? extends Reply.Reference> values)

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1beta.Reply.Reference>
Returns
Type Description
Reply.Builder

addReferences(Reply.Reference value) (deprecated)

public Reply.Builder addReferences(Reply.Reference value)

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Parameter
Name Description
value Reply.Reference
Returns
Type Description
Reply.Builder

addReferences(Reply.Reference.Builder builderForValue) (deprecated)

public Reply.Builder addReferences(Reply.Reference.Builder builderForValue)

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Parameter
Name Description
builderForValue Reply.Reference.Builder
Returns
Type Description
Reply.Builder

addReferences(int index, Reply.Reference value) (deprecated)

public Reply.Builder addReferences(int index, Reply.Reference value)

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Parameters
Name Description
index int
value Reply.Reference
Returns
Type Description
Reply.Builder

addReferences(int index, Reply.Reference.Builder builderForValue) (deprecated)

public Reply.Builder addReferences(int index, Reply.Reference.Builder builderForValue)

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Parameters
Name Description
index int
builderForValue Reply.Reference.Builder
Returns
Type Description
Reply.Builder

addReferencesBuilder() (deprecated)

public Reply.Reference.Builder addReferencesBuilder()

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Returns
Type Description
Reply.Reference.Builder

addReferencesBuilder(int index) (deprecated)

public Reply.Reference.Builder addReferencesBuilder(int index)

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Parameter
Name Description
index int
Returns
Type Description
Reply.Reference.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Reply.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Reply.Builder
Overrides

build()

public Reply build()
Returns
Type Description
Reply

buildPartial()

public Reply buildPartial()
Returns
Type Description
Reply

clear()

public Reply.Builder clear()
Returns
Type Description
Reply.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Reply.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Reply.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Reply.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Reply.Builder
Overrides

clearReferences() (deprecated)

public Reply.Builder clearReferences()

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Returns
Type Description
Reply.Builder

clearReply() (deprecated)

public Reply.Builder clearReply()

Deprecated. google.cloud.discoveryengine.v1beta.Reply.reply is deprecated. See google/cloud/discoveryengine/v1beta/conversation.proto;l=98

DEPRECATED: use summary instead. Text reply.

string reply = 1 [deprecated = true];

Returns
Type Description
Reply.Builder

This builder for chaining.

clearSummary()

public Reply.Builder clearSummary()

Summary based on search results.

.google.cloud.discoveryengine.v1beta.SearchResponse.Summary summary = 3;

Returns
Type Description
Reply.Builder

clone()

public Reply.Builder clone()
Returns
Type Description
Reply.Builder
Overrides

getDefaultInstanceForType()

public Reply getDefaultInstanceForType()
Returns
Type Description
Reply

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getReferences(int index) (deprecated)

public Reply.Reference getReferences(int index)

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Parameter
Name Description
index int
Returns
Type Description
Reply.Reference

getReferencesBuilder(int index) (deprecated)

public Reply.Reference.Builder getReferencesBuilder(int index)

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Parameter
Name Description
index int
Returns
Type Description
Reply.Reference.Builder

getReferencesBuilderList() (deprecated)

public List<Reply.Reference.Builder> getReferencesBuilderList()

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Returns
Type Description
List<Builder>

getReferencesCount() (deprecated)

public int getReferencesCount()

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Returns
Type Description
int

getReferencesList() (deprecated)

public List<Reply.Reference> getReferencesList()

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Returns
Type Description
List<Reference>

getReferencesOrBuilder(int index) (deprecated)

public Reply.ReferenceOrBuilder getReferencesOrBuilder(int index)

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Parameter
Name Description
index int
Returns
Type Description
Reply.ReferenceOrBuilder

getReferencesOrBuilderList() (deprecated)

public List<? extends Reply.ReferenceOrBuilder> getReferencesOrBuilderList()

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1beta.Reply.ReferenceOrBuilder>

getReply() (deprecated)

public String getReply()

Deprecated. google.cloud.discoveryengine.v1beta.Reply.reply is deprecated. See google/cloud/discoveryengine/v1beta/conversation.proto;l=98

DEPRECATED: use summary instead. Text reply.

string reply = 1 [deprecated = true];

Returns
Type Description
String

The reply.

getReplyBytes() (deprecated)

public ByteString getReplyBytes()

Deprecated. google.cloud.discoveryengine.v1beta.Reply.reply is deprecated. See google/cloud/discoveryengine/v1beta/conversation.proto;l=98

DEPRECATED: use summary instead. Text reply.

string reply = 1 [deprecated = true];

Returns
Type Description
ByteString

The bytes for reply.

getSummary()

public SearchResponse.Summary getSummary()

Summary based on search results.

.google.cloud.discoveryengine.v1beta.SearchResponse.Summary summary = 3;

Returns
Type Description
SearchResponse.Summary

The summary.

getSummaryBuilder()

public SearchResponse.Summary.Builder getSummaryBuilder()

Summary based on search results.

.google.cloud.discoveryengine.v1beta.SearchResponse.Summary summary = 3;

Returns
Type Description
SearchResponse.Summary.Builder

getSummaryOrBuilder()

public SearchResponse.SummaryOrBuilder getSummaryOrBuilder()

Summary based on search results.

.google.cloud.discoveryengine.v1beta.SearchResponse.Summary summary = 3;

Returns
Type Description
SearchResponse.SummaryOrBuilder

hasSummary()

public boolean hasSummary()

Summary based on search results.

.google.cloud.discoveryengine.v1beta.SearchResponse.Summary summary = 3;

Returns
Type Description
boolean

Whether the summary field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Reply other)

public Reply.Builder mergeFrom(Reply other)
Parameter
Name Description
other Reply
Returns
Type Description
Reply.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Reply.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Reply.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeSummary(SearchResponse.Summary value)

public Reply.Builder mergeSummary(SearchResponse.Summary value)

Summary based on search results.

.google.cloud.discoveryengine.v1beta.SearchResponse.Summary summary = 3;

Parameter
Name Description
value SearchResponse.Summary
Returns
Type Description
Reply.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Reply.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Reply.Builder
Overrides

removeReferences(int index) (deprecated)

public Reply.Builder removeReferences(int index)

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Parameter
Name Description
index int
Returns
Type Description
Reply.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Reply.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Reply.Builder
Overrides

setReferences(int index, Reply.Reference value) (deprecated)

public Reply.Builder setReferences(int index, Reply.Reference value)

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Parameters
Name Description
index int
value Reply.Reference
Returns
Type Description
Reply.Builder

setReferences(int index, Reply.Reference.Builder builderForValue) (deprecated)

public Reply.Builder setReferences(int index, Reply.Reference.Builder builderForValue)

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Parameters
Name Description
index int
builderForValue Reply.Reference.Builder
Returns
Type Description
Reply.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Reply.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Reply.Builder
Overrides

setReply(String value) (deprecated)

public Reply.Builder setReply(String value)

Deprecated. google.cloud.discoveryengine.v1beta.Reply.reply is deprecated. See google/cloud/discoveryengine/v1beta/conversation.proto;l=98

DEPRECATED: use summary instead. Text reply.

string reply = 1 [deprecated = true];

Parameter
Name Description
value String

The reply to set.

Returns
Type Description
Reply.Builder

This builder for chaining.

setReplyBytes(ByteString value) (deprecated)

public Reply.Builder setReplyBytes(ByteString value)

Deprecated. google.cloud.discoveryengine.v1beta.Reply.reply is deprecated. See google/cloud/discoveryengine/v1beta/conversation.proto;l=98

DEPRECATED: use summary instead. Text reply.

string reply = 1 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes for reply to set.

Returns
Type Description
Reply.Builder

This builder for chaining.

setSummary(SearchResponse.Summary value)

public Reply.Builder setSummary(SearchResponse.Summary value)

Summary based on search results.

.google.cloud.discoveryengine.v1beta.SearchResponse.Summary summary = 3;

Parameter
Name Description
value SearchResponse.Summary
Returns
Type Description
Reply.Builder

setSummary(SearchResponse.Summary.Builder builderForValue)

public Reply.Builder setSummary(SearchResponse.Summary.Builder builderForValue)

Summary based on search results.

.google.cloud.discoveryengine.v1beta.SearchResponse.Summary summary = 3;

Parameter
Name Description
builderForValue SearchResponse.Summary.Builder
Returns
Type Description
Reply.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Reply.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Reply.Builder
Overrides