Interface CreateDataSchemaRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateDataSchemaRequest, CreateDataSchemaRequest.Builder

@Generated public interface CreateDataSchemaRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getParent

      String getParent()
       Required. The parent resource where this data schema will be created.
       Format:
       `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource where this data schema will be created.
       Format:
       `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • hasDataSchema

      boolean hasDataSchema()
       Required. The data schema to create.
       
      .google.cloud.visionai.v1.DataSchema data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the dataSchema field is set.
    • getDataSchema

      DataSchema getDataSchema()
       Required. The data schema to create.
       
      .google.cloud.visionai.v1.DataSchema data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The dataSchema.
    • getDataSchemaOrBuilder

      DataSchemaOrBuilder getDataSchemaOrBuilder()
       Required. The data schema to create.
       
      .google.cloud.visionai.v1.DataSchema data_schema = 2 [(.google.api.field_behavior) = REQUIRED];