Class UpdateAlertConfigRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateAlertConfigRequest.Builder>
com.google.cloud.retail.v2alpha.UpdateAlertConfigRequest.Builder
All Implemented Interfaces:
UpdateAlertConfigRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateAlertConfigRequest

public static final class UpdateAlertConfigRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateAlertConfigRequest.Builder> implements UpdateAlertConfigRequestOrBuilder
 Request for
 [ProjectService.UpdateAlertConfig][google.cloud.retail.v2alpha.ProjectService.UpdateAlertConfig]
 method.
 
Protobuf type google.cloud.retail.v2alpha.UpdateAlertConfigRequest
  • 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<UpdateAlertConfigRequest.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<UpdateAlertConfigRequest.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<UpdateAlertConfigRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UpdateAlertConfigRequest.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<UpdateAlertConfigRequest.Builder>
      Throws:
      IOException
    • hasAlertConfig

      public boolean hasAlertConfig()
       Required. The [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to
       update.
      
       If the caller does not have permission to update the
       [AlertConfig][google.cloud.retail.v2alpha.AlertConfig], then a
       PERMISSION_DENIED error is returned.
      
       If the [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to update
       does not exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.AlertConfig alert_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasAlertConfig in interface UpdateAlertConfigRequestOrBuilder
      Returns:
      Whether the alertConfig field is set.
    • getAlertConfig

      public AlertConfig getAlertConfig()
       Required. The [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to
       update.
      
       If the caller does not have permission to update the
       [AlertConfig][google.cloud.retail.v2alpha.AlertConfig], then a
       PERMISSION_DENIED error is returned.
      
       If the [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to update
       does not exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.AlertConfig alert_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAlertConfig in interface UpdateAlertConfigRequestOrBuilder
      Returns:
      The alertConfig.
    • setAlertConfig

      public UpdateAlertConfigRequest.Builder setAlertConfig(AlertConfig value)
       Required. The [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to
       update.
      
       If the caller does not have permission to update the
       [AlertConfig][google.cloud.retail.v2alpha.AlertConfig], then a
       PERMISSION_DENIED error is returned.
      
       If the [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to update
       does not exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.AlertConfig alert_config = 1 [(.google.api.field_behavior) = REQUIRED];
    • setAlertConfig

      public UpdateAlertConfigRequest.Builder setAlertConfig(AlertConfig.Builder builderForValue)
       Required. The [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to
       update.
      
       If the caller does not have permission to update the
       [AlertConfig][google.cloud.retail.v2alpha.AlertConfig], then a
       PERMISSION_DENIED error is returned.
      
       If the [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to update
       does not exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.AlertConfig alert_config = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeAlertConfig

      public UpdateAlertConfigRequest.Builder mergeAlertConfig(AlertConfig value)
       Required. The [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to
       update.
      
       If the caller does not have permission to update the
       [AlertConfig][google.cloud.retail.v2alpha.AlertConfig], then a
       PERMISSION_DENIED error is returned.
      
       If the [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to update
       does not exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.AlertConfig alert_config = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearAlertConfig

      public UpdateAlertConfigRequest.Builder clearAlertConfig()
       Required. The [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to
       update.
      
       If the caller does not have permission to update the
       [AlertConfig][google.cloud.retail.v2alpha.AlertConfig], then a
       PERMISSION_DENIED error is returned.
      
       If the [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to update
       does not exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.AlertConfig alert_config = 1 [(.google.api.field_behavior) = REQUIRED];
    • getAlertConfigBuilder

      public AlertConfig.Builder getAlertConfigBuilder()
       Required. The [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to
       update.
      
       If the caller does not have permission to update the
       [AlertConfig][google.cloud.retail.v2alpha.AlertConfig], then a
       PERMISSION_DENIED error is returned.
      
       If the [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to update
       does not exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.AlertConfig alert_config = 1 [(.google.api.field_behavior) = REQUIRED];
    • getAlertConfigOrBuilder

      public AlertConfigOrBuilder getAlertConfigOrBuilder()
       Required. The [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to
       update.
      
       If the caller does not have permission to update the
       [AlertConfig][google.cloud.retail.v2alpha.AlertConfig], then a
       PERMISSION_DENIED error is returned.
      
       If the [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to update
       does not exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.AlertConfig alert_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAlertConfigOrBuilder in interface UpdateAlertConfigRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Indicates which fields in the provided
       [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to update. If not
       set, all supported fields are updated.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      hasUpdateMask in interface UpdateAlertConfigRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Indicates which fields in the provided
       [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to update. If not
       set, all supported fields are updated.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      getUpdateMask in interface UpdateAlertConfigRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateAlertConfigRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Indicates which fields in the provided
       [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to update. If not
       set, all supported fields are updated.
       
      .google.protobuf.FieldMask update_mask = 2;
    • setUpdateMask

      public UpdateAlertConfigRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Indicates which fields in the provided
       [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to update. If not
       set, all supported fields are updated.
       
      .google.protobuf.FieldMask update_mask = 2;
    • mergeUpdateMask

      public UpdateAlertConfigRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Indicates which fields in the provided
       [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to update. If not
       set, all supported fields are updated.
       
      .google.protobuf.FieldMask update_mask = 2;
    • clearUpdateMask

      public UpdateAlertConfigRequest.Builder clearUpdateMask()
       Indicates which fields in the provided
       [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to update. If not
       set, all supported fields are updated.
       
      .google.protobuf.FieldMask update_mask = 2;
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Indicates which fields in the provided
       [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to update. If not
       set, all supported fields are updated.
       
      .google.protobuf.FieldMask update_mask = 2;
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Indicates which fields in the provided
       [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] to update. If not
       set, all supported fields are updated.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateAlertConfigRequestOrBuilder