Class Contacts.Builder (1.48.0)

public static final class Contacts.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Contacts.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Contacts.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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