public static final class CreateQaQuestionRequest.Builder extends GeneratedMessage.Builder<CreateQaQuestionRequest.Builder> implements CreateQaQuestionRequestOrBuilderThe request for creating a QaQuestion.
Protobuf type google.cloud.contactcenterinsights.v1.CreateQaQuestionRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateQaQuestionRequest.BuilderImplements
CreateQaQuestionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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 GeneratedMessage.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 |
|
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. |