Class UpdateLoggingConfigRequest.Builder

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

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

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

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

      public UpdateLoggingConfigRequest.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<UpdateLoggingConfigRequest.Builder>
      Throws:
      IOException
    • hasLoggingConfig

      public boolean hasLoggingConfig()
       Required. The [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig] to
       update.
      
       If the caller does not have permission to update the
       [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig], then a
       PERMISSION_DENIED error is returned.
      
       If the [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig] to update
       does not exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.LoggingConfig logging_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasLoggingConfig in interface UpdateLoggingConfigRequestOrBuilder
      Returns:
      Whether the loggingConfig field is set.
    • getLoggingConfig

      public LoggingConfig getLoggingConfig()
       Required. The [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig] to
       update.
      
       If the caller does not have permission to update the
       [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig], then a
       PERMISSION_DENIED error is returned.
      
       If the [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig] to update
       does not exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.LoggingConfig logging_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getLoggingConfig in interface UpdateLoggingConfigRequestOrBuilder
      Returns:
      The loggingConfig.
    • setLoggingConfig

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

      public UpdateLoggingConfigRequest.Builder setLoggingConfig(LoggingConfig.Builder builderForValue)
       Required. The [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig] to
       update.
      
       If the caller does not have permission to update the
       [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig], then a
       PERMISSION_DENIED error is returned.
      
       If the [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig] to update
       does not exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.LoggingConfig logging_config = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeLoggingConfig

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

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

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

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

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

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

      public UpdateLoggingConfigRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Indicates which fields in the provided
       [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig] to update. The
       following are the only supported fields:
      
       * [LoggingConfig.default_log_generation_rule][google.cloud.retail.v2alpha.LoggingConfig.default_log_generation_rule]
       * [LoggingConfig.service_log_generation_rules][google.cloud.retail.v2alpha.LoggingConfig.service_log_generation_rules]
      
       If not set, all supported fields are updated.
       
      .google.protobuf.FieldMask update_mask = 2;
    • setUpdateMask

      public UpdateLoggingConfigRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Indicates which fields in the provided
       [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig] to update. The
       following are the only supported fields:
      
       * [LoggingConfig.default_log_generation_rule][google.cloud.retail.v2alpha.LoggingConfig.default_log_generation_rule]
       * [LoggingConfig.service_log_generation_rules][google.cloud.retail.v2alpha.LoggingConfig.service_log_generation_rules]
      
       If not set, all supported fields are updated.
       
      .google.protobuf.FieldMask update_mask = 2;
    • mergeUpdateMask

      public UpdateLoggingConfigRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Indicates which fields in the provided
       [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig] to update. The
       following are the only supported fields:
      
       * [LoggingConfig.default_log_generation_rule][google.cloud.retail.v2alpha.LoggingConfig.default_log_generation_rule]
       * [LoggingConfig.service_log_generation_rules][google.cloud.retail.v2alpha.LoggingConfig.service_log_generation_rules]
      
       If not set, all supported fields are updated.
       
      .google.protobuf.FieldMask update_mask = 2;
    • clearUpdateMask

      public UpdateLoggingConfigRequest.Builder clearUpdateMask()
       Indicates which fields in the provided
       [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig] to update. The
       following are the only supported fields:
      
       * [LoggingConfig.default_log_generation_rule][google.cloud.retail.v2alpha.LoggingConfig.default_log_generation_rule]
       * [LoggingConfig.service_log_generation_rules][google.cloud.retail.v2alpha.LoggingConfig.service_log_generation_rules]
      
       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
       [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig] to update. The
       following are the only supported fields:
      
       * [LoggingConfig.default_log_generation_rule][google.cloud.retail.v2alpha.LoggingConfig.default_log_generation_rule]
       * [LoggingConfig.service_log_generation_rules][google.cloud.retail.v2alpha.LoggingConfig.service_log_generation_rules]
      
       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
       [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig] to update. The
       following are the only supported fields:
      
       * [LoggingConfig.default_log_generation_rule][google.cloud.retail.v2alpha.LoggingConfig.default_log_generation_rule]
       * [LoggingConfig.service_log_generation_rules][google.cloud.retail.v2alpha.LoggingConfig.service_log_generation_rules]
      
       If not set, all supported fields are updated.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateLoggingConfigRequestOrBuilder