Package com.google.cloud.clouddms.v1
Interface TriggerEntityOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TriggerEntity
,TriggerEntity.Builder
public interface TriggerEntityOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Struct
getCustomFeatures()
Custom engine specific features.com.google.protobuf.StructOrBuilder
getCustomFeaturesOrBuilder()
Custom engine specific features.String
getName()
The name of the trigger.com.google.protobuf.ByteString
getNameBytes()
The name of the trigger.String
getSqlCode()
The SQL code which creates the trigger.com.google.protobuf.ByteString
getSqlCodeBytes()
The SQL code which creates the trigger.String
getTriggeringEvents(int index)
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.com.google.protobuf.ByteString
getTriggeringEventsBytes(int index)
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.int
getTriggeringEventsCount()
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.List<String>
getTriggeringEventsList()
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.String
getTriggerType()
Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.com.google.protobuf.ByteString
getTriggerTypeBytes()
Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.boolean
hasCustomFeatures()
Custom engine specific features.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The name of the trigger.
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of the trigger.
string name = 1;
- Returns:
- The bytes for name.
-
getTriggeringEventsList
List<String> getTriggeringEventsList()
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
repeated string triggering_events = 2;
- Returns:
- A list containing the triggeringEvents.
-
getTriggeringEventsCount
int getTriggeringEventsCount()
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
repeated string triggering_events = 2;
- Returns:
- The count of triggeringEvents.
-
getTriggeringEvents
String getTriggeringEvents(int index)
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
repeated string triggering_events = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The triggeringEvents at the given index.
-
getTriggeringEventsBytes
com.google.protobuf.ByteString getTriggeringEventsBytes(int index)
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
repeated string triggering_events = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the triggeringEvents at the given index.
-
getTriggerType
String getTriggerType()
Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.
string trigger_type = 3;
- Returns:
- The triggerType.
-
getTriggerTypeBytes
com.google.protobuf.ByteString getTriggerTypeBytes()
Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.
string trigger_type = 3;
- Returns:
- The bytes for triggerType.
-
getSqlCode
String getSqlCode()
The SQL code which creates the trigger.
string sql_code = 4;
- Returns:
- The sqlCode.
-
getSqlCodeBytes
com.google.protobuf.ByteString getSqlCodeBytes()
The SQL code which creates the trigger.
string sql_code = 4;
- Returns:
- The bytes for sqlCode.
-
hasCustomFeatures
boolean hasCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
- Returns:
- Whether the customFeatures field is set.
-
getCustomFeatures
com.google.protobuf.Struct getCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
- Returns:
- The customFeatures.
-
getCustomFeaturesOrBuilder
com.google.protobuf.StructOrBuilder getCustomFeaturesOrBuilder()
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
-
-