Interface ContactOrBuilder (0.14.0)

public interface ContactOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContactId()

public abstract long getContactId()

Output only. The unique ID of the contact. This value is readonly and is assigned by Google.

int64 contact_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The contactId.

getName()

public abstract String getName()

Identifier. The resource name of the Contact. Format: networks/{network_code}/contacts/{contact_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name of the Contact. Format: networks/{network_code}/contacts/{contact_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.