public static final class EmailPreferences.Builder extends GeneratedMessageV3.Builder<EmailPreferences.Builder> implements EmailPreferencesOrBuilder
Represents preferences for sending email notifications for transfer run
events.
Protobuf type google.cloud.bigquery.datatransfer.v1.EmailPreferences
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EmailPreferences.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EmailPreferences build()
buildPartial()
public EmailPreferences buildPartial()
clear()
public EmailPreferences.Builder clear()
Overrides
clearEnableFailureEmail()
public EmailPreferences.Builder clearEnableFailureEmail()
If true, email notifications will be sent on transfer run failures.
bool enable_failure_email = 1;
clearField(Descriptors.FieldDescriptor field)
public EmailPreferences.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EmailPreferences.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public EmailPreferences.Builder clone()
Overrides
getDefaultInstanceForType()
public EmailPreferences getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnableFailureEmail()
public boolean getEnableFailureEmail()
If true, email notifications will be sent on transfer run failures.
bool enable_failure_email = 1;
Returns |
---|
Type | Description |
boolean | The enableFailureEmail.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(EmailPreferences other)
public EmailPreferences.Builder mergeFrom(EmailPreferences other)
public EmailPreferences.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EmailPreferences.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EmailPreferences.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEnableFailureEmail(boolean value)
public EmailPreferences.Builder setEnableFailureEmail(boolean value)
If true, email notifications will be sent on transfer run failures.
bool enable_failure_email = 1;
Parameter |
---|
Name | Description |
value | boolean
The enableFailureEmail to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public EmailPreferences.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EmailPreferences.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EmailPreferences.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides