Class UpdateSecurityMarksRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateSecurityMarksRequest.Builder>
com.google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest.Builder
All Implemented Interfaces:
UpdateSecurityMarksRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateSecurityMarksRequest

public static final class UpdateSecurityMarksRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateSecurityMarksRequest.Builder> implements UpdateSecurityMarksRequestOrBuilder
 Request message for updating a SecurityMarks resource.
 
Protobuf type google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateSecurityMarksRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<UpdateSecurityMarksRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UpdateSecurityMarksRequest.Builder>
    • getDefaultInstanceForType

      public UpdateSecurityMarksRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpdateSecurityMarksRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UpdateSecurityMarksRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateSecurityMarksRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<UpdateSecurityMarksRequest.Builder>
    • mergeFrom

      public UpdateSecurityMarksRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateSecurityMarksRequest.Builder>
      Throws:
      IOException
    • hasSecurityMarks

      public boolean hasSecurityMarks()
       Required. The security marks resource to update.
       
      .google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasSecurityMarks in interface UpdateSecurityMarksRequestOrBuilder
      Returns:
      Whether the securityMarks field is set.
    • getSecurityMarks

      public SecurityMarks getSecurityMarks()
       Required. The security marks resource to update.
       
      .google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSecurityMarks in interface UpdateSecurityMarksRequestOrBuilder
      Returns:
      The securityMarks.
    • setSecurityMarks

      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];
    • setSecurityMarks

      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];
    • mergeSecurityMarks

      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];
    • 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];
    • 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];
    • getSecurityMarksOrBuilder

      public SecurityMarksOrBuilder getSecurityMarksOrBuilder()
       Required. The security marks resource to update.
       
      .google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSecurityMarksOrBuilder in interface UpdateSecurityMarksRequestOrBuilder
    • 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;
      Specified by:
      hasUpdateMask in interface UpdateSecurityMarksRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.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;
      Specified by:
      getUpdateMask in interface UpdateSecurityMarksRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateSecurityMarksRequest.Builder setUpdateMask(com.google.protobuf.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

      public UpdateSecurityMarksRequest.Builder setUpdateMask(com.google.protobuf.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;
    • mergeUpdateMask

      public UpdateSecurityMarksRequest.Builder mergeUpdateMask(com.google.protobuf.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;
    • 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;
    • getUpdateMaskBuilder

      public com.google.protobuf.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 com.google.protobuf.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;
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateSecurityMarksRequestOrBuilder
    • 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;
      Specified by:
      hasStartTime in interface UpdateSecurityMarksRequestOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.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;
      Specified by:
      getStartTime in interface UpdateSecurityMarksRequestOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public UpdateSecurityMarksRequest.Builder setStartTime(com.google.protobuf.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;
    • setStartTime

      public UpdateSecurityMarksRequest.Builder setStartTime(com.google.protobuf.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;
    • mergeStartTime

      public UpdateSecurityMarksRequest.Builder mergeStartTime(com.google.protobuf.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;
    • 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;
    • getStartTimeBuilder

      public com.google.protobuf.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;
    • getStartTimeOrBuilder

      public com.google.protobuf.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;
      Specified by:
      getStartTimeOrBuilder in interface UpdateSecurityMarksRequestOrBuilder