Class GroupMembership (2.60.0)

public final class GroupMembership extends GeneratedMessageV3 implements GroupMembershipOrBuilder

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.

Protobuf type google.cloud.securitycenter.v2.GroupMembership

Static Fields

GROUP_ID_FIELD_NUMBER

public static final int GROUP_ID_FIELD_NUMBER
Field Value
Type Description
int

GROUP_TYPE_FIELD_NUMBER

public static final int GROUP_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GroupMembership getDefaultInstance()
Returns
Type Description
GroupMembership

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GroupMembership.Builder newBuilder()
Returns
Type Description
GroupMembership.Builder

newBuilder(GroupMembership prototype)

public static GroupMembership.Builder newBuilder(GroupMembership prototype)
Parameter
Name Description
prototype GroupMembership
Returns
Type Description
GroupMembership.Builder

parseDelimitedFrom(InputStream input)

public static GroupMembership parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GroupMembership
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GroupMembership parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GroupMembership
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GroupMembership parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GroupMembership
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GroupMembership parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GroupMembership
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GroupMembership parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GroupMembership
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GroupMembership parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GroupMembership
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GroupMembership parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GroupMembership
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GroupMembership parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GroupMembership
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GroupMembership parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GroupMembership
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GroupMembership parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GroupMembership
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GroupMembership parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GroupMembership
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GroupMembership parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GroupMembership
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GroupMembership> parser()
Returns
Type Description
Parser<GroupMembership>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GroupMembership getDefaultInstanceForType()
Returns
Type Description
GroupMembership

getGroupId()

public String getGroupId()

ID of the group.

string group_id = 2;

Returns
Type Description
String

The groupId.

getGroupIdBytes()

public ByteString getGroupIdBytes()

ID of the group.

string group_id = 2;

Returns
Type Description
ByteString

The bytes for groupId.

getGroupType()

public GroupMembership.GroupType getGroupType()

Type of group.

.google.cloud.securitycenter.v2.GroupMembership.GroupType group_type = 1;

Returns
Type Description
GroupMembership.GroupType

The groupType.

getGroupTypeValue()

public int getGroupTypeValue()

Type of group.

.google.cloud.securitycenter.v2.GroupMembership.GroupType group_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for groupType.

getParserForType()

public Parser<GroupMembership> getParserForType()
Returns
Type Description
Parser<GroupMembership>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GroupMembership.Builder newBuilderForType()
Returns
Type Description
GroupMembership.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GroupMembership.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GroupMembership.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GroupMembership.Builder toBuilder()
Returns
Type Description
GroupMembership.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException