
com.google.cloud.visionai.v1.DataSchemaOrBuilder 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 DataSchemaOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.visionai.v1.DataSchema)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Resource name of the data schema in the form of:
* `projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}`
* where {data_schema} part should be the same as the `key` field below.
*
*
* string name = 1;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Resource name of the data schema in the form of:
* `projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}`
* where {data_schema} part should be the same as the `key` field below.
*
*
* string name = 1;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Required. The key of this data schema. This key should be matching the key
* of user specified annotation and unique inside corpus. This value can be up
* to 63 characters, and valid characters are /[a-z][0-9]-/. The first
* character must be a letter, the last could be a letter or a number.
*
*
* string key = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The key.
*/
java.lang.String getKey();
/**
*
*
*
* Required. The key of this data schema. This key should be matching the key
* of user specified annotation and unique inside corpus. This value can be up
* to 63 characters, and valid characters are /[a-z][0-9]-/. The first
* character must be a letter, the last could be a letter or a number.
*
*
* string key = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for key.
*/
com.google.protobuf.ByteString getKeyBytes();
/**
*
*
*
* The schema details mapping to the key.
*
*
* .google.cloud.visionai.v1.DataSchemaDetails schema_details = 3;
*
* @return Whether the schemaDetails field is set.
*/
boolean hasSchemaDetails();
/**
*
*
*
* The schema details mapping to the key.
*
*
* .google.cloud.visionai.v1.DataSchemaDetails schema_details = 3;
*
* @return The schemaDetails.
*/
com.google.cloud.visionai.v1.DataSchemaDetails getSchemaDetails();
/**
*
*
*
* The schema details mapping to the key.
*
*
* .google.cloud.visionai.v1.DataSchemaDetails schema_details = 3;
*/
com.google.cloud.visionai.v1.DataSchemaDetailsOrBuilder getSchemaDetailsOrBuilder();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy