Interface ImportMetadataOrBuilder (2.57.0)

public interface ImportMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
TimestampOrBuilder

getFailureCount()

public abstract long getFailureCount()

Count of entries that encountered errors while processing.

int64 failure_count = 4;

Returns
Type Description
long

The failureCount.

getNotificationPubsubTopic()

public abstract 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. Format of the Pub/Sub topic is projects/{project}/topics/{topic}.

string notification_pubsub_topic = 6;

Returns
Type Description
String

The notificationPubsubTopic.

getNotificationPubsubTopicBytes()

public abstract 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. Format of the Pub/Sub topic is projects/{project}/topics/{topic}.

string notification_pubsub_topic = 6;

Returns
Type Description
ByteString

The bytes for notificationPubsubTopic.

getRequestId() (deprecated)

public abstract String getRequestId()

Deprecated. google.cloud.retail.v2.ImportMetadata.request_id is deprecated. See google/cloud/retail/v2/import_config.proto;l=336

Deprecated. This field is never set.

string request_id = 5 [deprecated = true];

Returns
Type Description
String

The requestId.

getRequestIdBytes() (deprecated)

public abstract ByteString getRequestIdBytes()

Deprecated. google.cloud.retail.v2.ImportMetadata.request_id is deprecated. See google/cloud/retail/v2/import_config.proto;l=336

Deprecated. This field is never set.

string request_id = 5 [deprecated = true];

Returns
Type Description
ByteString

The bytes for requestId.

getSuccessCount()

public abstract long getSuccessCount()

Count of entries that were processed successfully.

int64 success_count = 3;

Returns
Type Description
long

The successCount.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
boolean

Whether the updateTime field is set.