public final class EmailPreferences extends GeneratedMessageV3 implements EmailPreferencesOrBuilder
Represents preferences for sending email notifications for transfer run
events.
Protobuf type google.cloud.bigquery.datatransfer.v1.EmailPreferences
Static Fields
ENABLE_FAILURE_EMAIL_FIELD_NUMBER
public static final int ENABLE_FAILURE_EMAIL_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static EmailPreferences getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static EmailPreferences.Builder newBuilder()
Returns
newBuilder(EmailPreferences prototype)
public static EmailPreferences.Builder newBuilder(EmailPreferences prototype)
Parameter
Returns
public static EmailPreferences parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static EmailPreferences parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static EmailPreferences parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EmailPreferences parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static EmailPreferences parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EmailPreferences parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EmailPreferences parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static EmailPreferences parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EmailPreferences parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static EmailPreferences parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static EmailPreferences parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EmailPreferences parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<EmailPreferences> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public EmailPreferences getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<EmailPreferences> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public EmailPreferences.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EmailPreferences.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public EmailPreferences.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions