Interface CreateContactRequestOrBuilder (2.4.0)

public interface CreateContactRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContact()

public abstract Contact getContact()

Required. The contact to create. Must specify an email address and language tag.

.google.cloud.essentialcontacts.v1.Contact contact = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Contact

The contact.

getContactOrBuilder()

public abstract ContactOrBuilder getContactOrBuilder()

Required. The contact to create. Must specify an email address and language tag.

.google.cloud.essentialcontacts.v1.Contact contact = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ContactOrBuilder

getParent()

public abstract String getParent()

Required. The resource to save this contact for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The resource to save this contact for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

hasContact()

public abstract boolean hasContact()

Required. The contact to create. Must specify an email address and language tag.

.google.cloud.essentialcontacts.v1.Contact contact = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the contact field is set.