Class Reply.Builder (0.23.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.v1.Reply

Implements

ReplyOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Reply.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Reply.Builder
Overrides

build()

public Reply build()
Returns
TypeDescription
Reply

buildPartial()

public Reply buildPartial()
Returns
TypeDescription
Reply

clear()

public Reply.Builder clear()
Returns
TypeDescription
Reply.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Reply.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Reply.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Reply.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Reply.Builder
Overrides

clearSummary()

public Reply.Builder clearSummary()

Summary based on search results.

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

Returns
TypeDescription
Reply.Builder

clone()

public Reply.Builder clone()
Returns
TypeDescription
Reply.Builder
Overrides

getDefaultInstanceForType()

public Reply getDefaultInstanceForType()
Returns
TypeDescription
Reply

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSummary()

public SearchResponse.Summary getSummary()

Summary based on search results.

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

Returns
TypeDescription
SearchResponse.Summary

The summary.

getSummaryBuilder()

public SearchResponse.Summary.Builder getSummaryBuilder()

Summary based on search results.

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

Returns
TypeDescription
SearchResponse.Summary.Builder

getSummaryOrBuilder()

public SearchResponse.SummaryOrBuilder getSummaryOrBuilder()

Summary based on search results.

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

Returns
TypeDescription
SearchResponse.SummaryOrBuilder

hasSummary()

public boolean hasSummary()

Summary based on search results.

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

Returns
TypeDescription
boolean

Whether the summary field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Reply other)

public Reply.Builder mergeFrom(Reply other)
Parameter
NameDescription
otherReply
Returns
TypeDescription
Reply.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Reply.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Reply.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Reply.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Reply.Builder
Overrides

mergeSummary(SearchResponse.Summary value)

public Reply.Builder mergeSummary(SearchResponse.Summary value)

Summary based on search results.

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

Parameter
NameDescription
valueSearchResponse.Summary
Returns
TypeDescription
Reply.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Reply.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Reply.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Reply.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Reply.Builder
Overrides

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

public Reply.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Reply.Builder
Overrides

setSummary(SearchResponse.Summary value)

public Reply.Builder setSummary(SearchResponse.Summary value)

Summary based on search results.

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

Parameter
NameDescription
valueSearchResponse.Summary
Returns
TypeDescription
Reply.Builder

setSummary(SearchResponse.Summary.Builder builderForValue)

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

Summary based on search results.

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

Parameter
NameDescription
builderForValueSearchResponse.Summary.Builder
Returns
TypeDescription
Reply.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Reply.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Reply.Builder
Overrides