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.v1p1beta1.ListFindingsResponse.ListFindingsResult
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Builder>
public ListFindingsResponse.ListFindingsResult.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Builder>
public ListFindingsResponse.ListFindingsResult getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListFindingsResponse.ListFindingsResult build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListFindingsResponse.ListFindingsResult buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListFindingsResponse.ListFindingsResult.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Builder>
public ListFindingsResponse.ListFindingsResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Builder>
public ListFindingsResponse.ListFindingsResult.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Builder>
public ListFindingsResponse.ListFindingsResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Builder>
public ListFindingsResponse.ListFindingsResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Builder>
public ListFindingsResponse.ListFindingsResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Builder>
public ListFindingsResponse.ListFindingsResult.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListFindingsResponse.ListFindingsResult.Builder>
public ListFindingsResponse.ListFindingsResult.Builder mergeFrom(ListFindingsResponse.ListFindingsResult other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Builder>
public ListFindingsResponse.ListFindingsResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListFindingsResponse.ListFindingsResult.Builder>
IOException
public boolean hasFinding()
Finding matching the search request.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 1;
hasFinding
in interface ListFindingsResponse.ListFindingsResultOrBuilder
public Finding getFinding()
Finding matching the search request.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 1;
getFinding
in interface ListFindingsResponse.ListFindingsResultOrBuilder
public ListFindingsResponse.ListFindingsResult.Builder setFinding(Finding value)
Finding matching the search request.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 1;
public ListFindingsResponse.ListFindingsResult.Builder setFinding(Finding.Builder builderForValue)
Finding matching the search request.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 1;
public ListFindingsResponse.ListFindingsResult.Builder mergeFinding(Finding value)
Finding matching the search request.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 1;
public ListFindingsResponse.ListFindingsResult.Builder clearFinding()
Finding matching the search request.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 1;
public Finding.Builder getFindingBuilder()
Finding matching the search request.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 1;
public FindingOrBuilder getFindingOrBuilder()
Finding matching the search request.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 1;
getFindingOrBuilder
in interface ListFindingsResponse.ListFindingsResultOrBuilder
public int getStateChangeValue()
State change of the finding between the points in time.
.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.StateChange state_change = 2;
getStateChangeValue
in interface ListFindingsResponse.ListFindingsResultOrBuilder
public ListFindingsResponse.ListFindingsResult.Builder setStateChangeValue(int value)
State change of the finding between the points in time.
.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.StateChange state_change = 2;
value
- The enum numeric value on the wire for stateChange to set.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;
getStateChange
in interface ListFindingsResponse.ListFindingsResultOrBuilder
public ListFindingsResponse.ListFindingsResult.Builder setStateChange(ListFindingsResponse.ListFindingsResult.StateChange value)
State change of the finding between the points in time.
.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.StateChange state_change = 2;
value
- The stateChange to set.public ListFindingsResponse.ListFindingsResult.Builder clearStateChange()
State change of the finding between the points in time.
.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.StateChange state_change = 2;
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];
hasResource
in interface ListFindingsResponse.ListFindingsResultOrBuilder
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];
getResource
in interface ListFindingsResponse.ListFindingsResultOrBuilder
public ListFindingsResponse.ListFindingsResult.Builder setResource(ListFindingsResponse.ListFindingsResult.Resource value)
Output only. Resource that is associated with this finding.
.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ListFindingsResponse.ListFindingsResult.Builder setResource(ListFindingsResponse.ListFindingsResult.Resource.Builder builderForValue)
Output only. Resource that is associated with this finding.
.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ListFindingsResponse.ListFindingsResult.Builder mergeResource(ListFindingsResponse.ListFindingsResult.Resource value)
Output only. Resource that is associated with this finding.
.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ListFindingsResponse.ListFindingsResult.Builder clearResource()
Output only. Resource that is associated with this finding.
.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ListFindingsResponse.ListFindingsResult.Resource.Builder getResourceBuilder()
Output only. Resource that is associated with this finding.
.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
getResourceOrBuilder
in interface ListFindingsResponse.ListFindingsResultOrBuilder
public final ListFindingsResponse.ListFindingsResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Builder>
public final ListFindingsResponse.ListFindingsResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Builder>
Copyright © 2022 Google LLC. All rights reserved.