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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public UpdateAnalysisRuleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateAnalysisRuleRequest build()
public UpdateAnalysisRuleRequest buildPartial()
public UpdateAnalysisRuleRequest.Builder clear()
Overrides
public UpdateAnalysisRuleRequest.Builder clearAnalysisRule()
Required. The new analysis rule.
.google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateAnalysisRuleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UpdateAnalysisRuleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
public UpdateAnalysisRuleRequest.Builder clone()
Overrides
public AnalysisRule getAnalysisRule()
Required. The new analysis rule.
.google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];
public AnalysisRule.Builder getAnalysisRuleBuilder()
Required. The new analysis rule.
.google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];
public AnalysisRuleOrBuilder getAnalysisRuleOrBuilder()
Required. The new analysis rule.
.google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateAnalysisRuleRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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];
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];
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UpdateAnalysisRuleRequest.Builder mergeAnalysisRule(AnalysisRule value)
Required. The new analysis rule.
.google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateAnalysisRuleRequest.Builder mergeFrom(UpdateAnalysisRuleRequest other)
public UpdateAnalysisRuleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpdateAnalysisRuleRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final UpdateAnalysisRuleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
public UpdateAnalysisRuleRequest.Builder setAnalysisRule(AnalysisRule value)
Required. The new analysis rule.
.google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rule = 1 [(.google.api.field_behavior) = REQUIRED];
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];
public UpdateAnalysisRuleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateAnalysisRuleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UpdateAnalysisRuleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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
|