public final class ProductSet extends GeneratedMessageV3 implements ProductSetOrBuilder
A ProductSet contains Products. A ProductSet can contain a maximum of 1 million reference images. If the limit is exceeded, periodic indexing will fail.Protobuf type
google.cloud.vision.v1p3beta1.ProductSet
Modifier and Type | Class and Description |
---|---|
static class |
ProductSet.Builder
A ProductSet contains Products.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
INDEX_ERROR_FIELD_NUMBER |
static int |
INDEX_TIME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int INDEX_TIME_FIELD_NUMBER
public static final int INDEX_ERROR_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getName()
The resource name of the ProductSet. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`. This field is ignored when creating a ProductSet.
string name = 1;
getName
in interface ProductSetOrBuilder
public ByteString getNameBytes()
The resource name of the ProductSet. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`. This field is ignored when creating a ProductSet.
string name = 1;
getNameBytes
in interface ProductSetOrBuilder
public String getDisplayName()
The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.
string display_name = 2;
getDisplayName
in interface ProductSetOrBuilder
public ByteString getDisplayNameBytes()
The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.
string display_name = 2;
getDisplayNameBytes
in interface ProductSetOrBuilder
public boolean hasIndexTime()
Output only. The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this field is 0. This field is ignored when creating a ProductSet.
.google.protobuf.Timestamp index_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasIndexTime
in interface ProductSetOrBuilder
public Timestamp getIndexTime()
Output only. The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this field is 0. This field is ignored when creating a ProductSet.
.google.protobuf.Timestamp index_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getIndexTime
in interface ProductSetOrBuilder
public TimestampOrBuilder getIndexTimeOrBuilder()
Output only. The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this field is 0. This field is ignored when creating a ProductSet.
.google.protobuf.Timestamp index_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getIndexTimeOrBuilder
in interface ProductSetOrBuilder
public boolean hasIndexError()
Output only. If there was an error with indexing the product set, the field is populated. This field is ignored when creating a ProductSet.
.google.rpc.Status index_error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasIndexError
in interface ProductSetOrBuilder
public com.google.rpc.Status getIndexError()
Output only. If there was an error with indexing the product set, the field is populated. This field is ignored when creating a ProductSet.
.google.rpc.Status index_error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getIndexError
in interface ProductSetOrBuilder
public com.google.rpc.StatusOrBuilder getIndexErrorOrBuilder()
Output only. If there was an error with indexing the product set, the field is populated. This field is ignored when creating a ProductSet.
.google.rpc.Status index_error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getIndexErrorOrBuilder
in interface ProductSetOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static ProductSet parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ProductSet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ProductSet parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ProductSet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ProductSet parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ProductSet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ProductSet parseFrom(InputStream input) throws IOException
IOException
public static ProductSet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ProductSet parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ProductSet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ProductSet parseFrom(CodedInputStream input) throws IOException
IOException
public static ProductSet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ProductSet.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static ProductSet.Builder newBuilder()
public static ProductSet.Builder newBuilder(ProductSet prototype)
public ProductSet.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected ProductSet.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static ProductSet getDefaultInstance()
public static Parser<ProductSet> parser()
public Parser<ProductSet> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public ProductSet getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.