Send feedback
Class ListFindingsResponse.ListFindingsResult.Builder (2.61.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.61.0 keyboard_arrow_down
public static final class ListFindingsResponse . ListFindingsResult . Builder extends GeneratedMessageV3 . Builder<ListFindingsResponse . ListFindingsResult . Builder > implements ListFindingsResponse . ListFindingsResultOrBuilder
Result containing the Finding.
Protobuf type google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListFindingsResponse . ListFindingsResult . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ListFindingsResponse . ListFindingsResult build ()
buildPartial()
public ListFindingsResponse . ListFindingsResult buildPartial ()
clear()
public ListFindingsResponse . ListFindingsResult . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListFindingsResponse . ListFindingsResult . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearFinding()
public ListFindingsResponse . ListFindingsResult . Builder clearFinding ()
Finding matching the search request.
.google.cloud.securitycenter.v2.Finding finding = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListFindingsResponse . ListFindingsResult . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearResource()
public ListFindingsResponse . ListFindingsResult . Builder clearResource ()
Output only. Resource that is associated with this finding.
.google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public ListFindingsResponse . ListFindingsResult . Builder clone ()
Overrides
getDefaultInstanceForType()
public ListFindingsResponse . ListFindingsResult getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getFinding()
public Finding getFinding ()
Finding matching the search request.
.google.cloud.securitycenter.v2.Finding finding = 1;
Returns
Type
Description
Finding
The finding.
getFindingBuilder()
public Finding . Builder getFindingBuilder ()
Finding matching the search request.
.google.cloud.securitycenter.v2.Finding finding = 1;
getFindingOrBuilder()
public FindingOrBuilder getFindingOrBuilder ()
Finding matching the search request.
.google.cloud.securitycenter.v2.Finding finding = 1;
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];
getResourceBuilder()
public ListFindingsResponse . ListFindingsResult . Resource . Builder getResourceBuilder ()
Output only. Resource that is associated with this finding.
.google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFinding(Finding value)
public ListFindingsResponse . ListFindingsResult . Builder mergeFinding ( Finding value )
Finding matching the search request.
.google.cloud.securitycenter.v2.Finding finding = 1;
Parameter
Name
Description
value
Finding
mergeFrom(ListFindingsResponse.ListFindingsResult other)
public ListFindingsResponse . ListFindingsResult . Builder mergeFrom ( ListFindingsResponse . ListFindingsResult other )
public ListFindingsResponse . ListFindingsResult . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ListFindingsResponse . ListFindingsResult . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeResource(ListFindingsResponse.ListFindingsResult.Resource value)
public ListFindingsResponse . ListFindingsResult . Builder mergeResource ( ListFindingsResponse . ListFindingsResult . Resource value )
Output only. Resource that is associated with this finding.
.google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListFindingsResponse . ListFindingsResult . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ListFindingsResponse . ListFindingsResult . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setFinding(Finding value)
public ListFindingsResponse . ListFindingsResult . Builder setFinding ( Finding value )
Finding matching the search request.
.google.cloud.securitycenter.v2.Finding finding = 1;
Parameter
Name
Description
value
Finding
setFinding(Finding.Builder builderForValue)
public ListFindingsResponse . ListFindingsResult . Builder setFinding ( Finding . Builder builderForValue )
Finding matching the search request.
.google.cloud.securitycenter.v2.Finding finding = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListFindingsResponse . ListFindingsResult . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setResource(ListFindingsResponse.ListFindingsResult.Resource value)
public ListFindingsResponse . ListFindingsResult . Builder setResource ( ListFindingsResponse . ListFindingsResult . Resource value )
Output only. Resource that is associated with this finding.
.google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
setResource(ListFindingsResponse.ListFindingsResult.Resource.Builder builderForValue)
public ListFindingsResponse . ListFindingsResult . Builder setResource ( ListFindingsResponse . ListFindingsResult . Resource . Builder builderForValue )
Output only. Resource that is associated with this finding.
.google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
setUnknownFields(UnknownFieldSet unknownFields)
public final ListFindingsResponse . ListFindingsResult . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]