Package com.google.cloud.retail.v2
Interface ImportMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImportMetadata,ImportMetadata.Builder
@Generated
public interface ImportMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOperation create time.com.google.protobuf.TimestampOrBuilderOperation create time.longCount of entries that encountered errors while processing.Pub/Sub topic for receiving notification.com.google.protobuf.ByteStringPub/Sub topic for receiving notification.Deprecated.google.cloud.retail.v2.ImportMetadata.request_id is deprecated.com.google.protobuf.ByteStringDeprecated.google.cloud.retail.v2.ImportMetadata.request_id is deprecated.longCount of entries that were processed successfully.com.google.protobuf.TimestampOperation last update time.com.google.protobuf.TimestampOrBuilderOperation last update time.booleanOperation create time.booleanOperation last update time.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCreateTime
boolean hasCreateTime()Operation create time.
.google.protobuf.Timestamp create_time = 1;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Operation create time.
.google.protobuf.Timestamp create_time = 1;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Operation create time.
.google.protobuf.Timestamp create_time = 1; -
hasUpdateTime
boolean hasUpdateTime()Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 2;- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
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;- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
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; -
getSuccessCount
long getSuccessCount()Count of entries that were processed successfully.
int64 success_count = 3;- Returns:
- The successCount.
-
getFailureCount
long getFailureCount()Count of entries that encountered errors while processing.
int64 failure_count = 4;- Returns:
- The failureCount.
-
getRequestId
Deprecated.google.cloud.retail.v2.ImportMetadata.request_id is deprecated. See google/cloud/retail/v2/import_config.proto;l=333Deprecated. This field is never set.
string request_id = 5 [deprecated = true];- Returns:
- The requestId.
-
getRequestIdBytes
Deprecated.google.cloud.retail.v2.ImportMetadata.request_id is deprecated. See google/cloud/retail/v2/import_config.proto;l=333Deprecated. This field is never set.
string request_id = 5 [deprecated = true];- Returns:
- The bytes for requestId.
-
getNotificationPubsubTopic
String getNotificationPubsubTopic()Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a [Operation][google.longrunning.Operation]. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.string notification_pubsub_topic = 6;- Returns:
- The notificationPubsubTopic.
-
getNotificationPubsubTopicBytes
com.google.protobuf.ByteString getNotificationPubsubTopicBytes()Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a [Operation][google.longrunning.Operation]. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.string notification_pubsub_topic = 6;- Returns:
- The bytes for notificationPubsubTopic.
-