Package com.google.cloud.retail.v2beta
Interface ImportMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImportMetadata
,ImportMetadata.Builder
public interface ImportMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getCreateTime()
Operation create time.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Operation create time.long
getFailureCount()
Count of entries that encountered errors while processing.String
getNotificationPubsubTopic()
Pub/Sub topic for receiving notification.com.google.protobuf.ByteString
getNotificationPubsubTopicBytes()
Pub/Sub topic for receiving notification.String
getRequestId()
Deprecated.google.cloud.retail.v2beta.ImportMetadata.request_id is deprecated.com.google.protobuf.ByteString
getRequestIdBytes()
Deprecated.google.cloud.retail.v2beta.ImportMetadata.request_id is deprecated.long
getSuccessCount()
Count of entries that were processed successfully.com.google.protobuf.Timestamp
getUpdateTime()
Operation last update time.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Operation last update time.boolean
hasCreateTime()
Operation create time.boolean
hasUpdateTime()
Operation last update time.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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 String getRequestId()
Deprecated.google.cloud.retail.v2beta.ImportMetadata.request_id is deprecated. See google/cloud/retail/v2beta/import_config.proto;l=330Deprecated. This field is never set.
string request_id = 5 [deprecated = true];
- Returns:
- The requestId.
-
getRequestIdBytes
@Deprecated com.google.protobuf.ByteString getRequestIdBytes()
Deprecated.google.cloud.retail.v2beta.ImportMetadata.request_id is deprecated. See google/cloud/retail/v2beta/import_config.proto;l=330Deprecated. 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.
-
-