Class ImportMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportMetadata.Builder>
com.google.cloud.recommendationengine.v1beta1.ImportMetadata.Builder
All Implemented Interfaces:
ImportMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ImportMetadata

public static final class ImportMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImportMetadata.Builder> implements ImportMetadataOrBuilder
 Metadata related to the progress of the Import operation. This will be
 returned by the google.longrunning.Operation.metadata field.
 
Protobuf type google.cloud.recommendationengine.v1beta1.ImportMetadata
  • 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<ImportMetadata.Builder>
    • clear

      public ImportMetadata.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<ImportMetadata.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<ImportMetadata.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ImportMetadata.Builder mergeFrom(ImportMetadata other)
    • isInitialized

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

      public ImportMetadata.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<ImportMetadata.Builder>
      Throws:
      IOException
    • getOperationName

      public String getOperationName()
       Name of the operation.
       
      string operation_name = 5;
      Specified by:
      getOperationName in interface ImportMetadataOrBuilder
      Returns:
      The operationName.
    • getOperationNameBytes

      public com.google.protobuf.ByteString getOperationNameBytes()
       Name of the operation.
       
      string operation_name = 5;
      Specified by:
      getOperationNameBytes in interface ImportMetadataOrBuilder
      Returns:
      The bytes for operationName.
    • setOperationName

      public ImportMetadata.Builder setOperationName(String value)
       Name of the operation.
       
      string operation_name = 5;
      Parameters:
      value - The operationName to set.
      Returns:
      This builder for chaining.
    • clearOperationName

      public ImportMetadata.Builder clearOperationName()
       Name of the operation.
       
      string operation_name = 5;
      Returns:
      This builder for chaining.
    • setOperationNameBytes

      public ImportMetadata.Builder setOperationNameBytes(com.google.protobuf.ByteString value)
       Name of the operation.
       
      string operation_name = 5;
      Parameters:
      value - The bytes for operationName to set.
      Returns:
      This builder for chaining.
    • getRequestId

      public String getRequestId()
       Id of the request / operation. This is parroting back the requestId that
       was passed in the request.
       
      string request_id = 3;
      Specified by:
      getRequestId in interface ImportMetadataOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       Id of the request / operation. This is parroting back the requestId that
       was passed in the request.
       
      string request_id = 3;
      Specified by:
      getRequestIdBytes in interface ImportMetadataOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public ImportMetadata.Builder setRequestId(String value)
       Id of the request / operation. This is parroting back the requestId that
       was passed in the request.
       
      string request_id = 3;
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public ImportMetadata.Builder clearRequestId()
       Id of the request / operation. This is parroting back the requestId that
       was passed in the request.
       
      string request_id = 3;
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public ImportMetadata.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       Id of the request / operation. This is parroting back the requestId that
       was passed in the request.
       
      string request_id = 3;
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

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

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

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

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

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

      public ImportMetadata.Builder clearCreateTime()
       Operation create time.
       
      .google.protobuf.Timestamp create_time = 4;
    • getCreateTimeBuilder

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

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Operation create time.
       
      .google.protobuf.Timestamp create_time = 4;
      Specified by:
      getCreateTimeOrBuilder in interface ImportMetadataOrBuilder
    • getSuccessCount

      public long getSuccessCount()
       Count of entries that were processed successfully.
       
      int64 success_count = 1;
      Specified by:
      getSuccessCount in interface ImportMetadataOrBuilder
      Returns:
      The successCount.
    • setSuccessCount

      public ImportMetadata.Builder setSuccessCount(long value)
       Count of entries that were processed successfully.
       
      int64 success_count = 1;
      Parameters:
      value - The successCount to set.
      Returns:
      This builder for chaining.
    • clearSuccessCount

      public ImportMetadata.Builder clearSuccessCount()
       Count of entries that were processed successfully.
       
      int64 success_count = 1;
      Returns:
      This builder for chaining.
    • getFailureCount

      public long getFailureCount()
       Count of entries that encountered errors while processing.
       
      int64 failure_count = 2;
      Specified by:
      getFailureCount in interface ImportMetadataOrBuilder
      Returns:
      The failureCount.
    • setFailureCount

      public ImportMetadata.Builder setFailureCount(long value)
       Count of entries that encountered errors while processing.
       
      int64 failure_count = 2;
      Parameters:
      value - The failureCount to set.
      Returns:
      This builder for chaining.
    • clearFailureCount

      public ImportMetadata.Builder clearFailureCount()
       Count of entries that encountered errors while processing.
       
      int64 failure_count = 2;
      Returns:
      This builder for chaining.
    • hasUpdateTime

      public boolean hasUpdateTime()
       Operation last update time. If the operation is done, this is also the
       finish time.
       
      .google.protobuf.Timestamp update_time = 6;
      Specified by:
      hasUpdateTime in interface ImportMetadataOrBuilder
      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 = 6;
      Specified by:
      getUpdateTime in interface ImportMetadataOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public ImportMetadata.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 = 6;
    • setUpdateTime

      public ImportMetadata.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 = 6;
    • mergeUpdateTime

      public ImportMetadata.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 = 6;
    • clearUpdateTime

      public ImportMetadata.Builder clearUpdateTime()
       Operation last update time. If the operation is done, this is also the
       finish time.
       
      .google.protobuf.Timestamp update_time = 6;
    • 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 = 6;
    • 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 = 6;
      Specified by:
      getUpdateTimeOrBuilder in interface ImportMetadataOrBuilder