public static final class ListFindingsResponse.ListFindingsResult.Builder extends GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Builder> implements ListFindingsResponse.ListFindingsResultOrBuilder
Result containing the Finding and its StateChange.
Protobuf type google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListFindingsResponse.ListFindingsResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListFindingsResponse.ListFindingsResult build()
Returns
buildPartial()
public ListFindingsResponse.ListFindingsResult buildPartial()
Returns
clear()
public ListFindingsResponse.ListFindingsResult.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListFindingsResponse.ListFindingsResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFinding()
public ListFindingsResponse.ListFindingsResult.Builder clearFinding()
Finding matching the search request.
.google.cloud.securitycenter.v1.Finding finding = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListFindingsResponse.ListFindingsResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResource()
public ListFindingsResponse.ListFindingsResult.Builder clearResource()
Output only. Resource that is associated with this finding.
.google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearStateChange()
public ListFindingsResponse.ListFindingsResult.Builder clearStateChange()
State change of the finding between the points in time.
.google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.StateChange state_change = 2;
Returns
clone()
public ListFindingsResponse.ListFindingsResult.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListFindingsResponse.ListFindingsResult getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFinding()
public Finding getFinding()
Finding matching the search request.
.google.cloud.securitycenter.v1.Finding finding = 1;
Returns
getFindingBuilder()
public Finding.Builder getFindingBuilder()
Finding matching the search request.
.google.cloud.securitycenter.v1.Finding finding = 1;
Returns
getFindingOrBuilder()
public FindingOrBuilder getFindingOrBuilder()
Finding matching the search request.
.google.cloud.securitycenter.v1.Finding finding = 1;
Returns
getResource()
public ListFindingsResponse.ListFindingsResult.Resource getResource()
Output only. Resource that is associated with this finding.
.google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getResourceBuilder()
public ListFindingsResponse.ListFindingsResult.Resource.Builder getResourceBuilder()
Output only. Resource that is associated with this finding.
.google.cloud.securitycenter.v1.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.v1.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getStateChange()
public ListFindingsResponse.ListFindingsResult.StateChange getStateChange()
State change of the finding between the points in time.
.google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.StateChange state_change = 2;
Returns
getStateChangeValue()
public int getStateChangeValue()
State change of the finding between the points in time.
.google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.StateChange state_change = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for stateChange.
|
hasFinding()
public boolean hasFinding()
Finding matching the search request.
.google.cloud.securitycenter.v1.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.v1.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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFinding(Finding value)
public ListFindingsResponse.ListFindingsResult.Builder mergeFinding(Finding value)
Finding matching the search request.
.google.cloud.securitycenter.v1.Finding finding = 1;
Parameter
Returns
mergeFrom(ListFindingsResponse.ListFindingsResult other)
public ListFindingsResponse.ListFindingsResult.Builder mergeFrom(ListFindingsResponse.ListFindingsResult other)
Parameter
Returns
public ListFindingsResponse.ListFindingsResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListFindingsResponse.ListFindingsResult.Builder mergeFrom(Message other)
Parameter
Returns
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.v1.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListFindingsResponse.ListFindingsResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ListFindingsResponse.ListFindingsResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFinding(Finding value)
public ListFindingsResponse.ListFindingsResult.Builder setFinding(Finding value)
Finding matching the search request.
.google.cloud.securitycenter.v1.Finding finding = 1;
Parameter
Returns
setFinding(Finding.Builder builderForValue)
public ListFindingsResponse.ListFindingsResult.Builder setFinding(Finding.Builder builderForValue)
Finding matching the search request.
.google.cloud.securitycenter.v1.Finding finding = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListFindingsResponse.ListFindingsResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.v1.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
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.v1.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setStateChange(ListFindingsResponse.ListFindingsResult.StateChange value)
public ListFindingsResponse.ListFindingsResult.Builder setStateChange(ListFindingsResponse.ListFindingsResult.StateChange value)
State change of the finding between the points in time.
.google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.StateChange state_change = 2;
Parameter
Returns
setStateChangeValue(int value)
public ListFindingsResponse.ListFindingsResult.Builder setStateChangeValue(int value)
State change of the finding between the points in time.
.google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.StateChange state_change = 2;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for stateChange to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListFindingsResponse.ListFindingsResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides