Class Action (0.1.0)

public final class Action extends GeneratedMessage implements ActionOrBuilder

Configuration of an Action for the tool to use. Note: This can be either an Action or an Operation. See https://cloud.google.com/integration-connectors/docs/entities-operation-action for details.

Protobuf type google.cloud.ces.v1.Action

Implements

ActionOrBuilder

Static Fields

CONNECTION_ACTION_ID_FIELD_NUMBER

public static final int CONNECTION_ACTION_ID_FIELD_NUMBER
Field Value
Type Description
int

ENTITY_OPERATION_FIELD_NUMBER

public static final int ENTITY_OPERATION_FIELD_NUMBER
Field Value
Type Description
int

INPUT_FIELDS_FIELD_NUMBER

public static final int INPUT_FIELDS_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_FIELDS_FIELD_NUMBER

public static final int OUTPUT_FIELDS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Action getDefaultInstance()
Returns
Type Description
Action

getDescriptor()

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

newBuilder()

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

newBuilder(Action prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getActionSpecCase()

public Action.ActionSpecCase getActionSpecCase()
Returns
Type Description
Action.ActionSpecCase

getConnectionActionId()

public String getConnectionActionId()

ID of a Connection action for the tool to use.

string connection_action_id = 4;

Returns
Type Description
String

The connectionActionId.

getConnectionActionIdBytes()

public ByteString getConnectionActionIdBytes()

ID of a Connection action for the tool to use.

string connection_action_id = 4;

Returns
Type Description
ByteString

The bytes for connectionActionId.

getDefaultInstanceForType()

public Action getDefaultInstanceForType()
Returns
Type Description
Action

getEntityOperation()

public Action.EntityOperation getEntityOperation()

Entity operation configuration for the tool to use.

.google.cloud.ces.v1.Action.EntityOperation entity_operation = 5;

Returns
Type Description
Action.EntityOperation

The entityOperation.

getEntityOperationOrBuilder()

public Action.EntityOperationOrBuilder getEntityOperationOrBuilder()

Entity operation configuration for the tool to use.

.google.cloud.ces.v1.Action.EntityOperation entity_operation = 5;

Returns
Type Description
Action.EntityOperationOrBuilder

getInputFields(int index)

public String getInputFields(int index)

Optional. Entity fields to use as inputs for the operation. If no fields are specified, all fields of the Entity will be used.

repeated string input_fields = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The inputFields at the given index.

getInputFieldsBytes(int index)

public ByteString getInputFieldsBytes(int index)

Optional. Entity fields to use as inputs for the operation. If no fields are specified, all fields of the Entity will be used.

repeated string input_fields = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the inputFields at the given index.

getInputFieldsCount()

public int getInputFieldsCount()

Optional. Entity fields to use as inputs for the operation. If no fields are specified, all fields of the Entity will be used.

repeated string input_fields = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of inputFields.

getInputFieldsList()

public ProtocolStringList getInputFieldsList()

Optional. Entity fields to use as inputs for the operation. If no fields are specified, all fields of the Entity will be used.

repeated string input_fields = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the inputFields.

getOutputFields(int index)

public String getOutputFields(int index)

Optional. Entity fields to return from the operation. If no fields are specified, all fields of the Entity will be returned.

repeated string output_fields = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The outputFields at the given index.

getOutputFieldsBytes(int index)

public ByteString getOutputFieldsBytes(int index)

Optional. Entity fields to return from the operation. If no fields are specified, all fields of the Entity will be returned.

repeated string output_fields = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the outputFields at the given index.

getOutputFieldsCount()

public int getOutputFieldsCount()

Optional. Entity fields to return from the operation. If no fields are specified, all fields of the Entity will be returned.

repeated string output_fields = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of outputFields.

getOutputFieldsList()

public ProtocolStringList getOutputFieldsList()

Optional. Entity fields to return from the operation. If no fields are specified, all fields of the Entity will be returned.

repeated string output_fields = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the outputFields.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasConnectionActionId()

public boolean hasConnectionActionId()

ID of a Connection action for the tool to use.

string connection_action_id = 4;

Returns
Type Description
boolean

Whether the connectionActionId field is set.

hasEntityOperation()

public boolean hasEntityOperation()

Entity operation configuration for the tool to use.

.google.cloud.ces.v1.Action.EntityOperation entity_operation = 5;

Returns
Type Description
boolean

Whether the entityOperation field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Action.Builder newBuilderForType()
Returns
Type Description
Action.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Action.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Action.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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