Package com.google.cloud.vision.v1
Interface ProductSetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProductSet,ProductSet.Builder
@Generated
public interface ProductSetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe user-provided name for this ProductSet.com.google.protobuf.ByteStringThe user-provided name for this ProductSet.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getName()The resource name of the ProductSet.com.google.protobuf.ByteStringThe resource name of the ProductSet.booleanOutput only.booleanOutput only.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
-
getName
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;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.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;- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.
string display_name = 2;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.
string display_name = 2;- Returns:
- The bytes for displayName.
-
hasIndexTime
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 timestamp is the default value "1970-01-01T00:00:00Z". This field is ignored when creating a ProductSet.
.google.protobuf.Timestamp index_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the indexTime field is set.
-
getIndexTime
com.google.protobuf.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 timestamp is the default value "1970-01-01T00:00:00Z". This field is ignored when creating a ProductSet.
.google.protobuf.Timestamp index_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The indexTime.
-
getIndexTimeOrBuilder
com.google.protobuf.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 timestamp is the default value "1970-01-01T00:00:00Z". This field is ignored when creating a ProductSet.
.google.protobuf.Timestamp index_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasIndexError
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];- Returns:
- Whether the indexError field is set.
-
getIndexError
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];- Returns:
- The indexError.
-
getIndexErrorOrBuilder
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];
-