public
final
class
Contact
extends
GeneratedMessageV3
implements
ContactOrBuilder
A contact represents a person who is affiliated with a single company. A contact can have a variety of contact information associated to it, and can be invited to view their company's orders, line items, creatives, and reports.
Protobuf type google.ads.admanager.v1.Contact
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ContactImplements
ContactOrBuilderStatic Fields
COMPANY_DISPLAY_NAME_FIELD_NUMBER
public
static
final
int
COMPANY_DISPLAY_NAME_FIELD_NUMBER
NAME_FIELD_NUMBER
public
static
final
int
NAME_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
Contact
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
Contact
.
Builder
newBuilder
()
newBuilder(Contact prototype)
public
static
Contact
.
Builder
newBuilder
(
Contact
prototype
)
parseDelimitedFrom(InputStream input)
public
static
Contact
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Contact
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
Contact
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
Contact
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
Contact
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
Contact
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
Contact
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Contact
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
Contact
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Contact
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
Contact
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
Contact
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<Contact>
parser
()
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
getCompanyDisplayName()
public
String
getCompanyDisplayName
()
Output only. The display name of the Company.
optional string company_display_name = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCompanyDisplayNameBytes()
public
ByteString
getCompanyDisplayNameBytes
()
Output only. The display name of the Company.
optional string company_display_name = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public
Contact
getDefaultInstanceForType
()
getName()
public
String
getName
()
Identifier. The resource name of the Contact
.
Format: networks/{network_code}/contacts/{contact_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
getNameBytes()
public
ByteString
getNameBytes
()
Identifier. The resource name of the Contact
.
Format: networks/{network_code}/contacts/{contact_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
getParserForType()
public
Parser<Contact>
getParserForType
()
getSerializedSize()
public
int
getSerializedSize
()
hasCompanyDisplayName()
public
boolean
hasCompanyDisplayName
()
Output only. The display name of the Company.
optional string company_display_name = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
Contact
.
Builder
newBuilderForType
()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected
Contact
.
Builder
newBuilderForType
(
GeneratedMessageV3
.
BuilderParent
parent
)
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected
Object
newInstance
(
GeneratedMessageV3
.
UnusedPrivateParameter
unused
)
toBuilder()
public
Contact
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)