Class UpdateServerTlsPolicyRequest.Builder

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

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

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

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

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

      public boolean hasUpdateMask()
       Optional. Field mask is used to specify the fields to be overwritten in the
       ServerTlsPolicy 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. If the user does not provide a mask then all fields will be
       overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateServerTlsPolicyRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. Field mask is used to specify the fields to be overwritten in the
       ServerTlsPolicy 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. If the user does not provide a mask then all fields will be
       overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateServerTlsPolicyRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateServerTlsPolicyRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Field mask is used to specify the fields to be overwritten in the
       ServerTlsPolicy 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. If the user does not provide a mask then all fields will be
       overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateServerTlsPolicyRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. Field mask is used to specify the fields to be overwritten in the
       ServerTlsPolicy 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. If the user does not provide a mask then all fields will be
       overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateServerTlsPolicyRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Field mask is used to specify the fields to be overwritten in the
       ServerTlsPolicy 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. If the user does not provide a mask then all fields will be
       overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateServerTlsPolicyRequest.Builder clearUpdateMask()
       Optional. Field mask is used to specify the fields to be overwritten in the
       ServerTlsPolicy 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. If the user does not provide a mask then all fields will be
       overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. Field mask is used to specify the fields to be overwritten in the
       ServerTlsPolicy 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. If the user does not provide a mask then all fields will be
       overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. Field mask is used to specify the fields to be overwritten in the
       ServerTlsPolicy 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. If the user does not provide a mask then all fields will be
       overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateServerTlsPolicyRequestOrBuilder
    • hasServerTlsPolicy

      public boolean hasServerTlsPolicy()
       Required. Updated ServerTlsPolicy resource.
       
      .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasServerTlsPolicy in interface UpdateServerTlsPolicyRequestOrBuilder
      Returns:
      Whether the serverTlsPolicy field is set.
    • getServerTlsPolicy

      public ServerTlsPolicy getServerTlsPolicy()
       Required. Updated ServerTlsPolicy resource.
       
      .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getServerTlsPolicy in interface UpdateServerTlsPolicyRequestOrBuilder
      Returns:
      The serverTlsPolicy.
    • setServerTlsPolicy

      public UpdateServerTlsPolicyRequest.Builder setServerTlsPolicy(ServerTlsPolicy value)
       Required. Updated ServerTlsPolicy resource.
       
      .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];
    • setServerTlsPolicy

      public UpdateServerTlsPolicyRequest.Builder setServerTlsPolicy(ServerTlsPolicy.Builder builderForValue)
       Required. Updated ServerTlsPolicy resource.
       
      .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeServerTlsPolicy

      public UpdateServerTlsPolicyRequest.Builder mergeServerTlsPolicy(ServerTlsPolicy value)
       Required. Updated ServerTlsPolicy resource.
       
      .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearServerTlsPolicy

      public UpdateServerTlsPolicyRequest.Builder clearServerTlsPolicy()
       Required. Updated ServerTlsPolicy resource.
       
      .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];
    • getServerTlsPolicyBuilder

      public ServerTlsPolicy.Builder getServerTlsPolicyBuilder()
       Required. Updated ServerTlsPolicy resource.
       
      .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];
    • getServerTlsPolicyOrBuilder

      public ServerTlsPolicyOrBuilder getServerTlsPolicyOrBuilder()
       Required. Updated ServerTlsPolicy resource.
       
      .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getServerTlsPolicyOrBuilder in interface UpdateServerTlsPolicyRequestOrBuilder