Class UpdateDnsThreatDetectorRequest.Builder

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

public static final class UpdateDnsThreatDetectorRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateDnsThreatDetectorRequest.Builder> implements UpdateDnsThreatDetectorRequestOrBuilder
 The message for updating a DnsThreatDetector.
 
Protobuf type google.cloud.networksecurity.v1.UpdateDnsThreatDetectorRequest
  • 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<UpdateDnsThreatDetectorRequest.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<UpdateDnsThreatDetectorRequest.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<UpdateDnsThreatDetectorRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public boolean hasUpdateMask()
       Optional. The field mask is used to specify the fields to be overwritten in
       the DnsThreatDetector 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 mask is not provided then
       all fields present in the request will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateDnsThreatDetectorRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. The field mask is used to specify the fields to be overwritten in
       the DnsThreatDetector 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 mask is not provided then
       all fields present in the request will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateDnsThreatDetectorRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateDnsThreatDetectorRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The field mask is used to specify the fields to be overwritten in
       the DnsThreatDetector 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 mask is not provided then
       all fields present in the request will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateDnsThreatDetectorRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. The field mask is used to specify the fields to be overwritten in
       the DnsThreatDetector 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 mask is not provided then
       all fields present in the request will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateDnsThreatDetectorRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The field mask is used to specify the fields to be overwritten in
       the DnsThreatDetector 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 mask is not provided then
       all fields present in the request will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateDnsThreatDetectorRequest.Builder clearUpdateMask()
       Optional. The field mask is used to specify the fields to be overwritten in
       the DnsThreatDetector 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 mask is not provided then
       all fields present in the request will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. The field mask is used to specify the fields to be overwritten in
       the DnsThreatDetector 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 mask is not provided then
       all fields present in the request will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. The field mask is used to specify the fields to be overwritten in
       the DnsThreatDetector 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 mask is not provided then
       all fields present in the request will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateDnsThreatDetectorRequestOrBuilder
    • hasDnsThreatDetector

      public boolean hasDnsThreatDetector()
       Required. The DnsThreatDetector resource being updated.
       
      .google.cloud.networksecurity.v1.DnsThreatDetector dns_threat_detector = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDnsThreatDetector in interface UpdateDnsThreatDetectorRequestOrBuilder
      Returns:
      Whether the dnsThreatDetector field is set.
    • getDnsThreatDetector

      public DnsThreatDetector getDnsThreatDetector()
       Required. The DnsThreatDetector resource being updated.
       
      .google.cloud.networksecurity.v1.DnsThreatDetector dns_threat_detector = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDnsThreatDetector in interface UpdateDnsThreatDetectorRequestOrBuilder
      Returns:
      The dnsThreatDetector.
    • setDnsThreatDetector

      public UpdateDnsThreatDetectorRequest.Builder setDnsThreatDetector(DnsThreatDetector value)
       Required. The DnsThreatDetector resource being updated.
       
      .google.cloud.networksecurity.v1.DnsThreatDetector dns_threat_detector = 2 [(.google.api.field_behavior) = REQUIRED];
    • setDnsThreatDetector

      public UpdateDnsThreatDetectorRequest.Builder setDnsThreatDetector(DnsThreatDetector.Builder builderForValue)
       Required. The DnsThreatDetector resource being updated.
       
      .google.cloud.networksecurity.v1.DnsThreatDetector dns_threat_detector = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeDnsThreatDetector

      public UpdateDnsThreatDetectorRequest.Builder mergeDnsThreatDetector(DnsThreatDetector value)
       Required. The DnsThreatDetector resource being updated.
       
      .google.cloud.networksecurity.v1.DnsThreatDetector dns_threat_detector = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearDnsThreatDetector

      public UpdateDnsThreatDetectorRequest.Builder clearDnsThreatDetector()
       Required. The DnsThreatDetector resource being updated.
       
      .google.cloud.networksecurity.v1.DnsThreatDetector dns_threat_detector = 2 [(.google.api.field_behavior) = REQUIRED];
    • getDnsThreatDetectorBuilder

      public DnsThreatDetector.Builder getDnsThreatDetectorBuilder()
       Required. The DnsThreatDetector resource being updated.
       
      .google.cloud.networksecurity.v1.DnsThreatDetector dns_threat_detector = 2 [(.google.api.field_behavior) = REQUIRED];
    • getDnsThreatDetectorOrBuilder

      public DnsThreatDetectorOrBuilder getDnsThreatDetectorOrBuilder()
       Required. The DnsThreatDetector resource being updated.
       
      .google.cloud.networksecurity.v1.DnsThreatDetector dns_threat_detector = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDnsThreatDetectorOrBuilder in interface UpdateDnsThreatDetectorRequestOrBuilder