Class ActionOutput.Builder (0.38.0)

public static final class ActionOutput.Builder extends GeneratedMessageV3.Builder<ActionOutput.Builder> implements ActionOutputOrBuilder

Represents the result of executing an action.

Protobuf type google.cloud.contentwarehouse.v1.ActionOutput

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ActionOutput build()
Returns
Type Description
ActionOutput

buildPartial()

public ActionOutput buildPartial()
Returns
Type Description
ActionOutput

clear()

public ActionOutput.Builder clear()
Returns
Type Description
ActionOutput.Builder
Overrides

clearActionId()

public ActionOutput.Builder clearActionId()

ID of the action.

string action_id = 1;

Returns
Type Description
ActionOutput.Builder

This builder for chaining.

clearActionState()

public ActionOutput.Builder clearActionState()

State of an action.

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

Returns
Type Description
ActionOutput.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ActionOutput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ActionOutput.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ActionOutput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ActionOutput.Builder
Overrides

clearOutputMessage()

public ActionOutput.Builder clearOutputMessage()

Action execution output message.

string output_message = 3;

Returns
Type Description
ActionOutput.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ActionOutput other)

public ActionOutput.Builder mergeFrom(ActionOutput other)
Parameter
Name Description
other ActionOutput
Returns
Type Description
ActionOutput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ActionOutput.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ActionOutput.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ActionOutput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ActionOutput.Builder
Overrides

setActionId(String value)

public ActionOutput.Builder setActionId(String value)

ID of the action.

string action_id = 1;

Parameter
Name Description
value String

The actionId to set.

Returns
Type Description
ActionOutput.Builder

This builder for chaining.

setActionIdBytes(ByteString value)

public ActionOutput.Builder setActionIdBytes(ByteString value)

ID of the action.

string action_id = 1;

Parameter
Name Description
value ByteString

The bytes for actionId to set.

Returns
Type Description
ActionOutput.Builder

This builder for chaining.

setActionState(ActionOutput.State value)

public ActionOutput.Builder setActionState(ActionOutput.State value)

State of an action.

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

Parameter
Name Description
value ActionOutput.State

The actionState to set.

Returns
Type Description
ActionOutput.Builder

This builder for chaining.

setActionStateValue(int value)

public ActionOutput.Builder setActionStateValue(int value)

State of an action.

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

Parameter
Name Description
value int

The enum numeric value on the wire for actionState to set.

Returns
Type Description
ActionOutput.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setOutputMessage(String value)

public ActionOutput.Builder setOutputMessage(String value)

Action execution output message.

string output_message = 3;

Parameter
Name Description
value String

The outputMessage to set.

Returns
Type Description
ActionOutput.Builder

This builder for chaining.

setOutputMessageBytes(ByteString value)

public ActionOutput.Builder setOutputMessageBytes(ByteString value)

Action execution output message.

string output_message = 3;

Parameter
Name Description
value ByteString

The bytes for outputMessage to set.

Returns
Type Description
ActionOutput.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ActionOutput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ActionOutput.Builder
Overrides