Class CreateFeedbackLabelRequest.Builder (2.83.0)

public static final class CreateFeedbackLabelRequest.Builder extends GeneratedMessage.Builder<CreateFeedbackLabelRequest.Builder> implements CreateFeedbackLabelRequestOrBuilder

The request for creating a feedback label.

Protobuf type google.cloud.contactcenterinsights.v1.CreateFeedbackLabelRequest

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for parent to set.

Returns
Type Description
CreateFeedbackLabelRequest.Builder

This builder for chaining.