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
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 UpdateQaQuestionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateQaQuestionRequest build()
public UpdateQaQuestionRequest buildPartial()
public UpdateQaQuestionRequest.Builder clear()
Overrides
public UpdateQaQuestionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UpdateQaQuestionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public UpdateQaQuestionRequest.Builder clearQaQuestion()
Required. The QaQuestion to update.
.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];
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];
public UpdateQaQuestionRequest.Builder clone()
Overrides
public UpdateQaQuestionRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
public QaQuestion.Builder getQaQuestionBuilder()
Required. The QaQuestion to update.
.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];
public QaQuestionOrBuilder getQaQuestionOrBuilder()
Required. The QaQuestion to update.
.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];
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.
|
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];
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];
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UpdateQaQuestionRequest.Builder mergeFrom(UpdateQaQuestionRequest other)
public UpdateQaQuestionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpdateQaQuestionRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public UpdateQaQuestionRequest.Builder mergeQaQuestion(QaQuestion value)
Required. The QaQuestion to update.
.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];
public final UpdateQaQuestionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
public UpdateQaQuestionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateQaQuestionRequest.Builder setQaQuestion(QaQuestion value)
Required. The QaQuestion to update.
.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];
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];
public UpdateQaQuestionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UpdateQaQuestionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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
|