Class ImportCompletionSuggestionsMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportCompletionSuggestionsMetadata.Builder>
com.google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsMetadata.Builder
All Implemented Interfaces:
ImportCompletionSuggestionsMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ImportCompletionSuggestionsMetadata

public static final class ImportCompletionSuggestionsMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImportCompletionSuggestionsMetadata.Builder> implements ImportCompletionSuggestionsMetadataOrBuilder
 Metadata related to the progress of the ImportCompletionSuggestions
 operation. This will be returned by the google.longrunning.Operation.metadata
 field.
 
Protobuf type google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsMetadata
  • 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<ImportCompletionSuggestionsMetadata.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<ImportCompletionSuggestionsMetadata.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<ImportCompletionSuggestionsMetadata.Builder>
    • getDefaultInstanceForType

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

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

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

      public boolean hasCreateTime()
       Operation create time.
       
      .google.protobuf.Timestamp create_time = 1;
      Specified by:
      hasCreateTime in interface ImportCompletionSuggestionsMetadataOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Operation create time.
       
      .google.protobuf.Timestamp create_time = 1;
      Specified by:
      getCreateTime in interface ImportCompletionSuggestionsMetadataOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public ImportCompletionSuggestionsMetadata.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Operation create time.
       
      .google.protobuf.Timestamp create_time = 1;
    • setCreateTime

      public ImportCompletionSuggestionsMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Operation create time.
       
      .google.protobuf.Timestamp create_time = 1;
    • mergeCreateTime

      public ImportCompletionSuggestionsMetadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Operation create time.
       
      .google.protobuf.Timestamp create_time = 1;
    • clearCreateTime

       Operation create time.
       
      .google.protobuf.Timestamp create_time = 1;
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Operation create time.
       
      .google.protobuf.Timestamp create_time = 1;
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Operation create time.
       
      .google.protobuf.Timestamp create_time = 1;
      Specified by:
      getCreateTimeOrBuilder in interface ImportCompletionSuggestionsMetadataOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Operation last update time. If the operation is done, this is also the
       finish time.
       
      .google.protobuf.Timestamp update_time = 2;
      Specified by:
      hasUpdateTime in interface ImportCompletionSuggestionsMetadataOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Operation last update time. If the operation is done, this is also the
       finish time.
       
      .google.protobuf.Timestamp update_time = 2;
      Specified by:
      getUpdateTime in interface ImportCompletionSuggestionsMetadataOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public ImportCompletionSuggestionsMetadata.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Operation last update time. If the operation is done, this is also the
       finish time.
       
      .google.protobuf.Timestamp update_time = 2;
    • setUpdateTime

      public ImportCompletionSuggestionsMetadata.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Operation last update time. If the operation is done, this is also the
       finish time.
       
      .google.protobuf.Timestamp update_time = 2;
    • mergeUpdateTime

      public ImportCompletionSuggestionsMetadata.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Operation last update time. If the operation is done, this is also the
       finish time.
       
      .google.protobuf.Timestamp update_time = 2;
    • clearUpdateTime

       Operation last update time. If the operation is done, this is also the
       finish time.
       
      .google.protobuf.Timestamp update_time = 2;
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Operation last update time. If the operation is done, this is also the
       finish time.
       
      .google.protobuf.Timestamp update_time = 2;
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Operation last update time. If the operation is done, this is also the
       finish time.
       
      .google.protobuf.Timestamp update_time = 2;
      Specified by:
      getUpdateTimeOrBuilder in interface ImportCompletionSuggestionsMetadataOrBuilder
    • getSuccessCount

      public long getSuccessCount()
       Count of
       [CompletionSuggestion][google.cloud.discoveryengine.v1beta.CompletionSuggestion]s
       successfully imported.
       
      int64 success_count = 3;
      Specified by:
      getSuccessCount in interface ImportCompletionSuggestionsMetadataOrBuilder
      Returns:
      The successCount.
    • setSuccessCount

      public ImportCompletionSuggestionsMetadata.Builder setSuccessCount(long value)
       Count of
       [CompletionSuggestion][google.cloud.discoveryengine.v1beta.CompletionSuggestion]s
       successfully imported.
       
      int64 success_count = 3;
      Parameters:
      value - The successCount to set.
      Returns:
      This builder for chaining.
    • clearSuccessCount

      public ImportCompletionSuggestionsMetadata.Builder clearSuccessCount()
       Count of
       [CompletionSuggestion][google.cloud.discoveryengine.v1beta.CompletionSuggestion]s
       successfully imported.
       
      int64 success_count = 3;
      Returns:
      This builder for chaining.
    • getFailureCount

      public long getFailureCount()
       Count of
       [CompletionSuggestion][google.cloud.discoveryengine.v1beta.CompletionSuggestion]s
       that failed to be imported.
       
      int64 failure_count = 4;
      Specified by:
      getFailureCount in interface ImportCompletionSuggestionsMetadataOrBuilder
      Returns:
      The failureCount.
    • setFailureCount

      public ImportCompletionSuggestionsMetadata.Builder setFailureCount(long value)
       Count of
       [CompletionSuggestion][google.cloud.discoveryengine.v1beta.CompletionSuggestion]s
       that failed to be imported.
       
      int64 failure_count = 4;
      Parameters:
      value - The failureCount to set.
      Returns:
      This builder for chaining.
    • clearFailureCount

      public ImportCompletionSuggestionsMetadata.Builder clearFailureCount()
       Count of
       [CompletionSuggestion][google.cloud.discoveryengine.v1beta.CompletionSuggestion]s
       that failed to be imported.
       
      int64 failure_count = 4;
      Returns:
      This builder for chaining.