Class BulkAnalyzeConversationsMetadata.Builder

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

public static final class BulkAnalyzeConversationsMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<BulkAnalyzeConversationsMetadata.Builder> implements BulkAnalyzeConversationsMetadataOrBuilder
 The metadata for a bulk analyze conversations operation.
 
Protobuf type google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata
  • 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<BulkAnalyzeConversationsMetadata.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<BulkAnalyzeConversationsMetadata.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<BulkAnalyzeConversationsMetadata.Builder>
    • getDefaultInstanceForType

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

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

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

      public boolean hasCreateTime()
       The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1;
      Specified by:
      hasCreateTime in interface BulkAnalyzeConversationsMetadataOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1;
      Specified by:
      getCreateTime in interface BulkAnalyzeConversationsMetadataOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public BulkAnalyzeConversationsMetadata.Builder setCreateTime(com.google.protobuf.Timestamp value)
       The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1;
    • setCreateTime

      public BulkAnalyzeConversationsMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1;
    • mergeCreateTime

      public BulkAnalyzeConversationsMetadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1;
    • clearCreateTime

      public BulkAnalyzeConversationsMetadata.Builder clearCreateTime()
       The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1;
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1;
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1;
      Specified by:
      getCreateTimeOrBuilder in interface BulkAnalyzeConversationsMetadataOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2;
      Specified by:
      hasEndTime in interface BulkAnalyzeConversationsMetadataOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2;
      Specified by:
      getEndTime in interface BulkAnalyzeConversationsMetadataOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public BulkAnalyzeConversationsMetadata.Builder setEndTime(com.google.protobuf.Timestamp value)
       The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2;
    • setEndTime

      public BulkAnalyzeConversationsMetadata.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2;
    • mergeEndTime

      public BulkAnalyzeConversationsMetadata.Builder mergeEndTime(com.google.protobuf.Timestamp value)
       The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2;
    • clearEndTime

       The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2;
    • getEndTimeBuilder

      public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
       The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2;
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2;
      Specified by:
      getEndTimeOrBuilder in interface BulkAnalyzeConversationsMetadataOrBuilder
    • hasRequest

      public boolean hasRequest()
       The original request for bulk analyze.
       
      .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
      Specified by:
      hasRequest in interface BulkAnalyzeConversationsMetadataOrBuilder
      Returns:
      Whether the request field is set.
    • getRequest

      public BulkAnalyzeConversationsRequest getRequest()
       The original request for bulk analyze.
       
      .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
      Specified by:
      getRequest in interface BulkAnalyzeConversationsMetadataOrBuilder
      Returns:
      The request.
    • setRequest

       The original request for bulk analyze.
       
      .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
    • setRequest

       The original request for bulk analyze.
       
      .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
    • mergeRequest

       The original request for bulk analyze.
       
      .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
    • clearRequest

       The original request for bulk analyze.
       
      .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
    • getRequestBuilder

      public BulkAnalyzeConversationsRequest.Builder getRequestBuilder()
       The original request for bulk analyze.
       
      .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
    • getRequestOrBuilder

      public BulkAnalyzeConversationsRequestOrBuilder getRequestOrBuilder()
       The original request for bulk analyze.
       
      .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
      Specified by:
      getRequestOrBuilder in interface BulkAnalyzeConversationsMetadataOrBuilder
    • getCompletedAnalysesCount

      public int getCompletedAnalysesCount()
       The number of requested analyses that have completed successfully so far.
       
      int32 completed_analyses_count = 4;
      Specified by:
      getCompletedAnalysesCount in interface BulkAnalyzeConversationsMetadataOrBuilder
      Returns:
      The completedAnalysesCount.
    • setCompletedAnalysesCount

      public BulkAnalyzeConversationsMetadata.Builder setCompletedAnalysesCount(int value)
       The number of requested analyses that have completed successfully so far.
       
      int32 completed_analyses_count = 4;
      Parameters:
      value - The completedAnalysesCount to set.
      Returns:
      This builder for chaining.
    • clearCompletedAnalysesCount

      public BulkAnalyzeConversationsMetadata.Builder clearCompletedAnalysesCount()
       The number of requested analyses that have completed successfully so far.
       
      int32 completed_analyses_count = 4;
      Returns:
      This builder for chaining.
    • getFailedAnalysesCount

      public int getFailedAnalysesCount()
       The number of requested analyses that have failed so far.
       
      int32 failed_analyses_count = 5;
      Specified by:
      getFailedAnalysesCount in interface BulkAnalyzeConversationsMetadataOrBuilder
      Returns:
      The failedAnalysesCount.
    • setFailedAnalysesCount

      public BulkAnalyzeConversationsMetadata.Builder setFailedAnalysesCount(int value)
       The number of requested analyses that have failed so far.
       
      int32 failed_analyses_count = 5;
      Parameters:
      value - The failedAnalysesCount to set.
      Returns:
      This builder for chaining.
    • clearFailedAnalysesCount

      public BulkAnalyzeConversationsMetadata.Builder clearFailedAnalysesCount()
       The number of requested analyses that have failed so far.
       
      int32 failed_analyses_count = 5;
      Returns:
      This builder for chaining.
    • getTotalRequestedAnalysesCount

      public int getTotalRequestedAnalysesCount()
       Total number of analyses requested. Computed by the number of conversations
       returned by `filter` multiplied by `analysis_percentage` in the request.
       
      int32 total_requested_analyses_count = 6;
      Specified by:
      getTotalRequestedAnalysesCount in interface BulkAnalyzeConversationsMetadataOrBuilder
      Returns:
      The totalRequestedAnalysesCount.
    • setTotalRequestedAnalysesCount

      public BulkAnalyzeConversationsMetadata.Builder setTotalRequestedAnalysesCount(int value)
       Total number of analyses requested. Computed by the number of conversations
       returned by `filter` multiplied by `analysis_percentage` in the request.
       
      int32 total_requested_analyses_count = 6;
      Parameters:
      value - The totalRequestedAnalysesCount to set.
      Returns:
      This builder for chaining.
    • clearTotalRequestedAnalysesCount

      public BulkAnalyzeConversationsMetadata.Builder clearTotalRequestedAnalysesCount()
       Total number of analyses requested. Computed by the number of conversations
       returned by `filter` multiplied by `analysis_percentage` in the request.
       
      int32 total_requested_analyses_count = 6;
      Returns:
      This builder for chaining.
    • getPartialErrorsList

      public List<Status> getPartialErrorsList()
       Output only. Partial errors during bulk analyze operation that might cause
       the operation output to be incomplete.
       
      repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartialErrorsList in interface BulkAnalyzeConversationsMetadataOrBuilder
    • getPartialErrorsCount

      public int getPartialErrorsCount()
       Output only. Partial errors during bulk analyze operation that might cause
       the operation output to be incomplete.
       
      repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartialErrorsCount in interface BulkAnalyzeConversationsMetadataOrBuilder
    • getPartialErrors

      public Status getPartialErrors(int index)
       Output only. Partial errors during bulk analyze operation that might cause
       the operation output to be incomplete.
       
      repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartialErrors in interface BulkAnalyzeConversationsMetadataOrBuilder
    • setPartialErrors

      public BulkAnalyzeConversationsMetadata.Builder setPartialErrors(int index, Status value)
       Output only. Partial errors during bulk analyze operation that might cause
       the operation output to be incomplete.
       
      repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPartialErrors

      public BulkAnalyzeConversationsMetadata.Builder setPartialErrors(int index, Status.Builder builderForValue)
       Output only. Partial errors during bulk analyze operation that might cause
       the operation output to be incomplete.
       
      repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPartialErrors

      public BulkAnalyzeConversationsMetadata.Builder addPartialErrors(Status value)
       Output only. Partial errors during bulk analyze operation that might cause
       the operation output to be incomplete.
       
      repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPartialErrors

      public BulkAnalyzeConversationsMetadata.Builder addPartialErrors(int index, Status value)
       Output only. Partial errors during bulk analyze operation that might cause
       the operation output to be incomplete.
       
      repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPartialErrors

      public BulkAnalyzeConversationsMetadata.Builder addPartialErrors(Status.Builder builderForValue)
       Output only. Partial errors during bulk analyze operation that might cause
       the operation output to be incomplete.
       
      repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPartialErrors

      public BulkAnalyzeConversationsMetadata.Builder addPartialErrors(int index, Status.Builder builderForValue)
       Output only. Partial errors during bulk analyze operation that might cause
       the operation output to be incomplete.
       
      repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllPartialErrors

      public BulkAnalyzeConversationsMetadata.Builder addAllPartialErrors(Iterable<? extends Status> values)
       Output only. Partial errors during bulk analyze operation that might cause
       the operation output to be incomplete.
       
      repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPartialErrors

      public BulkAnalyzeConversationsMetadata.Builder clearPartialErrors()
       Output only. Partial errors during bulk analyze operation that might cause
       the operation output to be incomplete.
       
      repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removePartialErrors

      public BulkAnalyzeConversationsMetadata.Builder removePartialErrors(int index)
       Output only. Partial errors during bulk analyze operation that might cause
       the operation output to be incomplete.
       
      repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPartialErrorsBuilder

      public Status.Builder getPartialErrorsBuilder(int index)
       Output only. Partial errors during bulk analyze operation that might cause
       the operation output to be incomplete.
       
      repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPartialErrorsOrBuilder

      public StatusOrBuilder getPartialErrorsOrBuilder(int index)
       Output only. Partial errors during bulk analyze operation that might cause
       the operation output to be incomplete.
       
      repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartialErrorsOrBuilder in interface BulkAnalyzeConversationsMetadataOrBuilder
    • getPartialErrorsOrBuilderList

      public List<? extends StatusOrBuilder> getPartialErrorsOrBuilderList()
       Output only. Partial errors during bulk analyze operation that might cause
       the operation output to be incomplete.
       
      repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartialErrorsOrBuilderList in interface BulkAnalyzeConversationsMetadataOrBuilder
    • addPartialErrorsBuilder

      public Status.Builder addPartialErrorsBuilder()
       Output only. Partial errors during bulk analyze operation that might cause
       the operation output to be incomplete.
       
      repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPartialErrorsBuilder

      public Status.Builder addPartialErrorsBuilder(int index)
       Output only. Partial errors during bulk analyze operation that might cause
       the operation output to be incomplete.
       
      repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPartialErrorsBuilderList

      public List<Status.Builder> getPartialErrorsBuilderList()
       Output only. Partial errors during bulk analyze operation that might cause
       the operation output to be incomplete.
       
      repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];