Class Contacts.Builder (1.27.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.datacatalog.v1.Contacts.Person>
Returns
TypeDescription
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
NameDescription
valueContacts.Person
Returns
TypeDescription
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
NameDescription
builderForValueContacts.Person.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueContacts.Person
Returns
TypeDescription
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
NameDescription
indexint
builderForValueContacts.Person.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Contacts.Person.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Contacts.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Contacts.Builder
Overrides

build()

public Contacts build()
Returns
TypeDescription
Contacts

buildPartial()

public Contacts buildPartial()
Returns
TypeDescription
Contacts

clear()

public Contacts.Builder clear()
Returns
TypeDescription
Contacts.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Contacts.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Contacts.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Contacts.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Contacts.Builder

clone()

public Contacts.Builder clone()
Returns
TypeDescription
Contacts.Builder
Overrides

getDefaultInstanceForType()

public Contacts getDefaultInstanceForType()
Returns
TypeDescription
Contacts

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getPeopleCount()

public int getPeopleCount()

The list of contact people for the entry.

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

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Contacts other)

public Contacts.Builder mergeFrom(Contacts other)
Parameter
NameDescription
otherContacts
Returns
TypeDescription
Contacts.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Contacts.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Contacts.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Contacts.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Contacts.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Contacts.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Contacts.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Contacts.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueContacts.Person
Returns
TypeDescription
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
NameDescription
indexint
builderForValueContacts.Person.Builder
Returns
TypeDescription
Contacts.Builder

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

public Contacts.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Contacts.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Contacts.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Contacts.Builder
Overrides