Class UploadConversationMetadata.Builder

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

public static final class UploadConversationMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<UploadConversationMetadata.Builder> implements UploadConversationMetadataOrBuilder
 The metadata for an `UploadConversation` operation.
 
Protobuf type google.cloud.contactcenterinsights.v1.UploadConversationMetadata
  • 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<UploadConversationMetadata.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<UploadConversationMetadata.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<UploadConversationMetadata.Builder>
    • getDefaultInstanceForType

      public UploadConversationMetadata 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 UploadConversationMetadata buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public UploadConversationMetadata.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<UploadConversationMetadata.Builder>
      Throws:
      IOException
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface UploadConversationMetadataOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface UploadConversationMetadataOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public UploadConversationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public UploadConversationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public UploadConversationMetadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public UploadConversationMetadata.Builder clearCreateTime()
       Output only. The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface UploadConversationMetadataOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Output only. The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEndTime in interface UploadConversationMetadataOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       Output only. The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTime in interface UploadConversationMetadataOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public UploadConversationMetadata.Builder setEndTime(com.google.protobuf.Timestamp value)
       Output only. The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setEndTime

      public UploadConversationMetadata.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeEndTime

      public UploadConversationMetadata.Builder mergeEndTime(com.google.protobuf.Timestamp value)
       Output only. The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearEndTime

      public UploadConversationMetadata.Builder clearEndTime()
       Output only. The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeBuilder

      public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
       Output only. The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       Output only. The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTimeOrBuilder in interface UploadConversationMetadataOrBuilder
    • hasRequest

      public boolean hasRequest()
       Output only. The original request.
       
      .google.cloud.contactcenterinsights.v1.UploadConversationRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasRequest in interface UploadConversationMetadataOrBuilder
      Returns:
      Whether the request field is set.
    • getRequest

      public UploadConversationRequest getRequest()
       Output only. The original request.
       
      .google.cloud.contactcenterinsights.v1.UploadConversationRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRequest in interface UploadConversationMetadataOrBuilder
      Returns:
      The request.
    • setRequest

       Output only. The original request.
       
      .google.cloud.contactcenterinsights.v1.UploadConversationRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setRequest

       Output only. The original request.
       
      .google.cloud.contactcenterinsights.v1.UploadConversationRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeRequest

       Output only. The original request.
       
      .google.cloud.contactcenterinsights.v1.UploadConversationRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearRequest

      public UploadConversationMetadata.Builder clearRequest()
       Output only. The original request.
       
      .google.cloud.contactcenterinsights.v1.UploadConversationRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRequestBuilder

      public UploadConversationRequest.Builder getRequestBuilder()
       Output only. The original request.
       
      .google.cloud.contactcenterinsights.v1.UploadConversationRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRequestOrBuilder

      public UploadConversationRequestOrBuilder getRequestOrBuilder()
       Output only. The original request.
       
      .google.cloud.contactcenterinsights.v1.UploadConversationRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRequestOrBuilder in interface UploadConversationMetadataOrBuilder
    • getAnalysisOperation

      public String getAnalysisOperation()
       Output only. The operation name for a successfully created analysis
       operation, if any.
       
      string analysis_operation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAnalysisOperation in interface UploadConversationMetadataOrBuilder
      Returns:
      The analysisOperation.
    • getAnalysisOperationBytes

      public com.google.protobuf.ByteString getAnalysisOperationBytes()
       Output only. The operation name for a successfully created analysis
       operation, if any.
       
      string analysis_operation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAnalysisOperationBytes in interface UploadConversationMetadataOrBuilder
      Returns:
      The bytes for analysisOperation.
    • setAnalysisOperation

      public UploadConversationMetadata.Builder setAnalysisOperation(String value)
       Output only. The operation name for a successfully created analysis
       operation, if any.
       
      string analysis_operation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The analysisOperation to set.
      Returns:
      This builder for chaining.
    • clearAnalysisOperation

      public UploadConversationMetadata.Builder clearAnalysisOperation()
       Output only. The operation name for a successfully created analysis
       operation, if any.
       
      string analysis_operation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setAnalysisOperationBytes

      public UploadConversationMetadata.Builder setAnalysisOperationBytes(com.google.protobuf.ByteString value)
       Output only. The operation name for a successfully created analysis
       operation, if any.
       
      string analysis_operation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for analysisOperation to set.
      Returns:
      This builder for chaining.
    • hasAppliedRedactionConfig

      public boolean hasAppliedRedactionConfig()
       Output only. The redaction config applied to the uploaded conversation.
       
      .google.cloud.contactcenterinsights.v1.RedactionConfig applied_redaction_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAppliedRedactionConfig in interface UploadConversationMetadataOrBuilder
      Returns:
      Whether the appliedRedactionConfig field is set.
    • getAppliedRedactionConfig

      public RedactionConfig getAppliedRedactionConfig()
       Output only. The redaction config applied to the uploaded conversation.
       
      .google.cloud.contactcenterinsights.v1.RedactionConfig applied_redaction_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAppliedRedactionConfig in interface UploadConversationMetadataOrBuilder
      Returns:
      The appliedRedactionConfig.
    • setAppliedRedactionConfig

      public UploadConversationMetadata.Builder setAppliedRedactionConfig(RedactionConfig value)
       Output only. The redaction config applied to the uploaded conversation.
       
      .google.cloud.contactcenterinsights.v1.RedactionConfig applied_redaction_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setAppliedRedactionConfig

      public UploadConversationMetadata.Builder setAppliedRedactionConfig(RedactionConfig.Builder builderForValue)
       Output only. The redaction config applied to the uploaded conversation.
       
      .google.cloud.contactcenterinsights.v1.RedactionConfig applied_redaction_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeAppliedRedactionConfig

      public UploadConversationMetadata.Builder mergeAppliedRedactionConfig(RedactionConfig value)
       Output only. The redaction config applied to the uploaded conversation.
       
      .google.cloud.contactcenterinsights.v1.RedactionConfig applied_redaction_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearAppliedRedactionConfig

      public UploadConversationMetadata.Builder clearAppliedRedactionConfig()
       Output only. The redaction config applied to the uploaded conversation.
       
      .google.cloud.contactcenterinsights.v1.RedactionConfig applied_redaction_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getAppliedRedactionConfigBuilder

      public RedactionConfig.Builder getAppliedRedactionConfigBuilder()
       Output only. The redaction config applied to the uploaded conversation.
       
      .google.cloud.contactcenterinsights.v1.RedactionConfig applied_redaction_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getAppliedRedactionConfigOrBuilder

      public RedactionConfigOrBuilder getAppliedRedactionConfigOrBuilder()
       Output only. The redaction config applied to the uploaded conversation.
       
      .google.cloud.contactcenterinsights.v1.RedactionConfig applied_redaction_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAppliedRedactionConfigOrBuilder in interface UploadConversationMetadataOrBuilder