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.v1.Reply

Implements

ReplyOrBuilder

Static Methods

getDescriptor()

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

Methods

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

clearSummary()

public Reply.Builder clearSummary()

Summary based on search results.

.google.cloud.discoveryengine.v1.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

getSummary()

public SearchResponse.Summary getSummary()

Summary based on search results.

.google.cloud.discoveryengine.v1.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.v1.SearchResponse.Summary summary = 3;

Returns
Type Description
SearchResponse.Summary.Builder

getSummaryOrBuilder()

public SearchResponse.SummaryOrBuilder getSummaryOrBuilder()

Summary based on search results.

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

Returns
Type Description
SearchResponse.SummaryOrBuilder

hasSummary()

public boolean hasSummary()

Summary based on search results.

.google.cloud.discoveryengine.v1.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.v1.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

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

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

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
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.v1.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