Class Action (0.7.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

getDescriptor()

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

newBuilder()

  public 
  
 static 
  
 Action 
 . 
 Builder 
  
 newBuilder 
 () 
 
Returns
Type
Description

newBuilder(Action prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getActionSpecCase()

  public 
  
 Action 
 . 
 ActionSpecCase 
  
 getActionSpecCase 
 () 
 
Returns
Type
Description

getConnectionActionId()

  public 
  
 String 
  
 getConnectionActionId 
 () 
 

ID of a Connection action for the tool to use.

string connection_action_id = 4;

Returns
Type
Description

The connectionActionId.

getConnectionActionIdBytes()

  public 
  
 ByteString 
  
 getConnectionActionIdBytes 
 () 
 

ID of a Connection action for the tool to use.

string connection_action_id = 4;

Returns
Type
Description

The bytes for connectionActionId.

getDefaultInstanceForType()

  public 
  
 Action 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

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

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

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

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

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

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

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

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

A list containing the outputFields.

getParserForType()

  public 
  
 Parser<Action> 
  
 getParserForType 
 () 
 
Returns
Type
Description
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

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

Whether the entityOperation field is set.

hashCode()

  public 
  
 int 
  
 hashCode 
 () 
 
Returns
Type
Description
int
Overrides

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessage 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
Overrides

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

newBuilderForType()

  public 
  
 Action 
 . 
 Builder 
  
 newBuilderForType 
 () 
 
Returns
Type
Description

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

  public 
  
 Action 
 . 
 Builder 
  
 toBuilder 
 () 
 
Returns
Type
Description

writeTo(CodedOutputStream output)

  public 
  
 void 
  
 writeTo 
 ( 
 CodedOutputStream 
  
 output 
 ) 
 
Parameter
Name
Description
Overrides
Exceptions
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: