Class Answer.Step.Action.Builder (0.51.0)

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

Action.

Protobuf type google.cloud.discoveryengine.v1.Answer.Step.Action

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearAction()

public Answer.Step.Action.Builder clearAction()
Returns
Type Description
Answer.Step.Action.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearObservation()

public Answer.Step.Action.Builder clearObservation()

Observation.

.google.cloud.discoveryengine.v1.Answer.Step.Action.Observation observation = 3;

Returns
Type Description
Answer.Step.Action.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSearchAction()

public Answer.Step.Action.Builder clearSearchAction()

Search action.

.google.cloud.discoveryengine.v1.Answer.Step.Action.SearchAction search_action = 2;

Returns
Type Description
Answer.Step.Action.Builder

clone()

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

getActionCase()

public Answer.Step.Action.ActionCase getActionCase()
Returns
Type Description
Answer.Step.Action.ActionCase

getDefaultInstanceForType()

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

getDescriptorForType()

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

getObservation()

public Answer.Step.Action.Observation getObservation()

Observation.

.google.cloud.discoveryengine.v1.Answer.Step.Action.Observation observation = 3;

Returns
Type Description
Answer.Step.Action.Observation

The observation.

getObservationBuilder()

public Answer.Step.Action.Observation.Builder getObservationBuilder()

Observation.

.google.cloud.discoveryengine.v1.Answer.Step.Action.Observation observation = 3;

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

getObservationOrBuilder()

public Answer.Step.Action.ObservationOrBuilder getObservationOrBuilder()

Observation.

.google.cloud.discoveryengine.v1.Answer.Step.Action.Observation observation = 3;

Returns
Type Description
Answer.Step.Action.ObservationOrBuilder

getSearchAction()

public Answer.Step.Action.SearchAction getSearchAction()

Search action.

.google.cloud.discoveryengine.v1.Answer.Step.Action.SearchAction search_action = 2;

Returns
Type Description
Answer.Step.Action.SearchAction

The searchAction.

getSearchActionBuilder()

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

Search action.

.google.cloud.discoveryengine.v1.Answer.Step.Action.SearchAction search_action = 2;

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

getSearchActionOrBuilder()

public Answer.Step.Action.SearchActionOrBuilder getSearchActionOrBuilder()

Search action.

.google.cloud.discoveryengine.v1.Answer.Step.Action.SearchAction search_action = 2;

Returns
Type Description
Answer.Step.Action.SearchActionOrBuilder

hasObservation()

public boolean hasObservation()

Observation.

.google.cloud.discoveryengine.v1.Answer.Step.Action.Observation observation = 3;

Returns
Type Description
boolean

Whether the observation field is set.

hasSearchAction()

public boolean hasSearchAction()

Search action.

.google.cloud.discoveryengine.v1.Answer.Step.Action.SearchAction search_action = 2;

Returns
Type Description
boolean

Whether the searchAction field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Answer.Step.Action other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeObservation(Answer.Step.Action.Observation value)

public Answer.Step.Action.Builder mergeObservation(Answer.Step.Action.Observation value)

Observation.

.google.cloud.discoveryengine.v1.Answer.Step.Action.Observation observation = 3;

Parameter
Name Description
value Answer.Step.Action.Observation
Returns
Type Description
Answer.Step.Action.Builder

mergeSearchAction(Answer.Step.Action.SearchAction value)

public Answer.Step.Action.Builder mergeSearchAction(Answer.Step.Action.SearchAction value)

Search action.

.google.cloud.discoveryengine.v1.Answer.Step.Action.SearchAction search_action = 2;

Parameter
Name Description
value Answer.Step.Action.SearchAction
Returns
Type Description
Answer.Step.Action.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setObservation(Answer.Step.Action.Observation value)

public Answer.Step.Action.Builder setObservation(Answer.Step.Action.Observation value)

Observation.

.google.cloud.discoveryengine.v1.Answer.Step.Action.Observation observation = 3;

Parameter
Name Description
value Answer.Step.Action.Observation
Returns
Type Description
Answer.Step.Action.Builder

setObservation(Answer.Step.Action.Observation.Builder builderForValue)

public Answer.Step.Action.Builder setObservation(Answer.Step.Action.Observation.Builder builderForValue)

Observation.

.google.cloud.discoveryengine.v1.Answer.Step.Action.Observation observation = 3;

Parameter
Name Description
builderForValue Answer.Step.Action.Observation.Builder
Returns
Type Description
Answer.Step.Action.Builder

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

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

setSearchAction(Answer.Step.Action.SearchAction value)

public Answer.Step.Action.Builder setSearchAction(Answer.Step.Action.SearchAction value)

Search action.

.google.cloud.discoveryengine.v1.Answer.Step.Action.SearchAction search_action = 2;

Parameter
Name Description
value Answer.Step.Action.SearchAction
Returns
Type Description
Answer.Step.Action.Builder

setSearchAction(Answer.Step.Action.SearchAction.Builder builderForValue)

public Answer.Step.Action.Builder setSearchAction(Answer.Step.Action.SearchAction.Builder builderForValue)

Search action.

.google.cloud.discoveryengine.v1.Answer.Step.Action.SearchAction search_action = 2;

Parameter
Name Description
builderForValue Answer.Step.Action.SearchAction.Builder
Returns
Type Description
Answer.Step.Action.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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