Class UpdateAnalysisRuleRequest.Builder

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

public static final class UpdateAnalysisRuleRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateAnalysisRuleRequest.Builder> implements UpdateAnalysisRuleRequestOrBuilder
 The request to update a analysis rule.
 
Protobuf type google.cloud.contactcenterinsights.v1.UpdateAnalysisRuleRequest
  • 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<UpdateAnalysisRuleRequest.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<UpdateAnalysisRuleRequest.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<UpdateAnalysisRuleRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UpdateAnalysisRuleRequest.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<UpdateAnalysisRuleRequest.Builder>
      Throws:
      IOException
    • hasAnalysisRule

      public boolean hasAnalysisRule()
       Required. The new analysis rule.
       
      .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasAnalysisRule in interface UpdateAnalysisRuleRequestOrBuilder
      Returns:
      Whether the analysisRule field is set.
    • getAnalysisRule

      public AnalysisRule getAnalysisRule()
       Required. The new analysis rule.
       
      .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAnalysisRule in interface UpdateAnalysisRuleRequestOrBuilder
      Returns:
      The analysisRule.
    • setAnalysisRule

      public UpdateAnalysisRuleRequest.Builder setAnalysisRule(AnalysisRule value)
       Required. The new analysis rule.
       
      .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];
    • setAnalysisRule

      public UpdateAnalysisRuleRequest.Builder setAnalysisRule(AnalysisRule.Builder builderForValue)
       Required. The new analysis rule.
       
      .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeAnalysisRule

      public UpdateAnalysisRuleRequest.Builder mergeAnalysisRule(AnalysisRule value)
       Required. The new analysis rule.
       
      .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearAnalysisRule

      public UpdateAnalysisRuleRequest.Builder clearAnalysisRule()
       Required. The new analysis rule.
       
      .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];
    • getAnalysisRuleBuilder

      public AnalysisRule.Builder getAnalysisRuleBuilder()
       Required. The new analysis rule.
       
      .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];
    • getAnalysisRuleOrBuilder

      public AnalysisRuleOrBuilder getAnalysisRuleOrBuilder()
       Required. The new analysis rule.
       
      .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAnalysisRuleOrBuilder in interface UpdateAnalysisRuleRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. The list of fields to be updated.
       If the update_mask is not provided, the update will be applied to all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateAnalysisRuleRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. The list of fields to be updated.
       If the update_mask is not provided, the update will be applied to all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateAnalysisRuleRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateAnalysisRuleRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The list of fields to be updated.
       If the update_mask is not provided, the update will be applied to all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateAnalysisRuleRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. The list of fields to be updated.
       If the update_mask is not provided, the update will be applied to all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateAnalysisRuleRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The list of fields to be updated.
       If the update_mask is not provided, the update will be applied to all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateAnalysisRuleRequest.Builder clearUpdateMask()
       Optional. The list of fields to be updated.
       If the update_mask is not provided, the update will be applied to all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. The list of fields to be updated.
       If the update_mask is not provided, the update will be applied to all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. The list of fields to be updated.
       If the update_mask is not provided, the update will be applied to all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateAnalysisRuleRequestOrBuilder