Class UpdatePhraseMatcherRequest.Builder (2.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdatePhraseMatcherRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdatePhraseMatcherRequest.Builder
Overrides

build()

public UpdatePhraseMatcherRequest build()
Returns
TypeDescription
UpdatePhraseMatcherRequest

buildPartial()

public UpdatePhraseMatcherRequest buildPartial()
Returns
TypeDescription
UpdatePhraseMatcherRequest

clear()

public UpdatePhraseMatcherRequest.Builder clear()
Returns
TypeDescription
UpdatePhraseMatcherRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdatePhraseMatcherRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdatePhraseMatcherRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdatePhraseMatcherRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdatePhraseMatcherRequest.Builder

clearUpdateMask()

public UpdatePhraseMatcherRequest.Builder clearUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdatePhraseMatcherRequest.Builder

clone()

public UpdatePhraseMatcherRequest.Builder clone()
Returns
TypeDescription
UpdatePhraseMatcherRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdatePhraseMatcherRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdatePhraseMatcherRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PhraseMatcherOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdatePhraseMatcherRequest other)

public UpdatePhraseMatcherRequest.Builder mergeFrom(UpdatePhraseMatcherRequest other)
Parameter
NameDescription
otherUpdatePhraseMatcherRequest
Returns
TypeDescription
UpdatePhraseMatcherRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdatePhraseMatcherRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdatePhraseMatcherRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdatePhraseMatcherRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuePhraseMatcher
Returns
TypeDescription
UpdatePhraseMatcherRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdatePhraseMatcherRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdatePhraseMatcherRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdatePhraseMatcherRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuePhraseMatcher
Returns
TypeDescription
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
NameDescription
builderForValuePhraseMatcher.Builder
Returns
TypeDescription
UpdatePhraseMatcherRequest.Builder

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

public UpdatePhraseMatcherRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdatePhraseMatcherRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdatePhraseMatcherRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdatePhraseMatcherRequest.Builder