Class ActionOutput (0.42.0)

public final class ActionOutput extends GeneratedMessageV3 implements ActionOutputOrBuilder

Represents the result of executing an action.

Protobuf type google.cloud.contentwarehouse.v1.ActionOutput

Static Fields

ACTION_ID_FIELD_NUMBER

public static final int ACTION_ID_FIELD_NUMBER
Field Value
Type Description
int

ACTION_STATE_FIELD_NUMBER

public static final int ACTION_STATE_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_MESSAGE_FIELD_NUMBER

public static final int OUTPUT_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ActionOutput getDefaultInstance()
Returns
Type Description
ActionOutput

getDescriptor()

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

newBuilder()

public static ActionOutput.Builder newBuilder()
Returns
Type Description
ActionOutput.Builder

newBuilder(ActionOutput prototype)

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

parseDelimitedFrom(InputStream input)

public static ActionOutput parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ActionOutput
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ActionOutput parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ActionOutput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ActionOutput parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ActionOutput
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ActionOutput parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ActionOutput
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ActionOutput parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ActionOutput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ActionOutput> parser()
Returns
Type Description
Parser<ActionOutput>

Methods

equals(Object obj)

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

getActionId()

public String getActionId()

ID of the action.

string action_id = 1;

Returns
Type Description
String

The actionId.

getActionIdBytes()

public ByteString getActionIdBytes()

ID of the action.

string action_id = 1;

Returns
Type Description
ByteString

The bytes for actionId.

getActionState()

public ActionOutput.State getActionState()

State of an action.

.google.cloud.contentwarehouse.v1.ActionOutput.State action_state = 2;

Returns
Type Description
ActionOutput.State

The actionState.

getActionStateValue()

public int getActionStateValue()

State of an action.

.google.cloud.contentwarehouse.v1.ActionOutput.State action_state = 2;

Returns
Type Description
int

The enum numeric value on the wire for actionState.

getDefaultInstanceForType()

public ActionOutput getDefaultInstanceForType()
Returns
Type Description
ActionOutput

getOutputMessage()

public String getOutputMessage()

Action execution output message.

string output_message = 3;

Returns
Type Description
String

The outputMessage.

getOutputMessageBytes()

public ByteString getOutputMessageBytes()

Action execution output message.

string output_message = 3;

Returns
Type Description
ByteString

The bytes for outputMessage.

getParserForType()

public Parser<ActionOutput> getParserForType()
Returns
Type Description
Parser<ActionOutput>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 ActionOutput.Builder newBuilderForType()
Returns
Type Description
ActionOutput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ActionOutput.Builder toBuilder()
Returns
Type Description
ActionOutput.Builder

writeTo(CodedOutputStream output)

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