Class ListFindingsResponse.ListFindingsResult (2.28.0)

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

Result containing the Finding and its StateChange.

Protobuf type google.cloud.securitycenter.v1p1beta1.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
TypeDescription
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_CHANGE_FIELD_NUMBER

public static final int STATE_CHANGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListFindingsResponse.ListFindingsResult getDefaultInstance()
Returns
TypeDescription
ListFindingsResponse.ListFindingsResult

getDescriptor()

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

newBuilder()

public static ListFindingsResponse.ListFindingsResult.Builder newBuilder()
Returns
TypeDescription
ListFindingsResponse.ListFindingsResult.Builder

newBuilder(ListFindingsResponse.ListFindingsResult prototype)

public static ListFindingsResponse.ListFindingsResult.Builder newBuilder(ListFindingsResponse.ListFindingsResult prototype)
Parameter
NameDescription
prototypeListFindingsResponse.ListFindingsResult
Returns
TypeDescription
ListFindingsResponse.ListFindingsResult.Builder

parseDelimitedFrom(InputStream input)

public static ListFindingsResponse.ListFindingsResult parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListFindingsResponse.ListFindingsResult
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ListFindingsResponse.ListFindingsResult parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListFindingsResponse.ListFindingsResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ListFindingsResponse.ListFindingsResult parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListFindingsResponse.ListFindingsResult
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ListFindingsResponse.ListFindingsResult parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListFindingsResponse.ListFindingsResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ListFindingsResponse.ListFindingsResult parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListFindingsResponse.ListFindingsResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListFindingsResponse.ListFindingsResult getDefaultInstanceForType()
Returns
TypeDescription
ListFindingsResponse.ListFindingsResult

getFinding()

public Finding getFinding()

Finding matching the search request.

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

Returns
TypeDescription
Finding

The finding.

getFindingOrBuilder()

public FindingOrBuilder getFindingOrBuilder()

Finding matching the search request.

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

Returns
TypeDescription
FindingOrBuilder

getParserForType()

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

getResource()

public ListFindingsResponse.ListFindingsResult.Resource getResource()

Output only. Resource that is associated with this finding.

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

Returns
TypeDescription
ListFindingsResponse.ListFindingsResult.Resource

The resource.

getResourceOrBuilder()

public ListFindingsResponse.ListFindingsResult.ResourceOrBuilder getResourceOrBuilder()

Output only. Resource that is associated with this finding.

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

Returns
TypeDescription
ListFindingsResponse.ListFindingsResult.ResourceOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStateChange()

public ListFindingsResponse.ListFindingsResult.StateChange getStateChange()

State change of the finding between the points in time.

.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.StateChange state_change = 2;

Returns
TypeDescription
ListFindingsResponse.ListFindingsResult.StateChange

The stateChange.

getStateChangeValue()

public int getStateChangeValue()

State change of the finding between the points in time.

.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.StateChange state_change = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for stateChange.

hasFinding()

public boolean hasFinding()

Finding matching the search request.

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

Returns
TypeDescription
boolean

Whether the finding field is set.

hasResource()

public boolean hasResource()

Output only. Resource that is associated with this finding.

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

Returns
TypeDescription
boolean

Whether the resource field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ListFindingsResponse.ListFindingsResult.Builder toBuilder()
Returns
TypeDescription
ListFindingsResponse.ListFindingsResult.Builder

writeTo(CodedOutputStream output)

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