
com.google.cloud.visionai.v1.UpdateCollectionRequestOrBuilder 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 UpdateCollectionRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.visionai.v1.UpdateCollectionRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. The collection to update.
*
* The collection's `name` field is used to identify the collection to be
* updated. Format:
* `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`
*
*
*
* .google.cloud.visionai.v1.Collection collection = 1 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the collection field is set.
*/
boolean hasCollection();
/**
*
*
*
* Required. The collection to update.
*
* The collection's `name` field is used to identify the collection to be
* updated. Format:
* `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`
*
*
*
* .google.cloud.visionai.v1.Collection collection = 1 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The collection.
*/
com.google.cloud.visionai.v1.Collection getCollection();
/**
*
*
*
* Required. The collection to update.
*
* The collection's `name` field is used to identify the collection to be
* updated. Format:
* `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`
*
*
*
* .google.cloud.visionai.v1.Collection collection = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.cloud.visionai.v1.CollectionOrBuilder getCollectionOrBuilder();
/**
*
*
*
* The list of fields to be updated.
* - Unset `update_mask` or set `update_mask` to be a single "*" only will
* update all updatable fields with the value provided in `collection`.
* - To update `display_name` value to empty string, set it in the
* `collection`
* to empty string, and set `update_mask` with "display_name". Same applies
* to other updatable string fields in the `collection`.
*
*
* .google.protobuf.FieldMask update_mask = 2;
*
* @return Whether the updateMask field is set.
*/
boolean hasUpdateMask();
/**
*
*
*
* The list of fields to be updated.
* - Unset `update_mask` or set `update_mask` to be a single "*" only will
* update all updatable fields with the value provided in `collection`.
* - To update `display_name` value to empty string, set it in the
* `collection`
* to empty string, and set `update_mask` with "display_name". Same applies
* to other updatable string fields in the `collection`.
*
*
* .google.protobuf.FieldMask update_mask = 2;
*
* @return The updateMask.
*/
com.google.protobuf.FieldMask getUpdateMask();
/**
*
*
*
* The list of fields to be updated.
* - Unset `update_mask` or set `update_mask` to be a single "*" only will
* update all updatable fields with the value provided in `collection`.
* - To update `display_name` value to empty string, set it in the
* `collection`
* to empty string, and set `update_mask` with "display_name". Same applies
* to other updatable string fields in the `collection`.
*
*
* .google.protobuf.FieldMask update_mask = 2;
*/
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy