public static final class ContactDetails.Builder extends GeneratedMessageV3.Builder<ContactDetails.Builder> implements ContactDetailsOrBuilder
The details pertaining to specific contacts
Protobuf type google.cloud.securitycenter.v1.ContactDetails
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ContactDetails.Builder addAllContacts(Iterable<? extends Contact> values)
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.securitycenter.v1.Contact>
|
Returns
public ContactDetails.Builder addContacts(Contact value)
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Parameter
Returns
public ContactDetails.Builder addContacts(Contact.Builder builderForValue)
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Parameter
Returns
public ContactDetails.Builder addContacts(int index, Contact value)
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Parameters
Returns
public ContactDetails.Builder addContacts(int index, Contact.Builder builderForValue)
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Parameters
Returns
public Contact.Builder addContactsBuilder()
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Returns
public Contact.Builder addContactsBuilder(int index)
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Parameter
Returns
public ContactDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ContactDetails build()
Returns
public ContactDetails buildPartial()
Returns
public ContactDetails.Builder clear()
Returns
Overrides
public ContactDetails.Builder clearContacts()
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Returns
public ContactDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ContactDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ContactDetails.Builder clone()
Returns
Overrides
public Contact getContacts(int index)
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Parameter
Returns
public Contact.Builder getContactsBuilder(int index)
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Parameter
Returns
public List<Contact.Builder> getContactsBuilderList()
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Returns
public int getContactsCount()
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Returns
public List<Contact> getContactsList()
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Returns
public ContactOrBuilder getContactsOrBuilder(int index)
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Parameter
Returns
public List<? extends ContactOrBuilder> getContactsOrBuilderList()
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Returns
Type | Description |
List<? extends com.google.cloud.securitycenter.v1.ContactOrBuilder> | |
public ContactDetails getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ContactDetails.Builder mergeFrom(ContactDetails other)
Parameter
Returns
public ContactDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ContactDetails.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ContactDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ContactDetails.Builder removeContacts(int index)
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Parameter
Returns
public ContactDetails.Builder setContacts(int index, Contact value)
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Parameters
Returns
public ContactDetails.Builder setContacts(int index, Contact.Builder builderForValue)
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Parameters
Returns
public ContactDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ContactDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ContactDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides