public static final class UpdateSecurityMarksRequest.Builder extends GeneratedMessage.Builder<UpdateSecurityMarksRequest.Builder> implements UpdateSecurityMarksRequestOrBuilderRequest message for updating a SecurityMarks resource.
Protobuf type google.cloud.securitycenter.v1beta1.UpdateSecurityMarksRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateSecurityMarksRequest.BuilderImplements
UpdateSecurityMarksRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateSecurityMarksRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateSecurityMarksRequest |
|
buildPartial()
public UpdateSecurityMarksRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateSecurityMarksRequest |
|
clear()
public UpdateSecurityMarksRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateSecurityMarksRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
UpdateSecurityMarksRequest.Builder |
|
clearStartTime()
public UpdateSecurityMarksRequest.Builder clearStartTime()The time at which the updated SecurityMarks take effect.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityMarksRequest.Builder |
|
clearUpdateMask()
public UpdateSecurityMarksRequest.Builder clearUpdateMask()The FieldMask to use when updating the security marks resource.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityMarksRequest.Builder |
|
getDefaultInstanceForType()
public UpdateSecurityMarksRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateSecurityMarksRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
SecurityMarksOrBuilder |
|
getStartTime()
public Timestamp getStartTime()The time at which the updated SecurityMarks take effect.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()The time at which the updated SecurityMarks take effect.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()The time at which the updated SecurityMarks take effect.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getUpdateMask()
public FieldMask getUpdateMask()The FieldMask to use when updating the security marks resource.
.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.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()The FieldMask to use when updating the security marks resource.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdateSecurityMarksRequest other)
public UpdateSecurityMarksRequest.Builder mergeFrom(UpdateSecurityMarksRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateSecurityMarksRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityMarksRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateSecurityMarksRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityMarksRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateSecurityMarksRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityMarksRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
SecurityMarks |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityMarksRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityMarksRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
SecurityMarks |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
SecurityMarks.Builder |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityMarksRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityMarksRequest.Builder |
|