- 2.78.0 (latest)
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
public static final class CreateQaQuestionRequest.Builder extends GeneratedMessageV3.Builder<CreateQaQuestionRequest.Builder> implements CreateQaQuestionRequestOrBuilderThe request for creating a QaQuestion.
Protobuf type google.cloud.contactcenterinsights.v1.CreateQaQuestionRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateQaQuestionRequest.BuilderImplements
CreateQaQuestionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateQaQuestionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
|
build()
public CreateQaQuestionRequest build()| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest |
|
buildPartial()
public CreateQaQuestionRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest |
|
clear()
public CreateQaQuestionRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public CreateQaQuestionRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateQaQuestionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
|
clearParent()
public CreateQaQuestionRequest.Builder clearParent()Required. The parent resource of the QaQuestion.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
This builder for chaining. |
clearQaQuestion()
public CreateQaQuestionRequest.Builder clearQaQuestion()Required. The QaQuestion to create.
.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
|
clearQaQuestionId()
public CreateQaQuestionRequest.Builder clearQaQuestionId()Optional. A unique ID for the new question. This ID will become the final component of the question's resource name. If no ID is specified, a server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression ^[a-z0-9-]{4,64}$. Valid characters are a-z-.
string qa_question_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
This builder for chaining. |
clone()
public CreateQaQuestionRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
|
getDefaultInstanceForType()
public CreateQaQuestionRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. The parent resource of the QaQuestion.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The parent resource of the QaQuestion.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getQaQuestion()
public QaQuestion getQaQuestion()Required. The QaQuestion to create.
.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
QaQuestion |
The qaQuestion. |
getQaQuestionBuilder()
public QaQuestion.Builder getQaQuestionBuilder()Required. The QaQuestion to create.
.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
QaQuestion.Builder |
|
getQaQuestionId()
public String getQaQuestionId()Optional. A unique ID for the new question. This ID will become the final component of the question's resource name. If no ID is specified, a server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression ^[a-z0-9-]{4,64}$. Valid characters are a-z-.
string qa_question_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The qaQuestionId. |
getQaQuestionIdBytes()
public ByteString getQaQuestionIdBytes()Optional. A unique ID for the new question. This ID will become the final component of the question's resource name. If no ID is specified, a server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression ^[a-z0-9-]{4,64}$. Valid characters are a-z-.
string qa_question_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for qaQuestionId. |
getQaQuestionOrBuilder()
public QaQuestionOrBuilder getQaQuestionOrBuilder()Required. The QaQuestion to create.
.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
QaQuestionOrBuilder |
|
hasQaQuestion()
public boolean hasQaQuestion()Required. The QaQuestion to create.
.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the qaQuestion field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateQaQuestionRequest other)
public CreateQaQuestionRequest.Builder mergeFrom(CreateQaQuestionRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateQaQuestionRequest |
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateQaQuestionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateQaQuestionRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
|
mergeQaQuestion(QaQuestion value)
public CreateQaQuestionRequest.Builder mergeQaQuestion(QaQuestion value)Required. The QaQuestion to create.
.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
QaQuestion |
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateQaQuestionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateQaQuestionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
|
setParent(String value)
public CreateQaQuestionRequest.Builder setParent(String value)Required. The parent resource of the QaQuestion.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateQaQuestionRequest.Builder setParentBytes(ByteString value)Required. The parent resource of the QaQuestion.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
This builder for chaining. |
setQaQuestion(QaQuestion value)
public CreateQaQuestionRequest.Builder setQaQuestion(QaQuestion value)Required. The QaQuestion to create.
.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
QaQuestion |
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
|
setQaQuestion(QaQuestion.Builder builderForValue)
public CreateQaQuestionRequest.Builder setQaQuestion(QaQuestion.Builder builderForValue)Required. The QaQuestion to create.
.google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
QaQuestion.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
|
setQaQuestionId(String value)
public CreateQaQuestionRequest.Builder setQaQuestionId(String value)Optional. A unique ID for the new question. This ID will become the final component of the question's resource name. If no ID is specified, a server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression ^[a-z0-9-]{4,64}$. Valid characters are a-z-.
string qa_question_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe qaQuestionId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
This builder for chaining. |
setQaQuestionIdBytes(ByteString value)
public CreateQaQuestionRequest.Builder setQaQuestionIdBytes(ByteString value)Optional. A unique ID for the new question. This ID will become the final component of the question's resource name. If no ID is specified, a server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression ^[a-z0-9-]{4,64}$. Valid characters are a-z-.
string qa_question_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for qaQuestionId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateQaQuestionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateQaQuestionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
CreateQaQuestionRequest.Builder |
|