Class GetConversationRequest.Builder

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

public static final class GetConversationRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetConversationRequest.Builder> implements GetConversationRequestOrBuilder
 The request to get a conversation.
 
Protobuf type google.cloud.contactcenterinsights.v1.GetConversationRequest
  • 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<GetConversationRequest.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<GetConversationRequest.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<GetConversationRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public GetConversationRequest.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<GetConversationRequest.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<GetConversationRequest.Builder>
    • mergeFrom

      public GetConversationRequest.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<GetConversationRequest.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. The name of the conversation to get.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface GetConversationRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The name of the conversation to get.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface GetConversationRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public GetConversationRequest.Builder setName(String value)
       Required. The name of the conversation to get.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public GetConversationRequest.Builder clearName()
       Required. The name of the conversation to get.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public GetConversationRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The name of the conversation to get.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getViewValue

      public int getViewValue()
       The level of details of the conversation. Default is `FULL`.
       
      .google.cloud.contactcenterinsights.v1.ConversationView view = 2;
      Specified by:
      getViewValue in interface GetConversationRequestOrBuilder
      Returns:
      The enum numeric value on the wire for view.
    • setViewValue

      public GetConversationRequest.Builder setViewValue(int value)
       The level of details of the conversation. Default is `FULL`.
       
      .google.cloud.contactcenterinsights.v1.ConversationView view = 2;
      Parameters:
      value - The enum numeric value on the wire for view to set.
      Returns:
      This builder for chaining.
    • getView

      public ConversationView getView()
       The level of details of the conversation. Default is `FULL`.
       
      .google.cloud.contactcenterinsights.v1.ConversationView view = 2;
      Specified by:
      getView in interface GetConversationRequestOrBuilder
      Returns:
      The view.
    • setView

       The level of details of the conversation. Default is `FULL`.
       
      .google.cloud.contactcenterinsights.v1.ConversationView view = 2;
      Parameters:
      value - The view to set.
      Returns:
      This builder for chaining.
    • clearView

      public GetConversationRequest.Builder clearView()
       The level of details of the conversation. Default is `FULL`.
       
      .google.cloud.contactcenterinsights.v1.ConversationView view = 2;
      Returns:
      This builder for chaining.