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
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
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
Returns
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
Returns
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
Returns
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
Returns
public Contacts.Person.Builder addPeopleBuilder()
The list of contact people for the entry.
repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;
Returns
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
Returns
public Contacts.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
Returns
public Contacts buildPartial()
Returns
public Contacts.Builder clear()
Returns
Overrides
public Contacts.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public Contacts.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public Contacts.Builder clearPeople()
The list of contact people for the entry.
repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;
Returns
public Contacts.Builder clone()
Returns
Overrides
public Contacts getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Contacts.Person getPeople(int index)
The list of contact people for the entry.
repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;
Parameter
Returns
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
Returns
public List<Contacts.Person.Builder> getPeopleBuilderList()
The list of contact people for the entry.
repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;
Returns
public int getPeopleCount()
The list of contact people for the entry.
repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;
Returns
public List<Contacts.Person> getPeopleList()
The list of contact people for the entry.
repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;
Returns
public Contacts.PersonOrBuilder getPeopleOrBuilder(int index)
The list of contact people for the entry.
repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;
Parameter
Returns
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> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Contacts.Builder mergeFrom(Contacts other)
Parameter
Returns
public Contacts.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public Contacts.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final Contacts.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public Contacts.Builder removePeople(int index)
The list of contact people for the entry.
repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1;
Parameter
Returns
public Contacts.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
public Contacts.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final Contacts.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides