
com.google.cloud.visionai.v1.CollectionItemOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/visionai/v1/warehouse.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.visionai.v1;
public interface CollectionItemOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.visionai.v1.CollectionItem)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. The collection name that this item belongs to. Format:
* `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`
*
*
*
* string collection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The collection.
*/
java.lang.String getCollection();
/**
*
*
*
* Required. The collection name that this item belongs to. Format:
* `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`
*
*
*
* string collection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for collection.
*/
com.google.protobuf.ByteString getCollectionBytes();
/**
*
*
*
* Required. The type of item.
*
*
*
* .google.cloud.visionai.v1.CollectionItem.Type type = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
*
*
*
* Required. The type of item.
*
*
*
* .google.cloud.visionai.v1.CollectionItem.Type type = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The type.
*/
com.google.cloud.visionai.v1.CollectionItem.Type getType();
/**
*
*
*
* Required. The name of the CollectionItem. Its format depends on the `type`
* above. For ASSET:
* `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}`
*
*
* string item_resource = 3 [(.google.api.field_behavior) = REQUIRED];
*
* @return The itemResource.
*/
java.lang.String getItemResource();
/**
*
*
*
* Required. The name of the CollectionItem. Its format depends on the `type`
* above. For ASSET:
* `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}`
*
*
* string item_resource = 3 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for itemResource.
*/
com.google.protobuf.ByteString getItemResourceBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy