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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public CreateFeedbackLabelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateFeedbackLabelRequest build()
public CreateFeedbackLabelRequest buildPartial()
public CreateFeedbackLabelRequest.Builder clear()
Overrides
public CreateFeedbackLabelRequest.Builder clearFeedbackLabel()
Required. The feedback label to create.
.google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_label = 3 [(.google.api.field_behavior) = REQUIRED];
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];
public CreateFeedbackLabelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateFeedbackLabelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public CreateFeedbackLabelRequest.Builder clearParent()
Required. The parent resource of the feedback label.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CreateFeedbackLabelRequest.Builder clone()
Overrides
public CreateFeedbackLabelRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public FeedbackLabel getFeedbackLabel()
Required. The feedback label to create.
.google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_label = 3 [(.google.api.field_behavior) = REQUIRED];
public FeedbackLabel.Builder getFeedbackLabelBuilder()
Required. The feedback label to create.
.google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_label = 3 [(.google.api.field_behavior) = REQUIRED];
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.
|
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.
|
public FeedbackLabelOrBuilder getFeedbackLabelOrBuilder()
Required. The feedback label to create.
.google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_label = 3 [(.google.api.field_behavior) = REQUIRED];
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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];
public CreateFeedbackLabelRequest.Builder mergeFrom(CreateFeedbackLabelRequest other)
public CreateFeedbackLabelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateFeedbackLabelRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final CreateFeedbackLabelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
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.
|
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.
|
public CreateFeedbackLabelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
public CreateFeedbackLabelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CreateFeedbackLabelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides