Class UpdateSecurityMarksRequest.Builder (2.26.0)

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.v1beta1.UpdateSecurityMarksRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateSecurityMarksRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder
Overrides

build()

public UpdateSecurityMarksRequest build()
Returns
TypeDescription
UpdateSecurityMarksRequest

buildPartial()

public UpdateSecurityMarksRequest buildPartial()
Returns
TypeDescription
UpdateSecurityMarksRequest

clear()

public UpdateSecurityMarksRequest.Builder clear()
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateSecurityMarksRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateSecurityMarksRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder
Overrides

clearSecurityMarks()

public UpdateSecurityMarksRequest.Builder clearSecurityMarks()

Required. The security marks resource to update.

.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateSecurityMarksRequest.Builder

clearStartTime()

public UpdateSecurityMarksRequest.Builder clearStartTime()

The time at which the updated SecurityMarks take effect.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
UpdateSecurityMarksRequest.Builder

clearUpdateMask()

public UpdateSecurityMarksRequest.Builder clearUpdateMask()

The FieldMask to use when updating the security marks resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateSecurityMarksRequest.Builder

clone()

public UpdateSecurityMarksRequest.Builder clone()
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateSecurityMarksRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateSecurityMarksRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSecurityMarks()

public SecurityMarks getSecurityMarks()

Required. The security marks resource to update.

.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SecurityMarks

The securityMarks.

getSecurityMarksBuilder()

public SecurityMarks.Builder getSecurityMarksBuilder()

Required. The security marks resource to update.

.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SecurityMarks.Builder

getSecurityMarksOrBuilder()

public SecurityMarksOrBuilder getSecurityMarksOrBuilder()

Required. The security marks resource to update.

.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SecurityMarksOrBuilder

getStartTime()

public Timestamp getStartTime()

The time at which the updated SecurityMarks take effect.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time at which the updated SecurityMarks take effect.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time at which the updated SecurityMarks take effect.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The FieldMask to use when updating the security marks resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The FieldMask to use when updating the security marks resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The FieldMask to use when updating the security marks resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasSecurityMarks()

public boolean hasSecurityMarks()

Required. The security marks resource to update.

.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the securityMarks field is set.

hasStartTime()

public boolean hasStartTime()

The time at which the updated SecurityMarks take effect.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
boolean

Whether the startTime field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The FieldMask to use when updating the security marks resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateSecurityMarksRequest other)

public UpdateSecurityMarksRequest.Builder mergeFrom(UpdateSecurityMarksRequest other)
Parameter
NameDescription
otherUpdateSecurityMarksRequest
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateSecurityMarksRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateSecurityMarksRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder
Overrides

mergeSecurityMarks(SecurityMarks value)

public UpdateSecurityMarksRequest.Builder mergeSecurityMarks(SecurityMarks value)

Required. The security marks resource to update.

.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueSecurityMarks
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder

mergeStartTime(Timestamp value)

public UpdateSecurityMarksRequest.Builder mergeStartTime(Timestamp value)

The time at which the updated SecurityMarks take effect.

.google.protobuf.Timestamp start_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateSecurityMarksRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateSecurityMarksRequest.Builder mergeUpdateMask(FieldMask value)

The FieldMask to use when updating the security marks resource.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateSecurityMarksRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateSecurityMarksRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder
Overrides

setSecurityMarks(SecurityMarks value)

public UpdateSecurityMarksRequest.Builder setSecurityMarks(SecurityMarks value)

Required. The security marks resource to update.

.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueSecurityMarks
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder

setSecurityMarks(SecurityMarks.Builder builderForValue)

public UpdateSecurityMarksRequest.Builder setSecurityMarks(SecurityMarks.Builder builderForValue)

Required. The security marks resource to update.

.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueSecurityMarks.Builder
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder

setStartTime(Timestamp value)

public UpdateSecurityMarksRequest.Builder setStartTime(Timestamp value)

The time at which the updated SecurityMarks take effect.

.google.protobuf.Timestamp start_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder

setStartTime(Timestamp.Builder builderForValue)

public UpdateSecurityMarksRequest.Builder setStartTime(Timestamp.Builder builderForValue)

The time at which the updated SecurityMarks take effect.

.google.protobuf.Timestamp start_time = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateSecurityMarksRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateSecurityMarksRequest.Builder setUpdateMask(FieldMask value)

The FieldMask to use when updating the security marks resource.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateSecurityMarksRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The FieldMask to use when updating the security marks resource.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateSecurityMarksRequest.Builder