Interface SchemaOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The JSON representation of the schema.
    com.google.protobuf.ByteString
    The JSON representation of the schema.
    Immutable.
    com.google.protobuf.ByteString
    Immutable.
     
    com.google.protobuf.Struct
    The structured representation of the schema.
    com.google.protobuf.StructOrBuilder
    The structured representation of the schema.
    boolean
    The JSON representation of the schema.
    boolean
    The structured representation of the schema.

    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

    • hasStructSchema

      boolean hasStructSchema()
       The structured representation of the schema.
       
      .google.protobuf.Struct struct_schema = 2;
      Returns:
      Whether the structSchema field is set.
    • getStructSchema

      com.google.protobuf.Struct getStructSchema()
       The structured representation of the schema.
       
      .google.protobuf.Struct struct_schema = 2;
      Returns:
      The structSchema.
    • getStructSchemaOrBuilder

      com.google.protobuf.StructOrBuilder getStructSchemaOrBuilder()
       The structured representation of the schema.
       
      .google.protobuf.Struct struct_schema = 2;
    • hasJsonSchema

      boolean hasJsonSchema()
       The JSON representation of the schema.
       
      string json_schema = 3;
      Returns:
      Whether the jsonSchema field is set.
    • getJsonSchema

      String getJsonSchema()
       The JSON representation of the schema.
       
      string json_schema = 3;
      Returns:
      The jsonSchema.
    • getJsonSchemaBytes

      com.google.protobuf.ByteString getJsonSchemaBytes()
       The JSON representation of the schema.
       
      string json_schema = 3;
      Returns:
      The bytes for jsonSchema.
    • getName

      String getName()
       Immutable. The full resource name of the schema, in the format of
       `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`.
      
       This field must be a UTF-8 encoded string with a length limit of 1024
       characters.
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Immutable. The full resource name of the schema, in the format of
       `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`.
      
       This field must be a UTF-8 encoded string with a length limit of 1024
       characters.
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for name.
    • getSchemaCase

      Schema.SchemaCase getSchemaCase()