Class Answer.Step (0.43.0)

public static final class Answer.Step extends GeneratedMessageV3 implements Answer.StepOrBuilder

Step information.

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

Static Fields

ACTIONS_FIELD_NUMBER

public static final int ACTIONS_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

THOUGHT_FIELD_NUMBER

public static final int THOUGHT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Answer.Step getDefaultInstance()
Returns
Type Description
Answer.Step

getDescriptor()

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

newBuilder()

public static Answer.Step.Builder newBuilder()
Returns
Type Description
Answer.Step.Builder

newBuilder(Answer.Step prototype)

public static Answer.Step.Builder newBuilder(Answer.Step prototype)
Parameter
Name Description
prototype Answer.Step
Returns
Type Description
Answer.Step.Builder

parseDelimitedFrom(InputStream input)

public static Answer.Step parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Answer.Step
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Answer.Step parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Answer.Step
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Answer.Step parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Answer.Step
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Answer.Step parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Answer.Step
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Answer.Step parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Answer.Step
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Answer.Step parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Answer.Step
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Answer.Step parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Answer.Step
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Answer.Step parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Answer.Step
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Answer.Step parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Answer.Step
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Answer.Step parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Answer.Step
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Answer.Step parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Answer.Step
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Answer.Step parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Answer.Step
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Answer.Step> parser()
Returns
Type Description
Parser<Step>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getActions(int index)

public Answer.Step.Action getActions(int index)

Actions.

repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;

Parameter
Name Description
index int
Returns
Type Description
Answer.Step.Action

getActionsCount()

public int getActionsCount()

Actions.

repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;

Returns
Type Description
int

getActionsList()

public List<Answer.Step.Action> getActionsList()

Actions.

repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;

Returns
Type Description
List<Action>

getActionsOrBuilder(int index)

public Answer.Step.ActionOrBuilder getActionsOrBuilder(int index)

Actions.

repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;

Parameter
Name Description
index int
Returns
Type Description
Answer.Step.ActionOrBuilder

getActionsOrBuilderList()

public List<? extends Answer.Step.ActionOrBuilder> getActionsOrBuilderList()

Actions.

repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1.Answer.Step.ActionOrBuilder>

getDefaultInstanceForType()

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

getDescription()

public String getDescription()

The description of the step.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of the step.

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getParserForType()

public Parser<Answer.Step> getParserForType()
Returns
Type Description
Parser<Step>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public Answer.Step.State getState()

The state of the step.

.google.cloud.discoveryengine.v1.Answer.Step.State state = 1;

Returns
Type Description
Answer.Step.State

The state.

getStateValue()

public int getStateValue()

The state of the step.

.google.cloud.discoveryengine.v1.Answer.Step.State state = 1;

Returns
Type Description
int

The enum numeric value on the wire for state.

getThought()

public String getThought()

The thought of the step.

string thought = 3;

Returns
Type Description
String

The thought.

getThoughtBytes()

public ByteString getThoughtBytes()

The thought of the step.

string thought = 3;

Returns
Type Description
ByteString

The bytes for thought.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Answer.Step.Builder newBuilderForType()
Returns
Type Description
Answer.Step.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Answer.Step.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Answer.Step.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Answer.Step.Builder toBuilder()
Returns
Type Description
Answer.Step.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException