Class CustomerContact.Builder (0.4.0)

public static final class CustomerContact.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CustomerContact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CustomerContact.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public CustomerContact.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CustomerContact.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CustomerContact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CustomerContact.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CustomerContact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public CustomerContact.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CustomerContact.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CustomerContact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CustomerContact.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CustomerContact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CustomerContact.Builder
Overrides