Class UpdateSecurityProfileRequest.Builder

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

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

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

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

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

      public boolean hasUpdateMask()
       Required. Field mask is used to specify the fields to be overwritten in the
       SecurityProfile 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 UpdateSecurityProfileRequestOrBuilder
      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
       SecurityProfile 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 UpdateSecurityProfileRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateSecurityProfileRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Required. Field mask is used to specify the fields to be overwritten in the
       SecurityProfile 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 UpdateSecurityProfileRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Required. Field mask is used to specify the fields to be overwritten in the
       SecurityProfile 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 UpdateSecurityProfileRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Required. Field mask is used to specify the fields to be overwritten in the
       SecurityProfile 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

      public UpdateSecurityProfileRequest.Builder clearUpdateMask()
       Required. Field mask is used to specify the fields to be overwritten in the
       SecurityProfile 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
       SecurityProfile 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
       SecurityProfile 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 UpdateSecurityProfileRequestOrBuilder
    • hasSecurityProfile

      public boolean hasSecurityProfile()
       Required. Updated SecurityProfile resource.
       
      .google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasSecurityProfile in interface UpdateSecurityProfileRequestOrBuilder
      Returns:
      Whether the securityProfile field is set.
    • getSecurityProfile

      public SecurityProfile getSecurityProfile()
       Required. Updated SecurityProfile resource.
       
      .google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSecurityProfile in interface UpdateSecurityProfileRequestOrBuilder
      Returns:
      The securityProfile.
    • setSecurityProfile

      public UpdateSecurityProfileRequest.Builder setSecurityProfile(SecurityProfile value)
       Required. Updated SecurityProfile resource.
       
      .google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];
    • setSecurityProfile

      public UpdateSecurityProfileRequest.Builder setSecurityProfile(SecurityProfile.Builder builderForValue)
       Required. Updated SecurityProfile resource.
       
      .google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeSecurityProfile

      public UpdateSecurityProfileRequest.Builder mergeSecurityProfile(SecurityProfile value)
       Required. Updated SecurityProfile resource.
       
      .google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearSecurityProfile

      public UpdateSecurityProfileRequest.Builder clearSecurityProfile()
       Required. Updated SecurityProfile resource.
       
      .google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];
    • getSecurityProfileBuilder

      public SecurityProfile.Builder getSecurityProfileBuilder()
       Required. Updated SecurityProfile resource.
       
      .google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];
    • getSecurityProfileOrBuilder

      public SecurityProfileOrBuilder getSecurityProfileOrBuilder()
       Required. Updated SecurityProfile resource.
       
      .google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSecurityProfileOrBuilder in interface UpdateSecurityProfileRequestOrBuilder