public static final class UpdateSecurityMarksRequest.Builder extends GeneratedMessageV3.Builder<UpdateSecurityMarksRequest.Builder> implements UpdateSecurityMarksRequestOrBuilder
Request message for updating a SecurityMarks resource.
Protobuf type google.cloud.securitycenter.v2.UpdateSecurityMarksRequest
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 UpdateSecurityMarksRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateSecurityMarksRequest build()
buildPartial()
public UpdateSecurityMarksRequest buildPartial()
clear()
public UpdateSecurityMarksRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateSecurityMarksRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSecurityMarksRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSecurityMarks()
public UpdateSecurityMarksRequest.Builder clearSecurityMarks()
Required. The security marks resource to update.
.google.cloud.securitycenter.v2.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
clearUpdateMask()
public UpdateSecurityMarksRequest.Builder clearUpdateMask()
The FieldMask to use when updating the security marks resource.
The field mask must not contain duplicate fields.
If empty or set to "marks", all marks will be replaced. Individual
marks can be updated using "marks.<mark_key>".
.google.protobuf.FieldMask update_mask = 2;
clone()
public UpdateSecurityMarksRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateSecurityMarksRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSecurityMarks()
public SecurityMarks getSecurityMarks()
Required. The security marks resource to update.
.google.cloud.securitycenter.v2.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
getSecurityMarksBuilder()
public SecurityMarks.Builder getSecurityMarksBuilder()
Required. The security marks resource to update.
.google.cloud.securitycenter.v2.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
getSecurityMarksOrBuilder()
public SecurityMarksOrBuilder getSecurityMarksOrBuilder()
Required. The security marks resource to update.
.google.cloud.securitycenter.v2.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
The FieldMask to use when updating the security marks resource.
The field mask must not contain duplicate fields.
If empty or set to "marks", all marks will be replaced. Individual
marks can be updated using "marks.<mark_key>".
.google.protobuf.FieldMask update_mask = 2;
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The FieldMask to use when updating the security marks resource.
The field mask must not contain duplicate fields.
If empty or set to "marks", all marks will be replaced. Individual
marks can be updated using "marks.<mark_key>".
.google.protobuf.FieldMask update_mask = 2;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The FieldMask to use when updating the security marks resource.
The field mask must not contain duplicate fields.
If empty or set to "marks", all marks will be replaced. Individual
marks can be updated using "marks.<mark_key>".
.google.protobuf.FieldMask update_mask = 2;
hasSecurityMarks()
public boolean hasSecurityMarks()
Required. The security marks resource to update.
.google.cloud.securitycenter.v2.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the securityMarks field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
The FieldMask to use when updating the security marks resource.
The field mask must not contain duplicate fields.
If empty or set to "marks", all marks will be replaced. Individual
marks can be updated using "marks.<mark_key>".
.google.protobuf.FieldMask update_mask = 2;
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateSecurityMarksRequest other)
public UpdateSecurityMarksRequest.Builder mergeFrom(UpdateSecurityMarksRequest other)
public UpdateSecurityMarksRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateSecurityMarksRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeSecurityMarks(SecurityMarks value)
public UpdateSecurityMarksRequest.Builder mergeSecurityMarks(SecurityMarks value)
Required. The security marks resource to update.
.google.cloud.securitycenter.v2.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSecurityMarksRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateSecurityMarksRequest.Builder mergeUpdateMask(FieldMask value)
The FieldMask to use when updating the security marks resource.
The field mask must not contain duplicate fields.
If empty or set to "marks", all marks will be replaced. Individual
marks can be updated using "marks.<mark_key>".
.google.protobuf.FieldMask update_mask = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateSecurityMarksRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSecurityMarksRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSecurityMarks(SecurityMarks value)
public UpdateSecurityMarksRequest.Builder setSecurityMarks(SecurityMarks value)
Required. The security marks resource to update.
.google.cloud.securitycenter.v2.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
setSecurityMarks(SecurityMarks.Builder builderForValue)
public UpdateSecurityMarksRequest.Builder setSecurityMarks(SecurityMarks.Builder builderForValue)
Required. The security marks resource to update.
.google.cloud.securitycenter.v2.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSecurityMarksRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateSecurityMarksRequest.Builder setUpdateMask(FieldMask value)
The FieldMask to use when updating the security marks resource.
The field mask must not contain duplicate fields.
If empty or set to "marks", all marks will be replaced. Individual
marks can be updated using "marks.<mark_key>".
.google.protobuf.FieldMask update_mask = 2;
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateSecurityMarksRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
The FieldMask to use when updating the security marks resource.
The field mask must not contain duplicate fields.
If empty or set to "marks", all marks will be replaced. Individual
marks can be updated using "marks.<mark_key>".
.google.protobuf.FieldMask update_mask = 2;
Parameter |
Name |
Description |
builderForValue |
Builder
|