public static final class UpdatePhraseMatcherRequest.Builder extends GeneratedMessageV3.Builder<UpdatePhraseMatcherRequest.Builder> implements UpdatePhraseMatcherRequestOrBuilder
The request to update a phrase matcher.
Protobuf type google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public UpdatePhraseMatcherRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UpdatePhraseMatcherRequest build()
Returns
public UpdatePhraseMatcherRequest buildPartial()
Returns
public UpdatePhraseMatcherRequest.Builder clear()
Returns
Overrides
public UpdatePhraseMatcherRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public UpdatePhraseMatcherRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public UpdatePhraseMatcherRequest.Builder clearPhraseMatcher()
Required. The new values for the phrase matcher.
.google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public UpdatePhraseMatcherRequest.Builder clearUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
public UpdatePhraseMatcherRequest.Builder clone()
Returns
Overrides
public UpdatePhraseMatcherRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public PhraseMatcher getPhraseMatcher()
Required. The new values for the phrase matcher.
.google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public PhraseMatcher.Builder getPhraseMatcherBuilder()
Required. The new values for the phrase matcher.
.google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public PhraseMatcherOrBuilder getPhraseMatcherOrBuilder()
Required. The new values for the phrase matcher.
.google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public FieldMask getUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
public FieldMask.Builder getUpdateMaskBuilder()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
public boolean hasPhraseMatcher()
Required. The new values for the phrase matcher.
.google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the phraseMatcher field is set.
|
public boolean hasUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public UpdatePhraseMatcherRequest.Builder mergeFrom(UpdatePhraseMatcherRequest other)
Parameter
Returns
public UpdatePhraseMatcherRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public UpdatePhraseMatcherRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public UpdatePhraseMatcherRequest.Builder mergePhraseMatcher(PhraseMatcher value)
Required. The new values for the phrase matcher.
.google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public final UpdatePhraseMatcherRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public UpdatePhraseMatcherRequest.Builder mergeUpdateMask(FieldMask value)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
public UpdatePhraseMatcherRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UpdatePhraseMatcherRequest.Builder setPhraseMatcher(PhraseMatcher value)
Required. The new values for the phrase matcher.
.google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public UpdatePhraseMatcherRequest.Builder setPhraseMatcher(PhraseMatcher.Builder builderForValue)
Required. The new values for the phrase matcher.
.google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public UpdatePhraseMatcherRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final UpdatePhraseMatcherRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public UpdatePhraseMatcherRequest.Builder setUpdateMask(FieldMask value)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
public UpdatePhraseMatcherRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns