Interface Answer.Step.ActionOrBuilder (0.51.0)

public static interface Answer.Step.ActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActionCase()

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

getObservation()

public abstract Answer.Step.Action.Observation getObservation()

Observation.

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

Returns
Type Description
Answer.Step.Action.Observation

The observation.

getObservationOrBuilder()

public abstract Answer.Step.Action.ObservationOrBuilder getObservationOrBuilder()

Observation.

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

Returns
Type Description
Answer.Step.Action.ObservationOrBuilder

getSearchAction()

public abstract Answer.Step.Action.SearchAction getSearchAction()

Search action.

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

Returns
Type Description
Answer.Step.Action.SearchAction

The searchAction.

getSearchActionOrBuilder()

public abstract Answer.Step.Action.SearchActionOrBuilder getSearchActionOrBuilder()

Search action.

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

Returns
Type Description
Answer.Step.Action.SearchActionOrBuilder

hasObservation()

public abstract boolean hasObservation()

Observation.

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

Returns
Type Description
boolean

Whether the observation field is set.

hasSearchAction()

public abstract boolean hasSearchAction()

Search action.

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

Returns
Type Description
boolean

Whether the searchAction field is set.