Class UpdateAnalysisRuleRequest.Builder (2.54.0)

public static final class UpdateAnalysisRuleRequest.Builder extends GeneratedMessageV3.Builder<UpdateAnalysisRuleRequest.Builder> implements UpdateAnalysisRuleRequestOrBuilder

The request to update a analysis rule.

Protobuf type google.cloud.contactcenterinsights.v1.UpdateAnalysisRuleRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateAnalysisRuleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateAnalysisRuleRequest.Builder
Overrides

build()

public UpdateAnalysisRuleRequest build()
Returns
Type Description
UpdateAnalysisRuleRequest

buildPartial()

public UpdateAnalysisRuleRequest buildPartial()
Returns
Type Description
UpdateAnalysisRuleRequest

clear()

public UpdateAnalysisRuleRequest.Builder clear()
Returns
Type Description
UpdateAnalysisRuleRequest.Builder
Overrides

clearAnalysisRule()

public UpdateAnalysisRuleRequest.Builder clearAnalysisRule()

Required. The new analysis rule.

.google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateAnalysisRuleRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateAnalysisRuleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateAnalysisRuleRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateAnalysisRuleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateAnalysisRuleRequest.Builder
Overrides

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];

Returns
Type Description
UpdateAnalysisRuleRequest.Builder

clone()

public UpdateAnalysisRuleRequest.Builder clone()
Returns
Type Description
UpdateAnalysisRuleRequest.Builder
Overrides

getAnalysisRule()

public AnalysisRule getAnalysisRule()

Required. The new analysis rule.

.google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AnalysisRule

The analysisRule.

getAnalysisRuleBuilder()

public AnalysisRule.Builder getAnalysisRuleBuilder()

Required. The new analysis rule.

.google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AnalysisRule.Builder

getAnalysisRuleOrBuilder()

public AnalysisRuleOrBuilder getAnalysisRuleOrBuilder()

Required. The new analysis rule.

.google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AnalysisRuleOrBuilder

getDefaultInstanceForType()

public UpdateAnalysisRuleRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAnalysisRuleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public 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];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public 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];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public 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];

Returns
Type Description
FieldMaskOrBuilder

hasAnalysisRule()

public boolean hasAnalysisRule()

Required. The new analysis rule.

.google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the analysisRule field is set.

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];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAnalysisRule(AnalysisRule value)

public UpdateAnalysisRuleRequest.Builder mergeAnalysisRule(AnalysisRule value)

Required. The new analysis rule.

.google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AnalysisRule
Returns
Type Description
UpdateAnalysisRuleRequest.Builder

mergeFrom(UpdateAnalysisRuleRequest other)

public UpdateAnalysisRuleRequest.Builder mergeFrom(UpdateAnalysisRuleRequest other)
Parameter
Name Description
other UpdateAnalysisRuleRequest
Returns
Type Description
UpdateAnalysisRuleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateAnalysisRuleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAnalysisRuleRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateAnalysisRuleRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateAnalysisRuleRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAnalysisRuleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateAnalysisRuleRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateAnalysisRuleRequest.Builder mergeUpdateMask(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];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAnalysisRuleRequest.Builder

setAnalysisRule(AnalysisRule value)

public UpdateAnalysisRuleRequest.Builder setAnalysisRule(AnalysisRule value)

Required. The new analysis rule.

.google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AnalysisRule
Returns
Type Description
UpdateAnalysisRuleRequest.Builder

setAnalysisRule(AnalysisRule.Builder builderForValue)

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];

Parameter
Name Description
builderForValue AnalysisRule.Builder
Returns
Type Description
UpdateAnalysisRuleRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateAnalysisRuleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateAnalysisRuleRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateAnalysisRuleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateAnalysisRuleRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAnalysisRuleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateAnalysisRuleRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateAnalysisRuleRequest.Builder setUpdateMask(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];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAnalysisRuleRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAnalysisRuleRequest.Builder setUpdateMask(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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateAnalysisRuleRequest.Builder