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
Static 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
Static Methods
getDefaultInstance()
public static ListFindingsResponse.ListFindingsResult getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListFindingsResponse.ListFindingsResult.Builder newBuilder()
Returns
newBuilder(ListFindingsResponse.ListFindingsResult prototype)
public static ListFindingsResponse.ListFindingsResult.Builder newBuilder(ListFindingsResponse.ListFindingsResult prototype)
Parameter
Returns
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
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ListFindingsResponse.ListFindingsResult getDefaultInstanceForType()
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
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
toBuilder()
public ListFindingsResponse.ListFindingsResult.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions