1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/retail/v2/import_config.proto 18 19 package com.google.cloud.retail.v2; 20 21 public interface ImportMetadataOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.retail.v2.ImportMetadata) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Operation create time. 31 * </pre> 32 * 33 * <code>.google.protobuf.Timestamp create_time = 1;</code> 34 * 35 * @return Whether the createTime field is set. 36 */ hasCreateTime()37 boolean hasCreateTime(); 38 /** 39 * 40 * 41 * <pre> 42 * Operation create time. 43 * </pre> 44 * 45 * <code>.google.protobuf.Timestamp create_time = 1;</code> 46 * 47 * @return The createTime. 48 */ getCreateTime()49 com.google.protobuf.Timestamp getCreateTime(); 50 /** 51 * 52 * 53 * <pre> 54 * Operation create time. 55 * </pre> 56 * 57 * <code>.google.protobuf.Timestamp create_time = 1;</code> 58 */ getCreateTimeOrBuilder()59 com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); 60 61 /** 62 * 63 * 64 * <pre> 65 * Operation last update time. If the operation is done, this is also the 66 * finish time. 67 * </pre> 68 * 69 * <code>.google.protobuf.Timestamp update_time = 2;</code> 70 * 71 * @return Whether the updateTime field is set. 72 */ hasUpdateTime()73 boolean hasUpdateTime(); 74 /** 75 * 76 * 77 * <pre> 78 * Operation last update time. If the operation is done, this is also the 79 * finish time. 80 * </pre> 81 * 82 * <code>.google.protobuf.Timestamp update_time = 2;</code> 83 * 84 * @return The updateTime. 85 */ getUpdateTime()86 com.google.protobuf.Timestamp getUpdateTime(); 87 /** 88 * 89 * 90 * <pre> 91 * Operation last update time. If the operation is done, this is also the 92 * finish time. 93 * </pre> 94 * 95 * <code>.google.protobuf.Timestamp update_time = 2;</code> 96 */ getUpdateTimeOrBuilder()97 com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); 98 99 /** 100 * 101 * 102 * <pre> 103 * Count of entries that were processed successfully. 104 * </pre> 105 * 106 * <code>int64 success_count = 3;</code> 107 * 108 * @return The successCount. 109 */ getSuccessCount()110 long getSuccessCount(); 111 112 /** 113 * 114 * 115 * <pre> 116 * Count of entries that encountered errors while processing. 117 * </pre> 118 * 119 * <code>int64 failure_count = 4;</code> 120 * 121 * @return The failureCount. 122 */ getFailureCount()123 long getFailureCount(); 124 125 /** 126 * 127 * 128 * <pre> 129 * Deprecated. This field is never set. 130 * </pre> 131 * 132 * <code>string request_id = 5 [deprecated = true];</code> 133 * 134 * @deprecated google.cloud.retail.v2.ImportMetadata.request_id is deprecated. See 135 * google/cloud/retail/v2/import_config.proto;l=330 136 * @return The requestId. 137 */ 138 @java.lang.Deprecated getRequestId()139 java.lang.String getRequestId(); 140 /** 141 * 142 * 143 * <pre> 144 * Deprecated. This field is never set. 145 * </pre> 146 * 147 * <code>string request_id = 5 [deprecated = true];</code> 148 * 149 * @deprecated google.cloud.retail.v2.ImportMetadata.request_id is deprecated. See 150 * google/cloud/retail/v2/import_config.proto;l=330 151 * @return The bytes for requestId. 152 */ 153 @java.lang.Deprecated getRequestIdBytes()154 com.google.protobuf.ByteString getRequestIdBytes(); 155 156 /** 157 * 158 * 159 * <pre> 160 * Pub/Sub topic for receiving notification. If this field is set, 161 * when the import is finished, a notification is sent to 162 * specified Pub/Sub topic. The message data is JSON string of a 163 * [Operation][google.longrunning.Operation]. 164 * Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`. 165 * </pre> 166 * 167 * <code>string notification_pubsub_topic = 6;</code> 168 * 169 * @return The notificationPubsubTopic. 170 */ getNotificationPubsubTopic()171 java.lang.String getNotificationPubsubTopic(); 172 /** 173 * 174 * 175 * <pre> 176 * Pub/Sub topic for receiving notification. If this field is set, 177 * when the import is finished, a notification is sent to 178 * specified Pub/Sub topic. The message data is JSON string of a 179 * [Operation][google.longrunning.Operation]. 180 * Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`. 181 * </pre> 182 * 183 * <code>string notification_pubsub_topic = 6;</code> 184 * 185 * @return The bytes for notificationPubsubTopic. 186 */ getNotificationPubsubTopicBytes()187 com.google.protobuf.ByteString getNotificationPubsubTopicBytes(); 188 } 189