Class ActionOutput (0.16.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
TypeDescription
int

ACTION_STATE_FIELD_NUMBER

public static final int ACTION_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

OUTPUT_MESSAGE_FIELD_NUMBER

public static final int OUTPUT_MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ActionOutput getDefaultInstance()
Returns
TypeDescription
ActionOutput

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ActionOutput.Builder newBuilder()
Returns
TypeDescription
ActionOutput.Builder

newBuilder(ActionOutput prototype)

public static ActionOutput.Builder newBuilder(ActionOutput prototype)
Parameter
NameDescription
prototypeActionOutput
Returns
TypeDescription
ActionOutput.Builder

parseDelimitedFrom(InputStream input)

public static ActionOutput parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ActionOutput
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ActionOutput parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionOutput
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ActionOutput parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ActionOutput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ActionOutput parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionOutput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ActionOutput parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ActionOutput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ActionOutput parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionOutput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ActionOutput parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ActionOutput
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ActionOutput parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionOutput
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ActionOutput parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ActionOutput
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ActionOutput parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionOutput
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ActionOutput parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ActionOutput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ActionOutput parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionOutput
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ActionOutput> parser()
Returns
TypeDescription
Parser<ActionOutput>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getActionId()

public String getActionId()

ID of the action.

string action_id = 1;

Returns
TypeDescription
String

The actionId.

getActionIdBytes()

public ByteString getActionIdBytes()

ID of the action.

string action_id = 1;

Returns
TypeDescription
ByteString

The bytes for actionId.

getActionState()

public ActionOutput.State getActionState()

State of an action.

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

Returns
TypeDescription
ActionOutput.State

The actionState.

getActionStateValue()

public int getActionStateValue()

State of an action.

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

Returns
TypeDescription
int

The enum numeric value on the wire for actionState.

getDefaultInstanceForType()

public ActionOutput getDefaultInstanceForType()
Returns
TypeDescription
ActionOutput

getOutputMessage()

public String getOutputMessage()

Action execution output message.

string output_message = 3;

Returns
TypeDescription
String

The outputMessage.

getOutputMessageBytes()

public ByteString getOutputMessageBytes()

Action execution output message.

string output_message = 3;

Returns
TypeDescription
ByteString

The bytes for outputMessage.

getParserForType()

public Parser<ActionOutput> getParserForType()
Returns
TypeDescription
Parser<ActionOutput>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ActionOutput.Builder newBuilderForType()
Returns
TypeDescription
ActionOutput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ActionOutput.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ActionOutput.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ActionOutput.Builder toBuilder()
Returns
TypeDescription
ActionOutput.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException