Class Contacts.Builder (1.89.0)

public static final class Contacts.Builder extends GeneratedMessage.Builder<Contacts.Builder> implements ContactsOrBuilder

Contact people for the entry.

Protobuf type google.cloud.datacatalog.v1.Contacts

Implements

ContactsOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllPeople(Iterable<? extends Contacts.Person> values)

public Contacts.Builder addAllPeople(Iterable<? extends Contacts.Person> values)

The list of contact people for the entry.

repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.datacatalog.v1.Contacts.Person>
Returns
Type Description
Contacts.Builder

addPeople(Contacts.Person value)

public Contacts.Builder addPeople(Contacts.Person value)

The list of contact people for the entry.

repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;

Parameter
Name Description
value Contacts.Person
Returns
Type Description
Contacts.Builder

addPeople(Contacts.Person.Builder builderForValue)

public Contacts.Builder addPeople(Contacts.Person.Builder builderForValue)

The list of contact people for the entry.

repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;

Parameter
Name Description
builderForValue Contacts.Person.Builder
Returns
Type Description
Contacts.Builder

addPeople(int index, Contacts.Person value)

public Contacts.Builder addPeople(int index, Contacts.Person value)

The list of contact people for the entry.

repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;

Parameters
Name Description
index int
value Contacts.Person
Returns
Type Description
Contacts.Builder

addPeople(int index, Contacts.Person.Builder builderForValue)

public Contacts.Builder addPeople(int index, Contacts.Person.Builder builderForValue)

The list of contact people for the entry.

repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;

Parameters
Name Description
index int
builderForValue Contacts.Person.Builder
Returns
Type Description
Contacts.Builder

addPeopleBuilder()

public Contacts.Person.Builder addPeopleBuilder()

The list of contact people for the entry.

repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;

Returns
Type Description
Contacts.Person.Builder

addPeopleBuilder(int index)

public Contacts.Person.Builder addPeopleBuilder(int index)

The list of contact people for the entry.

repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;

Parameter
Name Description
index int
Returns
Type Description
Contacts.Person.Builder

build()

public Contacts build()
Returns
Type Description
Contacts

buildPartial()

public Contacts buildPartial()
Returns
Type Description
Contacts

clear()

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

clearPeople()

public Contacts.Builder clearPeople()

The list of contact people for the entry.

repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;

Returns
Type Description
Contacts.Builder

getDefaultInstanceForType()

public Contacts getDefaultInstanceForType()
Returns
Type Description
Contacts

getDescriptorForType()

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

getPeople(int index)

public Contacts.Person getPeople(int index)

The list of contact people for the entry.

repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;

Parameter
Name Description
index int
Returns
Type Description
Contacts.Person

getPeopleBuilder(int index)

public Contacts.Person.Builder getPeopleBuilder(int index)

The list of contact people for the entry.

repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;

Parameter
Name Description
index int
Returns
Type Description
Contacts.Person.Builder

getPeopleBuilderList()

public List<Contacts.Person.Builder> getPeopleBuilderList()

The list of contact people for the entry.

repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;

Returns
Type Description
List<Builder>

getPeopleCount()

public int getPeopleCount()

The list of contact people for the entry.

repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;

Returns
Type Description
int

getPeopleList()

public List<Contacts.Person> getPeopleList()

The list of contact people for the entry.

repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;

Returns
Type Description
List<Person>

getPeopleOrBuilder(int index)

public Contacts.PersonOrBuilder getPeopleOrBuilder(int index)

The list of contact people for the entry.

repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;

Parameter
Name Description
index int
Returns
Type Description
Contacts.PersonOrBuilder

getPeopleOrBuilderList()

public List<? extends Contacts.PersonOrBuilder> getPeopleOrBuilderList()

The list of contact people for the entry.

repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;

Returns
Type Description
List<? extends com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Contacts other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removePeople(int index)

public Contacts.Builder removePeople(int index)

The list of contact people for the entry.

repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;

Parameter
Name Description
index int
Returns
Type Description
Contacts.Builder

setPeople(int index, Contacts.Person value)

public Contacts.Builder setPeople(int index, Contacts.Person value)

The list of contact people for the entry.

repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;

Parameters
Name Description
index int
value Contacts.Person
Returns
Type Description
Contacts.Builder

setPeople(int index, Contacts.Person.Builder builderForValue)

public Contacts.Builder setPeople(int index, Contacts.Person.Builder builderForValue)

The list of contact people for the entry.

repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;

Parameters
Name Description
index int
builderForValue Contacts.Person.Builder
Returns
Type Description
Contacts.Builder