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
public interface ProductSetOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDisplayName()
The user-provided name for this ProductSet.com.google.protobuf.ByteString
getDisplayNameBytes()
The user-provided name for this ProductSet.com.google.rpc.Status
getIndexError()
Output only.com.google.rpc.StatusOrBuilder
getIndexErrorOrBuilder()
Output only.com.google.protobuf.Timestamp
getIndexTime()
Output only.com.google.protobuf.TimestampOrBuilder
getIndexTimeOrBuilder()
Output only.String
getName()
The resource name of the ProductSet.com.google.protobuf.ByteString
getNameBytes()
The resource name of the ProductSet.boolean
hasIndexError()
Output only.boolean
hasIndexTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
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];
- Returns:
- The indexError.
-
getIndexErrorOrBuilder
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];
-
-