Class Answer.Step.Action.SearchAction.Builder (0.51.0)

public static final class Answer.Step.Action.SearchAction.Builder extends GeneratedMessageV3.Builder<Answer.Step.Action.SearchAction.Builder> implements Answer.Step.Action.SearchActionOrBuilder

Search action.

Protobuf type google.cloud.discoveryengine.v1alpha.Answer.Step.Action.SearchAction

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Answer.Step.Action.SearchAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Answer.Step.Action.SearchAction.Builder
Overrides

build()

public Answer.Step.Action.SearchAction build()
Returns
Type Description
Answer.Step.Action.SearchAction

buildPartial()

public Answer.Step.Action.SearchAction buildPartial()
Returns
Type Description
Answer.Step.Action.SearchAction

clear()

public Answer.Step.Action.SearchAction.Builder clear()
Returns
Type Description
Answer.Step.Action.SearchAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Answer.Step.Action.SearchAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Answer.Step.Action.SearchAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Answer.Step.Action.SearchAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Answer.Step.Action.SearchAction.Builder
Overrides

clearQuery()

public Answer.Step.Action.SearchAction.Builder clearQuery()

The query to search.

string query = 1;

Returns
Type Description
Answer.Step.Action.SearchAction.Builder

This builder for chaining.

clone()

public Answer.Step.Action.SearchAction.Builder clone()
Returns
Type Description
Answer.Step.Action.SearchAction.Builder
Overrides

getDefaultInstanceForType()

public Answer.Step.Action.SearchAction getDefaultInstanceForType()
Returns
Type Description
Answer.Step.Action.SearchAction

getDescriptorForType()

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

getQuery()

public String getQuery()

The query to search.

string query = 1;

Returns
Type Description
String

The query.

getQueryBytes()

public ByteString getQueryBytes()

The query to search.

string query = 1;

Returns
Type Description
ByteString

The bytes for query.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Answer.Step.Action.SearchAction other)

public Answer.Step.Action.SearchAction.Builder mergeFrom(Answer.Step.Action.SearchAction other)
Parameter
Name Description
other Answer.Step.Action.SearchAction
Returns
Type Description
Answer.Step.Action.SearchAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Answer.Step.Action.SearchAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Answer.Step.Action.SearchAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Answer.Step.Action.SearchAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Answer.Step.Action.SearchAction.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Answer.Step.Action.SearchAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Answer.Step.Action.SearchAction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Answer.Step.Action.SearchAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Answer.Step.Action.SearchAction.Builder
Overrides

setQuery(String value)

public Answer.Step.Action.SearchAction.Builder setQuery(String value)

The query to search.

string query = 1;

Parameter
Name Description
value String

The query to set.

Returns
Type Description
Answer.Step.Action.SearchAction.Builder

This builder for chaining.

setQueryBytes(ByteString value)

public Answer.Step.Action.SearchAction.Builder setQueryBytes(ByteString value)

The query to search.

string query = 1;

Parameter
Name Description
value ByteString

The bytes for query to set.

Returns
Type Description
Answer.Step.Action.SearchAction.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Answer.Step.Action.SearchAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Answer.Step.Action.SearchAction.Builder
Overrides