Class CreateFeedbackLabelRequest.Builder (2.55.0)

public static final class CreateFeedbackLabelRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateFeedbackLabelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateFeedbackLabelRequest.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public CreateFeedbackLabelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateFeedbackLabelRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateFeedbackLabelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateFeedbackLabelRequest.Builder
Overrides

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.

clone()

public CreateFeedbackLabelRequest.Builder clone()
Returns
Type Description
CreateFeedbackLabelRequest.Builder
Overrides

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateFeedbackLabelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateFeedbackLabelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateFeedbackLabelRequest.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateFeedbackLabelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateFeedbackLabelRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateFeedbackLabelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateFeedbackLabelRequest.Builder
Overrides