Package com.google.cloud.visionai.v1
Interface CollectionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Collection,Collection.Builder
@Generated
public interface CollectionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.getName()Output only.com.google.protobuf.ByteStringOutput 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()Output only. Resource name of the collection. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. Resource name of the collection. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()Optional. The collection name for displaying. The name can be up to 256 characters long.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Optional. The collection name for displaying. The name can be up to 256 characters long.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for displayName.
-
getDescription
String getDescription()Optional. Description of the collection. Can be up to 25000 characters long.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. Description of the collection. Can be up to 25000 characters long.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for description.
-