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.StructgetCustomFeatures()Custom engine specific features.com.google.protobuf.StructOrBuildergetCustomFeaturesOrBuilder()Custom engine specific features.StringgetName()The name of the trigger.com.google.protobuf.ByteStringgetNameBytes()The name of the trigger.StringgetSqlCode()The SQL code which creates the trigger.com.google.protobuf.ByteStringgetSqlCodeBytes()The SQL code which creates the trigger.StringgetTriggeringEvents(int index)The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.com.google.protobuf.ByteStringgetTriggeringEventsBytes(int index)The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.intgetTriggeringEventsCount()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.StringgetTriggerType()Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.com.google.protobuf.ByteStringgetTriggerTypeBytes()Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.booleanhasCustomFeatures()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;
-
-