public final class ContactDetails extends GeneratedMessageV3 implements ContactDetailsOrBuilder
Details about specific contacts
Protobuf type google.cloud.securitycenter.v1.ContactDetails
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ContactDetailsImplements
ContactDetailsOrBuilderStatic Fields
CONTACTS_FIELD_NUMBER
public static final int CONTACTS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ContactDetails getDefaultInstance()
Returns | |
---|---|
Type | Description |
ContactDetails |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ContactDetails.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ContactDetails.Builder |
newBuilder(ContactDetails prototype)
public static ContactDetails.Builder newBuilder(ContactDetails prototype)
Parameter | |
---|---|
Name | Description |
prototype | ContactDetails |
Returns | |
---|---|
Type | Description |
ContactDetails.Builder |
parseDelimitedFrom(InputStream input)
public static ContactDetails parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ContactDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContactDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ContactDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ContactDetails parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
ContactDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContactDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ContactDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ContactDetails parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
ContactDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContactDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ContactDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ContactDetails parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
ContactDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ContactDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ContactDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ContactDetails parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ContactDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContactDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ContactDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ContactDetails parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
ContactDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContactDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ContactDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ContactDetails> parser()
Returns | |
---|---|
Type | Description |
Parser<ContactDetails> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getContacts(int index)
public Contact getContacts(int index)
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Contact |
getContactsCount()
public int getContactsCount()
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Returns | |
---|---|
Type | Description |
int |
getContactsList()
public List<Contact> getContactsList()
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Returns | |
---|---|
Type | Description |
List<Contact> |
getContactsOrBuilder(int index)
public ContactOrBuilder getContactsOrBuilder(int index)
A list of contacts
repeated .google.cloud.securitycenter.v1.Contact contacts = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ContactOrBuilder |
getContactsOrBuilderList()
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> |
getDefaultInstanceForType()
public ContactDetails getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ContactDetails |
getParserForType()
public Parser<ContactDetails> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ContactDetails> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ContactDetails.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ContactDetails.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ContactDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
ContactDetails.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ContactDetails.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ContactDetails.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |