public static final class UpdateContactRequest.Builder extends GeneratedMessage.Builder<UpdateContactRequest.Builder> implements UpdateContactRequestOrBuilder Request object for UpdateContact method.
Protobuf type google.ads.admanager.v1.UpdateContactRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateContactRequest.BuilderImplements
UpdateContactRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateContactRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateContactRequest |
|
buildPartial()
public UpdateContactRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateContactRequest |
|
clear()
public UpdateContactRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateContactRequest.Builder |
|
clearContact()
public UpdateContactRequest.Builder clearContact() Required. The Contact to update.
The Contact's name is used to identify the Contact to update.
.google.ads.admanager.v1.Contact contact = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateContactRequest.Builder |
|
clearUpdateMask()
public UpdateContactRequest.Builder clearUpdateMask()Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateContactRequest.Builder |
|
getContact()
public Contact getContact() Required. The Contact to update.
The Contact's name is used to identify the Contact to update.
.google.ads.admanager.v1.Contact contact = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Contact |
The contact. |
getContactBuilder()
public Contact.Builder getContactBuilder() Required. The Contact to update.
The Contact's name is used to identify the Contact to update.
.google.ads.admanager.v1.Contact contact = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Contact.Builder |
|
getContactOrBuilder()
public ContactOrBuilder getContactOrBuilder() Required. The Contact to update.
The Contact's name is used to identify the Contact to update.
.google.ads.admanager.v1.Contact contact = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ContactOrBuilder |
|
getDefaultInstanceForType()
public UpdateContactRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateContactRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUpdateMask()
public FieldMask getUpdateMask()Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasContact()
public boolean hasContact() Required. The Contact to update.
The Contact's name is used to identify the Contact to update.
.google.ads.admanager.v1.Contact contact = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the contact field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeContact(Contact value)
public UpdateContactRequest.Builder mergeContact(Contact value) Required. The Contact to update.
The Contact's name is used to identify the Contact to update.
.google.ads.admanager.v1.Contact contact = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Contact |
| Returns | |
|---|---|
| Type | Description |
UpdateContactRequest.Builder |
|
mergeFrom(UpdateContactRequest other)
public UpdateContactRequest.Builder mergeFrom(UpdateContactRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateContactRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateContactRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateContactRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateContactRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateContactRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateContactRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateContactRequest.Builder mergeUpdateMask(FieldMask value)Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateContactRequest.Builder |
|
setContact(Contact value)
public UpdateContactRequest.Builder setContact(Contact value) Required. The Contact to update.
The Contact's name is used to identify the Contact to update.
.google.ads.admanager.v1.Contact contact = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Contact |
| Returns | |
|---|---|
| Type | Description |
UpdateContactRequest.Builder |
|
setContact(Contact.Builder builderForValue)
public UpdateContactRequest.Builder setContact(Contact.Builder builderForValue) Required. The Contact to update.
The Contact's name is used to identify the Contact to update.
.google.ads.admanager.v1.Contact contact = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Contact.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateContactRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateContactRequest.Builder setUpdateMask(FieldMask value)Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateContactRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateContactRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateContactRequest.Builder |
|