Interface CreateContactRequestOrBuilder (2.43.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the contact field is set.