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.v1p1beta1.UpdateSecurityMarksRequest
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateSecurityMarksRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateSecurityMarksRequest build()
Returns
buildPartial()
public UpdateSecurityMarksRequest buildPartial()
Returns
clear()
public UpdateSecurityMarksRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateSecurityMarksRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSecurityMarksRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSecurityMarks()
public UpdateSecurityMarksRequest.Builder clearSecurityMarks()
Required. The security marks resource to update.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearStartTime()
public UpdateSecurityMarksRequest.Builder clearStartTime()
The time at which the updated SecurityMarks take effect.
If not set uses current server time. Updates will be applied to the
SecurityMarks that are active immediately preceding this time.
.google.protobuf.Timestamp start_time = 3;
Returns
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;
Returns
clone()
public UpdateSecurityMarksRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateSecurityMarksRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSecurityMarks()
public SecurityMarks getSecurityMarks()
Required. The security marks resource to update.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getSecurityMarksBuilder()
public SecurityMarks.Builder getSecurityMarksBuilder()
Required. The security marks resource to update.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getSecurityMarksOrBuilder()
public SecurityMarksOrBuilder getSecurityMarksOrBuilder()
Required. The security marks resource to update.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getStartTime()
public Timestamp getStartTime()
The time at which the updated SecurityMarks take effect.
If not set uses current server time. Updates will be applied to the
SecurityMarks that are active immediately preceding this time.
.google.protobuf.Timestamp start_time = 3;
Returns
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
The time at which the updated SecurityMarks take effect.
If not set uses current server time. Updates will be applied to the
SecurityMarks that are active immediately preceding this time.
.google.protobuf.Timestamp start_time = 3;
Returns
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
The time at which the updated SecurityMarks take effect.
If not set uses current server time. Updates will be applied to the
SecurityMarks that are active immediately preceding this time.
.google.protobuf.Timestamp start_time = 3;
Returns
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
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;
Returns
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;
Returns
hasSecurityMarks()
public boolean hasSecurityMarks()
Required. The security marks resource to update.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the securityMarks field is set.
|
hasStartTime()
public boolean hasStartTime()
The time at which the updated SecurityMarks take effect.
If not set uses current server time. Updates will be applied to the
SecurityMarks that are active immediately preceding this time.
.google.protobuf.Timestamp start_time = 3;
Returns
Type | Description |
boolean | Whether the startTime 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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateSecurityMarksRequest other)
public UpdateSecurityMarksRequest.Builder mergeFrom(UpdateSecurityMarksRequest other)
Parameter
Returns
public UpdateSecurityMarksRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateSecurityMarksRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeSecurityMarks(SecurityMarks value)
public UpdateSecurityMarksRequest.Builder mergeSecurityMarks(SecurityMarks value)
Required. The security marks resource to update.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeStartTime(Timestamp value)
public UpdateSecurityMarksRequest.Builder mergeStartTime(Timestamp value)
The time at which the updated SecurityMarks take effect.
If not set uses current server time. Updates will be applied to the
SecurityMarks that are active immediately preceding this time.
.google.protobuf.Timestamp start_time = 3;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSecurityMarksRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateSecurityMarksRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSecurityMarksRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSecurityMarks(SecurityMarks value)
public UpdateSecurityMarksRequest.Builder setSecurityMarks(SecurityMarks value)
Required. The security marks resource to update.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setSecurityMarks(SecurityMarks.Builder builderForValue)
public UpdateSecurityMarksRequest.Builder setSecurityMarks(SecurityMarks.Builder builderForValue)
Required. The security marks resource to update.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setStartTime(Timestamp value)
public UpdateSecurityMarksRequest.Builder setStartTime(Timestamp value)
The time at which the updated SecurityMarks take effect.
If not set uses current server time. Updates will be applied to the
SecurityMarks that are active immediately preceding this time.
.google.protobuf.Timestamp start_time = 3;
Parameter
Returns
setStartTime(Timestamp.Builder builderForValue)
public UpdateSecurityMarksRequest.Builder setStartTime(Timestamp.Builder builderForValue)
The time at which the updated SecurityMarks take effect.
If not set uses current server time. Updates will be applied to the
SecurityMarks that are active immediately preceding this time.
.google.protobuf.Timestamp start_time = 3;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSecurityMarksRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
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
|
Returns