Class ListFindingsResponse.ListFindingsResult (2.63.0)

public static final class ListFindingsResponse.ListFindingsResult extends GeneratedMessageV3 implements ListFindingsResponse.ListFindingsResultOrBuilder

Result containing the Finding.

Protobuf type google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListFindingsResponse.ListFindingsResult

Static Fields

FINDING_FIELD_NUMBER

public static final int FINDING_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListFindingsResponse.ListFindingsResult getDefaultInstance()
Returns
Type Description
ListFindingsResponse.ListFindingsResult

getDescriptor()

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

newBuilder()

public static ListFindingsResponse.ListFindingsResult.Builder newBuilder()
Returns
Type Description
ListFindingsResponse.ListFindingsResult.Builder

newBuilder(ListFindingsResponse.ListFindingsResult prototype)

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

parseDelimitedFrom(InputStream input)

public static ListFindingsResponse.ListFindingsResult parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListFindingsResponse.ListFindingsResult
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ListFindingsResponse.ListFindingsResult parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListFindingsResponse.ListFindingsResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ListFindingsResponse.ListFindingsResult parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListFindingsResponse.ListFindingsResult
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ListFindingsResponse.ListFindingsResult parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListFindingsResponse.ListFindingsResult
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ListFindingsResponse.ListFindingsResult parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListFindingsResponse.ListFindingsResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ListFindingsResponse.ListFindingsResult> parser()
Returns
Type Description
Parser<ListFindingsResult>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListFindingsResponse.ListFindingsResult getDefaultInstanceForType()
Returns
Type Description
ListFindingsResponse.ListFindingsResult

getFinding()

public Finding getFinding()

Finding matching the search request.

.google.cloud.securitycenter.v2.Finding finding = 1;

Returns
Type Description
Finding

The finding.

getFindingOrBuilder()

public FindingOrBuilder getFindingOrBuilder()

Finding matching the search request.

.google.cloud.securitycenter.v2.Finding finding = 1;

Returns
Type Description
FindingOrBuilder

getParserForType()

public Parser<ListFindingsResponse.ListFindingsResult> getParserForType()
Returns
Type Description
Parser<ListFindingsResult>
Overrides

getResource()

public ListFindingsResponse.ListFindingsResult.Resource getResource()

Output only. Resource that is associated with this finding.

.google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListFindingsResponse.ListFindingsResult.Resource

The resource.

getResourceOrBuilder()

public ListFindingsResponse.ListFindingsResult.ResourceOrBuilder getResourceOrBuilder()

Output only. Resource that is associated with this finding.

.google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListFindingsResponse.ListFindingsResult.ResourceOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasFinding()

public boolean hasFinding()

Finding matching the search request.

.google.cloud.securitycenter.v2.Finding finding = 1;

Returns
Type Description
boolean

Whether the finding field is set.

hasResource()

public boolean hasResource()

Output only. Resource that is associated with this finding.

.google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the resource field is set.

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 ListFindingsResponse.ListFindingsResult.Builder newBuilderForType()
Returns
Type Description
ListFindingsResponse.ListFindingsResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ListFindingsResponse.ListFindingsResult.Builder toBuilder()
Returns
Type Description
ListFindingsResponse.ListFindingsResult.Builder

writeTo(CodedOutputStream output)

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