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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EmailPreferences.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public EmailPreferences build()
Returns
buildPartial()
public EmailPreferences buildPartial()
Returns
clear()
public EmailPreferences.Builder clear()
Returns
Overrides
clearEnableFailureEmail()
public EmailPreferences.Builder clearEnableFailureEmail()
If true, email notifications will be sent on transfer run failures.
bool enable_failure_email = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public EmailPreferences.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EmailPreferences.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public EmailPreferences.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public EmailPreferences getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(EmailPreferences other)
public EmailPreferences.Builder mergeFrom(EmailPreferences other)
Parameter
Returns
public EmailPreferences.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public EmailPreferences.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EmailPreferences.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public EmailPreferences.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EmailPreferences.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EmailPreferences.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides