Class CreateFeedbackLabelRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateFeedbackLabelRequest.Builder>
com.google.cloud.contactcenterinsights.v1.CreateFeedbackLabelRequest.Builder
All Implemented Interfaces:
CreateFeedbackLabelRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CreateFeedbackLabelRequest

public static final class CreateFeedbackLabelRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateFeedbackLabelRequest.Builder> implements CreateFeedbackLabelRequestOrBuilder
 The request for creating a feedback label.
 
Protobuf type google.cloud.contactcenterinsights.v1.CreateFeedbackLabelRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CreateFeedbackLabelRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CreateFeedbackLabelRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CreateFeedbackLabelRequest.Builder>
    • getDefaultInstanceForType

      public CreateFeedbackLabelRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CreateFeedbackLabelRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CreateFeedbackLabelRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateFeedbackLabelRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CreateFeedbackLabelRequest.Builder>
    • mergeFrom

      public CreateFeedbackLabelRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateFeedbackLabelRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The parent resource of the feedback label.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateFeedbackLabelRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource of the feedback label.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateFeedbackLabelRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      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) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      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:
      This builder for chaining.
    • setParentBytes

      public CreateFeedbackLabelRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource of the feedback label.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getFeedbackLabelId in interface CreateFeedbackLabelRequestOrBuilder
      Returns:
      The feedbackLabelId.
    • getFeedbackLabelIdBytes

      public com.google.protobuf.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];
      Specified by:
      getFeedbackLabelIdBytes in interface CreateFeedbackLabelRequestOrBuilder
      Returns:
      The bytes for feedbackLabelId.
    • setFeedbackLabelId

      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];
      Parameters:
      value - The feedbackLabelId to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setFeedbackLabelIdBytes

      public CreateFeedbackLabelRequest.Builder setFeedbackLabelIdBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for feedbackLabelId to set.
      Returns:
      This builder for chaining.
    • hasFeedbackLabel

      public boolean hasFeedbackLabel()
       Required. The feedback label to create.
       
      .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_label = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasFeedbackLabel in interface CreateFeedbackLabelRequestOrBuilder
      Returns:
      Whether the feedbackLabel field is set.
    • getFeedbackLabel

      public FeedbackLabel getFeedbackLabel()
       Required. The feedback label to create.
       
      .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_label = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFeedbackLabel in interface CreateFeedbackLabelRequestOrBuilder
      Returns:
      The feedbackLabel.
    • setFeedbackLabel

      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];
    • setFeedbackLabel

      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];
    • mergeFeedbackLabel

      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];
    • clearFeedbackLabel

      public CreateFeedbackLabelRequest.Builder clearFeedbackLabel()
       Required. The feedback label to create.
       
      .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_label = 3 [(.google.api.field_behavior) = REQUIRED];
    • getFeedbackLabelBuilder

      public FeedbackLabel.Builder getFeedbackLabelBuilder()
       Required. The feedback label to create.
       
      .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_label = 3 [(.google.api.field_behavior) = REQUIRED];
    • getFeedbackLabelOrBuilder

      public FeedbackLabelOrBuilder getFeedbackLabelOrBuilder()
       Required. The feedback label to create.
       
      .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_label = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFeedbackLabelOrBuilder in interface CreateFeedbackLabelRequestOrBuilder