Class CustomerContact.Builder (0.32.0)

public static final class CustomerContact.Builder extends GeneratedMessage.Builder<CustomerContact.Builder> implements CustomerContactOrBuilder

The CustomerContact reference as defined by Oracle. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/CustomerContact

Protobuf type google.cloud.oracledatabase.v1.CustomerContact

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public CustomerContact build()
Returns
Type Description
CustomerContact

buildPartial()

public CustomerContact buildPartial()
Returns
Type Description
CustomerContact

clear()

public CustomerContact.Builder clear()
Returns
Type Description
CustomerContact.Builder
Overrides

clearEmail()

public CustomerContact.Builder clearEmail()

Required. The email address used by Oracle to send notifications regarding databases and infrastructure.

string email = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomerContact.Builder

This builder for chaining.

getDefaultInstanceForType()

public CustomerContact getDefaultInstanceForType()
Returns
Type Description
CustomerContact

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEmail()

public String getEmail()

Required. The email address used by Oracle to send notifications regarding databases and infrastructure.

string email = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

Required. The email address used by Oracle to send notifications regarding databases and infrastructure.

string email = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for email.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CustomerContact other)

public CustomerContact.Builder mergeFrom(CustomerContact other)
Parameter
Name Description
other CustomerContact
Returns
Type Description
CustomerContact.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CustomerContact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomerContact.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CustomerContact.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CustomerContact.Builder
Overrides

setEmail(String value)

public CustomerContact.Builder setEmail(String value)

Required. The email address used by Oracle to send notifications regarding databases and infrastructure.

string email = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The email to set.

Returns
Type Description
CustomerContact.Builder

This builder for chaining.

setEmailBytes(ByteString value)

public CustomerContact.Builder setEmailBytes(ByteString value)

Required. The email address used by Oracle to send notifications regarding databases and infrastructure.

string email = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for email to set.

Returns
Type Description
CustomerContact.Builder

This builder for chaining.