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
Fields
FINDING_FIELD_NUMBER
public static final int FINDING_FIELD_NUMBER
Field Value
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
Field Value
STATE_CHANGE_FIELD_NUMBER
public static final int STATE_CHANGE_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static ListFindingsResponse.ListFindingsResult getDefaultInstance()
Returns
getDefaultInstanceForType()
public ListFindingsResponse.ListFindingsResult getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getFinding()
public Finding getFinding()
Finding matching the search request.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 1;
Returns
getFindingOrBuilder()
public FindingOrBuilder getFindingOrBuilder()
Finding matching the search request.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 1;
Returns
getParserForType()
public Parser<ListFindingsResponse.ListFindingsResult> getParserForType()
Returns
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
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
getSerializedSize()
public int getSerializedSize()
Returns
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
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
Type | Description |
int | The enum numeric value on the wire for stateChange.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasFinding()
public boolean hasFinding()
Finding matching the search request.
.google.cloud.securitycenter.v1p1beta1.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.v1p1beta1.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the resource field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static ListFindingsResponse.ListFindingsResult.Builder newBuilder()
Returns
newBuilder(ListFindingsResponse.ListFindingsResult prototype)
public static ListFindingsResponse.ListFindingsResult.Builder newBuilder(ListFindingsResponse.ListFindingsResult prototype)
Parameter
Returns
newBuilderForType()
public ListFindingsResponse.ListFindingsResult.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListFindingsResponse.ListFindingsResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static ListFindingsResponse.ListFindingsResult parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListFindingsResponse.ListFindingsResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListFindingsResponse.ListFindingsResult parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListFindingsResponse.ListFindingsResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListFindingsResponse.ListFindingsResult parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListFindingsResponse.ListFindingsResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListFindingsResponse.ListFindingsResult parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListFindingsResponse.ListFindingsResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListFindingsResponse.ListFindingsResult parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListFindingsResponse.ListFindingsResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListFindingsResponse.ListFindingsResult parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListFindingsResponse.ListFindingsResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListFindingsResponse.ListFindingsResult> parser()
Returns
toBuilder()
public ListFindingsResponse.ListFindingsResult.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions