Class UpdateQaQuestionRequest.Builder (2.55.0)

public static final class UpdateQaQuestionRequest.Builder extends GeneratedMessageV3.Builder<UpdateQaQuestionRequest.Builder> implements UpdateQaQuestionRequestOrBuilder

The request for updating a QaQuestion.

Protobuf type google.cloud.contactcenterinsights.v1.UpdateQaQuestionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateQaQuestionRequest build()
Returns
Type Description
UpdateQaQuestionRequest

buildPartial()

public UpdateQaQuestionRequest buildPartial()
Returns
Type Description
UpdateQaQuestionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQaQuestion()

public UpdateQaQuestionRequest.Builder clearQaQuestion()

Required. The QaQuestion to update.

.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateQaQuestionRequest.Builder

clearUpdateMask()

public UpdateQaQuestionRequest.Builder clearUpdateMask()

Required. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • abbreviation
  • answer_choices
  • answer_instructions
  • order
  • question_body
  • tags

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateQaQuestionRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateQaQuestionRequest getDefaultInstanceForType()
Returns
Type Description
UpdateQaQuestionRequest

getDescriptorForType()

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

getQaQuestion()

public QaQuestion getQaQuestion()

Required. The QaQuestion to update.

.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QaQuestion

The qaQuestion.

getQaQuestionBuilder()

public QaQuestion.Builder getQaQuestionBuilder()

Required. The QaQuestion to update.

.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QaQuestion.Builder

getQaQuestionOrBuilder()

public QaQuestionOrBuilder getQaQuestionOrBuilder()

Required. The QaQuestion to update.

.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QaQuestionOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • abbreviation
  • answer_choices
  • answer_instructions
  • order
  • question_body
  • tags

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • abbreviation
  • answer_choices
  • answer_instructions
  • order
  • question_body
  • tags

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • abbreviation
  • answer_choices
  • answer_instructions
  • order
  • question_body
  • tags

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasQaQuestion()

public boolean hasQaQuestion()

Required. The QaQuestion to update.

.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the qaQuestion field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • abbreviation
  • answer_choices
  • answer_instructions
  • order
  • question_body
  • tags

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

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(UpdateQaQuestionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeQaQuestion(QaQuestion value)

public UpdateQaQuestionRequest.Builder mergeQaQuestion(QaQuestion value)

Required. The QaQuestion to update.

.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value QaQuestion
Returns
Type Description
UpdateQaQuestionRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateQaQuestionRequest.Builder mergeUpdateMask(FieldMask value)

Required. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • abbreviation
  • answer_choices
  • answer_instructions
  • order
  • question_body
  • tags

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateQaQuestionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setQaQuestion(QaQuestion value)

public UpdateQaQuestionRequest.Builder setQaQuestion(QaQuestion value)

Required. The QaQuestion to update.

.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value QaQuestion
Returns
Type Description
UpdateQaQuestionRequest.Builder

setQaQuestion(QaQuestion.Builder builderForValue)

public UpdateQaQuestionRequest.Builder setQaQuestion(QaQuestion.Builder builderForValue)

Required. The QaQuestion to update.

.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue QaQuestion.Builder
Returns
Type Description
UpdateQaQuestionRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateQaQuestionRequest.Builder setUpdateMask(FieldMask value)

Required. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • abbreviation
  • answer_choices
  • answer_instructions
  • order
  • question_body
  • tags

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateQaQuestionRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateQaQuestionRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • abbreviation
  • answer_choices
  • answer_instructions
  • order
  • question_body
  • tags

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateQaQuestionRequest.Builder