Class UpdateSecurityProfileGroupRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateSecurityProfileGroupRequest.Builder>
com.google.cloud.networksecurity.v1.UpdateSecurityProfileGroupRequest.Builder
All Implemented Interfaces:
UpdateSecurityProfileGroupRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateSecurityProfileGroupRequest

public static final class UpdateSecurityProfileGroupRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateSecurityProfileGroupRequest.Builder> implements UpdateSecurityProfileGroupRequestOrBuilder
 Request used by the UpdateSecurityProfileGroup method.
 
Protobuf type google.cloud.networksecurity.v1.UpdateSecurityProfileGroupRequest
  • 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<UpdateSecurityProfileGroupRequest.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<UpdateSecurityProfileGroupRequest.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<UpdateSecurityProfileGroupRequest.Builder>
    • getDefaultInstanceForType

      public UpdateSecurityProfileGroupRequest 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 UpdateSecurityProfileGroupRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UpdateSecurityProfileGroupRequest.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<UpdateSecurityProfileGroupRequest.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<UpdateSecurityProfileGroupRequest.Builder>
    • mergeFrom

      public UpdateSecurityProfileGroupRequest.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<UpdateSecurityProfileGroupRequest.Builder>
      Throws:
      IOException
    • hasUpdateMask

      public boolean hasUpdateMask()
       Required. Field mask is used to specify the fields to be overwritten in the
       SecurityProfileGroup resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasUpdateMask in interface UpdateSecurityProfileGroupRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Required. Field mask is used to specify the fields to be overwritten in the
       SecurityProfileGroup resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMask in interface UpdateSecurityProfileGroupRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateSecurityProfileGroupRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Required. Field mask is used to specify the fields to be overwritten in the
       SecurityProfileGroup resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • setUpdateMask

      public UpdateSecurityProfileGroupRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Required. Field mask is used to specify the fields to be overwritten in the
       SecurityProfileGroup resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeUpdateMask

      public UpdateSecurityProfileGroupRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Required. Field mask is used to specify the fields to be overwritten in the
       SecurityProfileGroup resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearUpdateMask

       Required. Field mask is used to specify the fields to be overwritten in the
       SecurityProfileGroup resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Required. Field mask is used to specify the fields to be overwritten in the
       SecurityProfileGroup resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Required. Field mask is used to specify the fields to be overwritten in the
       SecurityProfileGroup resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateSecurityProfileGroupRequestOrBuilder
    • hasSecurityProfileGroup

      public boolean hasSecurityProfileGroup()
       Required. Updated SecurityProfileGroup resource.
       
      .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_group = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasSecurityProfileGroup in interface UpdateSecurityProfileGroupRequestOrBuilder
      Returns:
      Whether the securityProfileGroup field is set.
    • getSecurityProfileGroup

      public SecurityProfileGroup getSecurityProfileGroup()
       Required. Updated SecurityProfileGroup resource.
       
      .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_group = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSecurityProfileGroup in interface UpdateSecurityProfileGroupRequestOrBuilder
      Returns:
      The securityProfileGroup.
    • setSecurityProfileGroup

      public UpdateSecurityProfileGroupRequest.Builder setSecurityProfileGroup(SecurityProfileGroup value)
       Required. Updated SecurityProfileGroup resource.
       
      .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_group = 2 [(.google.api.field_behavior) = REQUIRED];
    • setSecurityProfileGroup

      public UpdateSecurityProfileGroupRequest.Builder setSecurityProfileGroup(SecurityProfileGroup.Builder builderForValue)
       Required. Updated SecurityProfileGroup resource.
       
      .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_group = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeSecurityProfileGroup

      public UpdateSecurityProfileGroupRequest.Builder mergeSecurityProfileGroup(SecurityProfileGroup value)
       Required. Updated SecurityProfileGroup resource.
       
      .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_group = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearSecurityProfileGroup

      public UpdateSecurityProfileGroupRequest.Builder clearSecurityProfileGroup()
       Required. Updated SecurityProfileGroup resource.
       
      .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_group = 2 [(.google.api.field_behavior) = REQUIRED];
    • getSecurityProfileGroupBuilder

      public SecurityProfileGroup.Builder getSecurityProfileGroupBuilder()
       Required. Updated SecurityProfileGroup resource.
       
      .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_group = 2 [(.google.api.field_behavior) = REQUIRED];
    • getSecurityProfileGroupOrBuilder

      public SecurityProfileGroupOrBuilder getSecurityProfileGroupOrBuilder()
       Required. Updated SecurityProfileGroup resource.
       
      .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_group = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSecurityProfileGroupOrBuilder in interface UpdateSecurityProfileGroupRequestOrBuilder