public static final class UpdateFindingRequest.Builder extends GeneratedMessageV3.Builder<UpdateFindingRequest.Builder> implements UpdateFindingRequestOrBuilder
Request message for updating or creating a finding.
Protobuf type google.cloud.securitycenter.v1p1beta1.UpdateFindingRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateFindingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateFindingRequest build()
Returns
buildPartial()
public UpdateFindingRequest buildPartial()
Returns
clear()
public UpdateFindingRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateFindingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFinding()
public UpdateFindingRequest.Builder clearFinding()
Required. The finding resource to update or create if it does not already exist.
parent, security_marks, and update_time will be ignored.
In the case of creation, the finding id portion of the name must be
alphanumeric and less than or equal to 32 characters and greater than 0
characters in length.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateFindingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateFindingRequest.Builder clearUpdateMask()
The FieldMask to use when updating the finding resource. This field should
not be specified when creating a finding.
When updating a finding, an empty mask is treated as updating all mutable
fields and replacing source_properties. Individual source_properties can
be added/updated by using "source_properties.<property key>" in the field
mask.
.google.protobuf.FieldMask update_mask = 2;
Returns
clone()
public UpdateFindingRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateFindingRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFinding()
public Finding getFinding()
Required. The finding resource to update or create if it does not already exist.
parent, security_marks, and update_time will be ignored.
In the case of creation, the finding id portion of the name must be
alphanumeric and less than or equal to 32 characters and greater than 0
characters in length.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getFindingBuilder()
public Finding.Builder getFindingBuilder()
Required. The finding resource to update or create if it does not already exist.
parent, security_marks, and update_time will be ignored.
In the case of creation, the finding id portion of the name must be
alphanumeric and less than or equal to 32 characters and greater than 0
characters in length.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getFindingOrBuilder()
public FindingOrBuilder getFindingOrBuilder()
Required. The finding resource to update or create if it does not already exist.
parent, security_marks, and update_time will be ignored.
In the case of creation, the finding id portion of the name must be
alphanumeric and less than or equal to 32 characters and greater than 0
characters in length.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMask()
public FieldMask getUpdateMask()
The FieldMask to use when updating the finding resource. This field should
not be specified when creating a finding.
When updating a finding, an empty mask is treated as updating all mutable
fields and replacing source_properties. Individual source_properties can
be added/updated by using "source_properties.<property key>" in the field
mask.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The FieldMask to use when updating the finding resource. This field should
not be specified when creating a finding.
When updating a finding, an empty mask is treated as updating all mutable
fields and replacing source_properties. Individual source_properties can
be added/updated by using "source_properties.<property key>" in the field
mask.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The FieldMask to use when updating the finding resource. This field should
not be specified when creating a finding.
When updating a finding, an empty mask is treated as updating all mutable
fields and replacing source_properties. Individual source_properties can
be added/updated by using "source_properties.<property key>" in the field
mask.
.google.protobuf.FieldMask update_mask = 2;
Returns
hasFinding()
public boolean hasFinding()
Required. The finding resource to update or create if it does not already exist.
parent, security_marks, and update_time will be ignored.
In the case of creation, the finding id portion of the name must be
alphanumeric and less than or equal to 32 characters and greater than 0
characters in length.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the finding field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
The FieldMask to use when updating the finding resource. This field should
not be specified when creating a finding.
When updating a finding, an empty mask is treated as updating all mutable
fields and replacing source_properties. Individual source_properties can
be added/updated by using "source_properties.<property key>" in the field
mask.
.google.protobuf.FieldMask update_mask = 2;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFinding(Finding value)
public UpdateFindingRequest.Builder mergeFinding(Finding value)
Required. The finding resource to update or create if it does not already exist.
parent, security_marks, and update_time will be ignored.
In the case of creation, the finding id portion of the name must be
alphanumeric and less than or equal to 32 characters and greater than 0
characters in length.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateFindingRequest other)
public UpdateFindingRequest.Builder mergeFrom(UpdateFindingRequest other)
Parameter
Returns
public UpdateFindingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateFindingRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateFindingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateFindingRequest.Builder mergeUpdateMask(FieldMask value)
The FieldMask to use when updating the finding resource. This field should
not be specified when creating a finding.
When updating a finding, an empty mask is treated as updating all mutable
fields and replacing source_properties. Individual source_properties can
be added/updated by using "source_properties.<property key>" in the field
mask.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateFindingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFinding(Finding value)
public UpdateFindingRequest.Builder setFinding(Finding value)
Required. The finding resource to update or create if it does not already exist.
parent, security_marks, and update_time will be ignored.
In the case of creation, the finding id portion of the name must be
alphanumeric and less than or equal to 32 characters and greater than 0
characters in length.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setFinding(Finding.Builder builderForValue)
public UpdateFindingRequest.Builder setFinding(Finding.Builder builderForValue)
Required. The finding resource to update or create if it does not already exist.
parent, security_marks, and update_time will be ignored.
In the case of creation, the finding id portion of the name must be
alphanumeric and less than or equal to 32 characters and greater than 0
characters in length.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateFindingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateFindingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateFindingRequest.Builder setUpdateMask(FieldMask value)
The FieldMask to use when updating the finding resource. This field should
not be specified when creating a finding.
When updating a finding, an empty mask is treated as updating all mutable
fields and replacing source_properties. Individual source_properties can
be added/updated by using "source_properties.<property key>" in the field
mask.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateFindingRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
The FieldMask to use when updating the finding resource. This field should
not be specified when creating a finding.
When updating a finding, an empty mask is treated as updating all mutable
fields and replacing source_properties. Individual source_properties can
be added/updated by using "source_properties.<property key>" in the field
mask.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns