public final class ImportMetadata extends com.google.protobuf.GeneratedMessageV3 implements ImportMetadataOrBuilder
Metadata related to the progress of the Import operation. This is returned by the google.longrunning.Operation.metadata field.Protobuf type
google.cloud.retail.v2.ImportMetadata| Modifier and Type | Class and Description |
|---|---|
static class |
ImportMetadata.Builder
Metadata related to the progress of the Import operation.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
FAILURE_COUNT_FIELD_NUMBER |
static int |
NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER |
static int |
REQUEST_ID_FIELD_NUMBER |
static int |
SUCCESS_COUNT_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Operation create time.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Operation create time.
|
static ImportMetadata |
getDefaultInstance() |
ImportMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<ImportMetadata> |
getParserForType() |
String |
getRequestId()
Deprecated.
google.cloud.retail.v2.ImportMetadata.request_id is deprecated. See
google/cloud/retail/v2/import_config.proto;l=330
|
com.google.protobuf.ByteString |
getRequestIdBytes()
Deprecated.
google.cloud.retail.v2.ImportMetadata.request_id is deprecated. See
google/cloud/retail/v2/import_config.proto;l=330
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Operation last update time.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ImportMetadata.Builder |
newBuilder() |
static ImportMetadata.Builder |
newBuilder(ImportMetadata prototype) |
ImportMetadata.Builder |
newBuilderForType() |
protected ImportMetadata.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ImportMetadata |
parseDelimitedFrom(InputStream input) |
static ImportMetadata |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportMetadata |
parseFrom(byte[] data) |
static ImportMetadata |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportMetadata |
parseFrom(ByteBuffer data) |
static ImportMetadata |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportMetadata |
parseFrom(com.google.protobuf.ByteString data) |
static ImportMetadata |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportMetadata |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ImportMetadata |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportMetadata |
parseFrom(InputStream input) |
static ImportMetadata |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ImportMetadata> |
parser() |
ImportMetadata.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int SUCCESS_COUNT_FIELD_NUMBER
public static final int FAILURE_COUNT_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
public static final int NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasCreateTime()
Operation create time.
.google.protobuf.Timestamp create_time = 1;hasCreateTime in interface ImportMetadataOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Operation create time.
.google.protobuf.Timestamp create_time = 1;getCreateTime in interface ImportMetadataOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Operation create time.
.google.protobuf.Timestamp create_time = 1;getCreateTimeOrBuilder in interface ImportMetadataOrBuilderpublic boolean hasUpdateTime()
Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 2;hasUpdateTime in interface ImportMetadataOrBuilderpublic 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;getUpdateTime in interface ImportMetadataOrBuilderpublic 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;getUpdateTimeOrBuilder in interface ImportMetadataOrBuilderpublic long getSuccessCount()
Count of entries that were processed successfully.
int64 success_count = 3;getSuccessCount in interface ImportMetadataOrBuilderpublic long getFailureCount()
Count of entries that encountered errors while processing.
int64 failure_count = 4;getFailureCount in interface ImportMetadataOrBuilder@Deprecated public String getRequestId()
Deprecated. This field is never set.
string request_id = 5 [deprecated = true];getRequestId in interface ImportMetadataOrBuilder@Deprecated public com.google.protobuf.ByteString getRequestIdBytes()
Deprecated. This field is never set.
string request_id = 5 [deprecated = true];getRequestIdBytes in interface ImportMetadataOrBuilderpublic 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;getNotificationPubsubTopic in interface ImportMetadataOrBuilderpublic 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;getNotificationPubsubTopicBytes in interface ImportMetadataOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ImportMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportMetadata parseFrom(InputStream input) throws IOException
IOExceptionpublic static ImportMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportMetadata parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ImportMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ImportMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ImportMetadata.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ImportMetadata.Builder newBuilder()
public static ImportMetadata.Builder newBuilder(ImportMetadata prototype)
public ImportMetadata.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ImportMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ImportMetadata getDefaultInstance()
public static com.google.protobuf.Parser<ImportMetadata> parser()
public com.google.protobuf.Parser<ImportMetadata> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ImportMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.