Class ActionOutput.Builder (0.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ActionOutput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ActionOutput.Builder
Overrides

build()

public ActionOutput build()
Returns
TypeDescription
ActionOutput

buildPartial()

public ActionOutput buildPartial()
Returns
TypeDescription
ActionOutput

clear()

public ActionOutput.Builder clear()
Returns
TypeDescription
ActionOutput.Builder
Overrides

clearActionId()

public ActionOutput.Builder clearActionId()

ID of the action.

string action_id = 1;

Returns
TypeDescription
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
TypeDescription
ActionOutput.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ActionOutput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ActionOutput.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ActionOutput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ActionOutput.Builder
Overrides

clearOutputMessage()

public ActionOutput.Builder clearOutputMessage()

Action execution output message.

string output_message = 3;

Returns
TypeDescription
ActionOutput.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ActionOutput other)

public ActionOutput.Builder mergeFrom(ActionOutput other)
Parameter
NameDescription
otherActionOutput
Returns
TypeDescription
ActionOutput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ActionOutput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionOutput.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ActionOutput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ActionOutput.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ActionOutput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ActionOutput.Builder
Overrides

setActionId(String value)

public ActionOutput.Builder setActionId(String value)

ID of the action.

string action_id = 1;

Parameter
NameDescription
valueString

The actionId to set.

Returns
TypeDescription
ActionOutput.Builder

This builder for chaining.

setActionIdBytes(ByteString value)

public ActionOutput.Builder setActionIdBytes(ByteString value)

ID of the action.

string action_id = 1;

Parameter
NameDescription
valueByteString

The bytes for actionId to set.

Returns
TypeDescription
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
NameDescription
valueActionOutput.State

The actionState to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
ActionOutput.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ActionOutput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ActionOutput.Builder
Overrides

setOutputMessage(String value)

public ActionOutput.Builder setOutputMessage(String value)

Action execution output message.

string output_message = 3;

Parameter
NameDescription
valueString

The outputMessage to set.

Returns
TypeDescription
ActionOutput.Builder

This builder for chaining.

setOutputMessageBytes(ByteString value)

public ActionOutput.Builder setOutputMessageBytes(ByteString value)

Action execution output message.

string output_message = 3;

Parameter
NameDescription
valueByteString

The bytes for outputMessage to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ActionOutput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ActionOutput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ActionOutput.Builder
Overrides