- 2.52.0 (latest)
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.8
- 2.1.9
public static final class TriggerEntity.Builder extends GeneratedMessageV3.Builder<TriggerEntity.Builder> implements TriggerEntityOrBuilder
Trigger is not used as an independent entity, it is retrieved as part of a Table entity.
Protobuf type google.cloud.clouddms.v1.TriggerEntity
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TriggerEntity.BuilderImplements
TriggerEntityOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllTriggeringEvents(Iterable<String> values)
public TriggerEntity.Builder addAllTriggeringEvents(Iterable<String> values)
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
repeated string triggering_events = 2;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The triggeringEvents to add. |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TriggerEntity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder |
addTriggeringEvents(String value)
public TriggerEntity.Builder addTriggeringEvents(String value)
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
repeated string triggering_events = 2;
Parameter | |
---|---|
Name | Description |
value | String The triggeringEvents to add. |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder | This builder for chaining. |
addTriggeringEventsBytes(ByteString value)
public TriggerEntity.Builder addTriggeringEventsBytes(ByteString value)
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
repeated string triggering_events = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the triggeringEvents to add. |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder | This builder for chaining. |
build()
public TriggerEntity build()
Returns | |
---|---|
Type | Description |
TriggerEntity |
buildPartial()
public TriggerEntity buildPartial()
Returns | |
---|---|
Type | Description |
TriggerEntity |
clear()
public TriggerEntity.Builder clear()
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder |
clearCustomFeatures()
public TriggerEntity.Builder clearCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder |
clearField(Descriptors.FieldDescriptor field)
public TriggerEntity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder |
clearName()
public TriggerEntity.Builder clearName()
The name of the trigger.
string name = 1;
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TriggerEntity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder |
clearSqlCode()
public TriggerEntity.Builder clearSqlCode()
The SQL code which creates the trigger.
string sql_code = 4;
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder | This builder for chaining. |
clearTriggerType()
public TriggerEntity.Builder clearTriggerType()
Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.
string trigger_type = 3;
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder | This builder for chaining. |
clearTriggeringEvents()
public TriggerEntity.Builder clearTriggeringEvents()
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
repeated string triggering_events = 2;
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder | This builder for chaining. |
clone()
public TriggerEntity.Builder clone()
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder |
getCustomFeatures()
public Struct getCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
Returns | |
---|---|
Type | Description |
Struct | The customFeatures. |
getCustomFeaturesBuilder()
public Struct.Builder getCustomFeaturesBuilder()
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
Returns | |
---|---|
Type | Description |
Builder |
getCustomFeaturesOrBuilder()
public StructOrBuilder getCustomFeaturesOrBuilder()
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
Returns | |
---|---|
Type | Description |
StructOrBuilder |
getDefaultInstanceForType()
public TriggerEntity getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TriggerEntity |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
The name of the trigger.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the trigger.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getSqlCode()
public String getSqlCode()
The SQL code which creates the trigger.
string sql_code = 4;
Returns | |
---|---|
Type | Description |
String | The sqlCode. |
getSqlCodeBytes()
public ByteString getSqlCodeBytes()
The SQL code which creates the trigger.
string sql_code = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for sqlCode. |
getTriggerType()
public String getTriggerType()
Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.
string trigger_type = 3;
Returns | |
---|---|
Type | Description |
String | The triggerType. |
getTriggerTypeBytes()
public ByteString getTriggerTypeBytes()
Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.
string trigger_type = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for triggerType. |
getTriggeringEvents(int index)
public String getTriggeringEvents(int index)
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
repeated string triggering_events = 2;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The triggeringEvents at the given index. |
getTriggeringEventsBytes(int index)
public ByteString getTriggeringEventsBytes(int index)
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
repeated string triggering_events = 2;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the triggeringEvents at the given index. |
getTriggeringEventsCount()
public int getTriggeringEventsCount()
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
repeated string triggering_events = 2;
Returns | |
---|---|
Type | Description |
int | The count of triggeringEvents. |
getTriggeringEventsList()
public ProtocolStringList getTriggeringEventsList()
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
repeated string triggering_events = 2;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the triggeringEvents. |
hasCustomFeatures()
public boolean hasCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the customFeatures field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCustomFeatures(Struct value)
public TriggerEntity.Builder mergeCustomFeatures(Struct value)
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
Parameter | |
---|---|
Name | Description |
value | Struct |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder |
mergeFrom(TriggerEntity other)
public TriggerEntity.Builder mergeFrom(TriggerEntity other)
Parameter | |
---|---|
Name | Description |
other | TriggerEntity |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TriggerEntity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TriggerEntity.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TriggerEntity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder |
setCustomFeatures(Struct value)
public TriggerEntity.Builder setCustomFeatures(Struct value)
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
Parameter | |
---|---|
Name | Description |
value | Struct |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder |
setCustomFeatures(Struct.Builder builderForValue)
public TriggerEntity.Builder setCustomFeatures(Struct.Builder builderForValue)
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TriggerEntity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder |
setName(String value)
public TriggerEntity.Builder setName(String value)
The name of the trigger.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public TriggerEntity.Builder setNameBytes(ByteString value)
The name of the trigger.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TriggerEntity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder |
setSqlCode(String value)
public TriggerEntity.Builder setSqlCode(String value)
The SQL code which creates the trigger.
string sql_code = 4;
Parameter | |
---|---|
Name | Description |
value | String The sqlCode to set. |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder | This builder for chaining. |
setSqlCodeBytes(ByteString value)
public TriggerEntity.Builder setSqlCodeBytes(ByteString value)
The SQL code which creates the trigger.
string sql_code = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for sqlCode to set. |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder | This builder for chaining. |
setTriggerType(String value)
public TriggerEntity.Builder setTriggerType(String value)
Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.
string trigger_type = 3;
Parameter | |
---|---|
Name | Description |
value | String The triggerType to set. |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder | This builder for chaining. |
setTriggerTypeBytes(ByteString value)
public TriggerEntity.Builder setTriggerTypeBytes(ByteString value)
Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.
string trigger_type = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for triggerType to set. |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder | This builder for chaining. |
setTriggeringEvents(int index, String value)
public TriggerEntity.Builder setTriggeringEvents(int index, String value)
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
repeated string triggering_events = 2;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The triggeringEvents to set. |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TriggerEntity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TriggerEntity.Builder |