Class ContactDetails (2.45.0)

public final class ContactDetails extends GeneratedMessageV3 implements ContactDetailsOrBuilder

Details about specific contacts

Protobuf type google.cloud.securitycenter.v2.ContactDetails

Static Fields

CONTACTS_FIELD_NUMBER

public static final int CONTACTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ContactDetails getDefaultInstance()
Returns
TypeDescription
ContactDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ContactDetails.Builder newBuilder()
Returns
TypeDescription
ContactDetails.Builder

newBuilder(ContactDetails prototype)

public static ContactDetails.Builder newBuilder(ContactDetails prototype)
Parameter
NameDescription
prototypeContactDetails
Returns
TypeDescription
ContactDetails.Builder

parseDelimitedFrom(InputStream input)

public static ContactDetails parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ContactDetails
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ContactDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContactDetails
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ContactDetails parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ContactDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ContactDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContactDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ContactDetails parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ContactDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ContactDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContactDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ContactDetails parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ContactDetails
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ContactDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContactDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ContactDetails parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ContactDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ContactDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContactDetails
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ContactDetails parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ContactDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ContactDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContactDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ContactDetails> parser()
Returns
TypeDescription
Parser<ContactDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getContacts(int index)

public Contact getContacts(int index)

A list of contacts

repeated .google.cloud.securitycenter.v2.Contact contacts = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Contact

getContactsCount()

public int getContactsCount()

A list of contacts

repeated .google.cloud.securitycenter.v2.Contact contacts = 1;

Returns
TypeDescription
int

getContactsList()

public List<Contact> getContactsList()

A list of contacts

repeated .google.cloud.securitycenter.v2.Contact contacts = 1;

Returns
TypeDescription
List<Contact>

getContactsOrBuilder(int index)

public ContactOrBuilder getContactsOrBuilder(int index)

A list of contacts

repeated .google.cloud.securitycenter.v2.Contact contacts = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ContactOrBuilder

getContactsOrBuilderList()

public List<? extends ContactOrBuilder> getContactsOrBuilderList()

A list of contacts

repeated .google.cloud.securitycenter.v2.Contact contacts = 1;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v2.ContactOrBuilder>

getDefaultInstanceForType()

public ContactDetails getDefaultInstanceForType()
Returns
TypeDescription
ContactDetails

getParserForType()

public Parser<ContactDetails> getParserForType()
Returns
TypeDescription
Parser<ContactDetails>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ContactDetails.Builder newBuilderForType()
Returns
TypeDescription
ContactDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ContactDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ContactDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ContactDetails.Builder toBuilder()
Returns
TypeDescription
ContactDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException