Class BatchUpdateContactsResponse.Builder (0.39.0)

public static final class BatchUpdateContactsResponse.Builder extends GeneratedMessageV3.Builder<BatchUpdateContactsResponse.Builder> implements BatchUpdateContactsResponseOrBuilder

Response object for BatchUpdateContacts method.

Protobuf type google.ads.admanager.v1.BatchUpdateContactsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllContacts(Iterable<? extends Contact> values)

public BatchUpdateContactsResponse.Builder addAllContacts(Iterable<? extends Contact> values)

The Contact objects updated.

repeated .google.ads.admanager.v1.Contact contacts = 1;

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.Contact>
Returns
Type Description
BatchUpdateContactsResponse.Builder

addContacts(Contact value)

public BatchUpdateContactsResponse.Builder addContacts(Contact value)

The Contact objects updated.

repeated .google.ads.admanager.v1.Contact contacts = 1;

Parameter
Name Description
value Contact
Returns
Type Description
BatchUpdateContactsResponse.Builder

addContacts(Contact.Builder builderForValue)

public BatchUpdateContactsResponse.Builder addContacts(Contact.Builder builderForValue)

The Contact objects updated.

repeated .google.ads.admanager.v1.Contact contacts = 1;

Parameter
Name Description
builderForValue Contact.Builder
Returns
Type Description
BatchUpdateContactsResponse.Builder

addContacts(int index, Contact value)

public BatchUpdateContactsResponse.Builder addContacts(int index, Contact value)

The Contact objects updated.

repeated .google.ads.admanager.v1.Contact contacts = 1;

Parameters
Name Description
index int
value Contact
Returns
Type Description
BatchUpdateContactsResponse.Builder

addContacts(int index, Contact.Builder builderForValue)

public BatchUpdateContactsResponse.Builder addContacts(int index, Contact.Builder builderForValue)

The Contact objects updated.

repeated .google.ads.admanager.v1.Contact contacts = 1;

Parameters
Name Description
index int
builderForValue Contact.Builder
Returns
Type Description
BatchUpdateContactsResponse.Builder

addContactsBuilder()

public Contact.Builder addContactsBuilder()

The Contact objects updated.

repeated .google.ads.admanager.v1.Contact contacts = 1;

Returns
Type Description
Contact.Builder

addContactsBuilder(int index)

public Contact.Builder addContactsBuilder(int index)

The Contact objects updated.

repeated .google.ads.admanager.v1.Contact contacts = 1;

Parameter
Name Description
index int
Returns
Type Description
Contact.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchUpdateContactsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchUpdateContactsResponse.Builder
Overrides

build()

public BatchUpdateContactsResponse build()
Returns
Type Description
BatchUpdateContactsResponse

buildPartial()

public BatchUpdateContactsResponse buildPartial()
Returns
Type Description
BatchUpdateContactsResponse

clear()

public BatchUpdateContactsResponse.Builder clear()
Returns
Type Description
BatchUpdateContactsResponse.Builder
Overrides

clearContacts()

public BatchUpdateContactsResponse.Builder clearContacts()

The Contact objects updated.

repeated .google.ads.admanager.v1.Contact contacts = 1;

Returns
Type Description
BatchUpdateContactsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public BatchUpdateContactsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchUpdateContactsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchUpdateContactsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchUpdateContactsResponse.Builder
Overrides

clone()

public BatchUpdateContactsResponse.Builder clone()
Returns
Type Description
BatchUpdateContactsResponse.Builder
Overrides

getContacts(int index)

public Contact getContacts(int index)

The Contact objects updated.

repeated .google.ads.admanager.v1.Contact contacts = 1;

Parameter
Name Description
index int
Returns
Type Description
Contact

getContactsBuilder(int index)

public Contact.Builder getContactsBuilder(int index)

The Contact objects updated.

repeated .google.ads.admanager.v1.Contact contacts = 1;

Parameter
Name Description
index int
Returns
Type Description
Contact.Builder

getContactsBuilderList()

public List<Contact.Builder> getContactsBuilderList()

The Contact objects updated.

repeated .google.ads.admanager.v1.Contact contacts = 1;

Returns
Type Description
List<Builder>

getContactsCount()

public int getContactsCount()

The Contact objects updated.

repeated .google.ads.admanager.v1.Contact contacts = 1;

Returns
Type Description
int

getContactsList()

public List<Contact> getContactsList()

The Contact objects updated.

repeated .google.ads.admanager.v1.Contact contacts = 1;

Returns
Type Description
List<Contact>

getContactsOrBuilder(int index)

public ContactOrBuilder getContactsOrBuilder(int index)

The Contact objects updated.

repeated .google.ads.admanager.v1.Contact contacts = 1;

Parameter
Name Description
index int
Returns
Type Description
ContactOrBuilder

getContactsOrBuilderList()

public List<? extends ContactOrBuilder> getContactsOrBuilderList()

The Contact objects updated.

repeated .google.ads.admanager.v1.Contact contacts = 1;

Returns
Type Description
List<? extends com.google.ads.admanager.v1.ContactOrBuilder>

getDefaultInstanceForType()

public BatchUpdateContactsResponse getDefaultInstanceForType()
Returns
Type Description
BatchUpdateContactsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchUpdateContactsResponse other)

public BatchUpdateContactsResponse.Builder mergeFrom(BatchUpdateContactsResponse other)
Parameter
Name Description
other BatchUpdateContactsResponse
Returns
Type Description
BatchUpdateContactsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchUpdateContactsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchUpdateContactsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchUpdateContactsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchUpdateContactsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateContactsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchUpdateContactsResponse.Builder
Overrides

removeContacts(int index)

public BatchUpdateContactsResponse.Builder removeContacts(int index)

The Contact objects updated.

repeated .google.ads.admanager.v1.Contact contacts = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchUpdateContactsResponse.Builder

setContacts(int index, Contact value)

public BatchUpdateContactsResponse.Builder setContacts(int index, Contact value)

The Contact objects updated.

repeated .google.ads.admanager.v1.Contact contacts = 1;

Parameters
Name Description
index int
value Contact
Returns
Type Description
BatchUpdateContactsResponse.Builder

setContacts(int index, Contact.Builder builderForValue)

public BatchUpdateContactsResponse.Builder setContacts(int index, Contact.Builder builderForValue)

The Contact objects updated.

repeated .google.ads.admanager.v1.Contact contacts = 1;

Parameters
Name Description
index int
builderForValue Contact.Builder
Returns
Type Description
BatchUpdateContactsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchUpdateContactsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchUpdateContactsResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchUpdateContactsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchUpdateContactsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateContactsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchUpdateContactsResponse.Builder
Overrides