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
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.v1.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.v1.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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;
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.v1.Finding finding = 1;
Returns |
Type |
Description |
Finding |
The finding.
|
getFindingBuilder()
public Finding.Builder getFindingBuilder()
Finding matching the search request.
.google.cloud.securitycenter.v1.Finding finding = 1;
getFindingOrBuilder()
public FindingOrBuilder getFindingOrBuilder()
Finding matching the search request.
.google.cloud.securitycenter.v1.Finding finding = 1;
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];
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];
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];
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;
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()
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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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;
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ListFindingsResponse.ListFindingsResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides