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
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<UpdateSecurityMarksRequest.Builder>
public UpdateSecurityMarksRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<UpdateSecurityMarksRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<UpdateSecurityMarksRequest.Builder>
public UpdateSecurityMarksRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public UpdateSecurityMarksRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public UpdateSecurityMarksRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public UpdateSecurityMarksRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<UpdateSecurityMarksRequest.Builder>
public UpdateSecurityMarksRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<UpdateSecurityMarksRequest.Builder>
public UpdateSecurityMarksRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<UpdateSecurityMarksRequest.Builder>
public UpdateSecurityMarksRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<UpdateSecurityMarksRequest.Builder>
public UpdateSecurityMarksRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<UpdateSecurityMarksRequest.Builder>
public UpdateSecurityMarksRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<UpdateSecurityMarksRequest.Builder>
public UpdateSecurityMarksRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<UpdateSecurityMarksRequest.Builder>
public UpdateSecurityMarksRequest.Builder mergeFrom(UpdateSecurityMarksRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<UpdateSecurityMarksRequest.Builder>
public UpdateSecurityMarksRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<UpdateSecurityMarksRequest.Builder>
IOException
public boolean hasSecurityMarks()
Required. The security marks resource to update.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
hasSecurityMarks
in interface UpdateSecurityMarksRequestOrBuilder
public SecurityMarks getSecurityMarks()
Required. The security marks resource to update.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
getSecurityMarks
in interface UpdateSecurityMarksRequestOrBuilder
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];
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];
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];
public UpdateSecurityMarksRequest.Builder clearSecurityMarks()
Required. The security marks resource to update.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
public SecurityMarks.Builder getSecurityMarksBuilder()
Required. The security marks resource to update.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
public SecurityMarksOrBuilder getSecurityMarksOrBuilder()
Required. The security marks resource to update.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
getSecurityMarksOrBuilder
in interface UpdateSecurityMarksRequestOrBuilder
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;
hasUpdateMask
in interface UpdateSecurityMarksRequestOrBuilder
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;
getUpdateMask
in interface UpdateSecurityMarksRequestOrBuilder
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;
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;
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;
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;
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;
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;
getUpdateMaskOrBuilder
in interface UpdateSecurityMarksRequestOrBuilder
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;
hasStartTime
in interface UpdateSecurityMarksRequestOrBuilder
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;
getStartTime
in interface UpdateSecurityMarksRequestOrBuilder
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;
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;
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;
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;
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;
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;
getStartTimeOrBuilder
in interface UpdateSecurityMarksRequestOrBuilder
public final UpdateSecurityMarksRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<UpdateSecurityMarksRequest.Builder>
public final UpdateSecurityMarksRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<UpdateSecurityMarksRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.