Class UpdatePhraseMatcherRequest.Builder (2.47.0)

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

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdatePhraseMatcherRequest build()
Returns
Type Description
UpdatePhraseMatcherRequest

buildPartial()

public UpdatePhraseMatcherRequest buildPartial()
Returns
Type Description
UpdatePhraseMatcherRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPhraseMatcher()

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
Type Description
UpdatePhraseMatcherRequest.Builder

clearUpdateMask()

public UpdatePhraseMatcherRequest.Builder clearUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdatePhraseMatcherRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdatePhraseMatcherRequest getDefaultInstanceForType()
Returns
Type Description
UpdatePhraseMatcherRequest

getDescriptorForType()

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

getPhraseMatcher()

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
Type Description
PhraseMatcher

The phraseMatcher.

getPhraseMatcherBuilder()

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
Type Description
PhraseMatcher.Builder

getPhraseMatcherOrBuilder()

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
Type Description
PhraseMatcherOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasPhraseMatcher()

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.

hasUpdateMask()

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdatePhraseMatcherRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePhraseMatcher(PhraseMatcher value)

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
Name Description
value PhraseMatcher
Returns
Type Description
UpdatePhraseMatcherRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdatePhraseMatcherRequest.Builder mergeUpdateMask(FieldMask value)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdatePhraseMatcherRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPhraseMatcher(PhraseMatcher value)

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
Name Description
value PhraseMatcher
Returns
Type Description
UpdatePhraseMatcherRequest.Builder

setPhraseMatcher(PhraseMatcher.Builder builderForValue)

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
Name Description
builderForValue PhraseMatcher.Builder
Returns
Type Description
UpdatePhraseMatcherRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdatePhraseMatcherRequest.Builder setUpdateMask(FieldMask value)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdatePhraseMatcherRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

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
Type Description
UpdatePhraseMatcherRequest.Builder