public static final class CreateFeedbackLabelRequest.Builder extends GeneratedMessage.Builder<CreateFeedbackLabelRequest.Builder> implements CreateFeedbackLabelRequestOrBuilderThe request for creating a feedback label.
Protobuf type google.cloud.contactcenterinsights.v1.CreateFeedbackLabelRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateFeedbackLabelRequest.BuilderImplements
CreateFeedbackLabelRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateFeedbackLabelRequest build()| Returns | |
|---|---|
| Type | Description |
CreateFeedbackLabelRequest |
|
buildPartial()
public CreateFeedbackLabelRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateFeedbackLabelRequest |
|
clear()
public CreateFeedbackLabelRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateFeedbackLabelRequest.Builder |
|
clearFeedbackLabel()
public CreateFeedbackLabelRequest.Builder clearFeedbackLabel()Required. The feedback label to create.
.google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_label = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateFeedbackLabelRequest.Builder |
|
clearFeedbackLabelId()
public CreateFeedbackLabelRequest.Builder clearFeedbackLabelId()Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server.
string feedback_label_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateFeedbackLabelRequest.Builder |
This builder for chaining. |
clearParent()
public CreateFeedbackLabelRequest.Builder clearParent()Required. The parent resource of the feedback label.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateFeedbackLabelRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateFeedbackLabelRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateFeedbackLabelRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFeedbackLabel()
public FeedbackLabel getFeedbackLabel()Required. The feedback label to create.
.google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_label = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel |
The feedbackLabel. |
getFeedbackLabelBuilder()
public FeedbackLabel.Builder getFeedbackLabelBuilder()Required. The feedback label to create.
.google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_label = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
|
getFeedbackLabelId()
public String getFeedbackLabelId()Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server.
string feedback_label_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The feedbackLabelId. |
getFeedbackLabelIdBytes()
public ByteString getFeedbackLabelIdBytes()Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server.
string feedback_label_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for feedbackLabelId. |
getFeedbackLabelOrBuilder()
public FeedbackLabelOrBuilder getFeedbackLabelOrBuilder()Required. The feedback label to create.
.google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_label = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FeedbackLabelOrBuilder |
|
getParent()
public String getParent()Required. The parent resource of the feedback label.
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 feedback label.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasFeedbackLabel()
public boolean hasFeedbackLabel()Required. The feedback label to create.
.google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_label = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the feedbackLabel field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFeedbackLabel(FeedbackLabel value)
public CreateFeedbackLabelRequest.Builder mergeFeedbackLabel(FeedbackLabel value)Required. The feedback label to create.
.google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_label = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FeedbackLabel |
| Returns | |
|---|---|
| Type | Description |
CreateFeedbackLabelRequest.Builder |
|
mergeFrom(CreateFeedbackLabelRequest other)
public CreateFeedbackLabelRequest.Builder mergeFrom(CreateFeedbackLabelRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateFeedbackLabelRequest |
| Returns | |
|---|---|
| Type | Description |
CreateFeedbackLabelRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateFeedbackLabelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateFeedbackLabelRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateFeedbackLabelRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateFeedbackLabelRequest.Builder |
|
setFeedbackLabel(FeedbackLabel value)
public CreateFeedbackLabelRequest.Builder setFeedbackLabel(FeedbackLabel value)Required. The feedback label to create.
.google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_label = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FeedbackLabel |
| Returns | |
|---|---|
| Type | Description |
CreateFeedbackLabelRequest.Builder |
|
setFeedbackLabel(FeedbackLabel.Builder builderForValue)
public CreateFeedbackLabelRequest.Builder setFeedbackLabel(FeedbackLabel.Builder builderForValue)Required. The feedback label to create.
.google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_label = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FeedbackLabel.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateFeedbackLabelRequest.Builder |
|
setFeedbackLabelId(String value)
public CreateFeedbackLabelRequest.Builder setFeedbackLabelId(String value)Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server.
string feedback_label_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe feedbackLabelId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateFeedbackLabelRequest.Builder |
This builder for chaining. |
setFeedbackLabelIdBytes(ByteString value)
public CreateFeedbackLabelRequest.Builder setFeedbackLabelIdBytes(ByteString value)Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server.
string feedback_label_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for feedbackLabelId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateFeedbackLabelRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateFeedbackLabelRequest.Builder setParent(String value)Required. The parent resource of the feedback label.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateFeedbackLabelRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateFeedbackLabelRequest.Builder setParentBytes(ByteString value)Required. The parent resource of the feedback label.
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 |
CreateFeedbackLabelRequest.Builder |
This builder for chaining. |