Send feedback
  
   
 
  
    
      Class MetadataSchema (3.2.0)
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
      
     
  
  
   
  
    
  
  
    
    
    
  Version 3.2.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  MetadataSchema   extends   GeneratedMessageV3   implements   MetadataSchemaOrBuilder  
   
   Instance of a general MetadataSchema.
 Protobuf type google.cloud.aiplatform.v1.MetadataSchema
 
  
  
  
  Static Fields
   
  
  
    
public   static   final   int   CREATE_TIME_FIELD_NUMBER  
   
  Field Value 
  
  
  
    
public   static   final   int   DESCRIPTION_FIELD_NUMBER  
   
  Field Value 
  
  
  
    
public   static   final   int   NAME_FIELD_NUMBER  
   
  Field Value 
  
  
  
    
public   static   final   int   SCHEMA_FIELD_NUMBER  
   
  Field Value 
  
  
  
    
public   static   final   int   SCHEMA_TYPE_FIELD_NUMBER  
   
  Field Value 
  
  
  
    
public   static   final   int   SCHEMA_VERSION_FIELD_NUMBER  
   
  Field Value 
  
  Static Methods
   
   
  
  
    
public   static   MetadataSchema   getDefaultInstance ()  
   
  Returns 
  
   
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  Returns 
  
   
  
  
    
public   static   MetadataSchema . Builder   newBuilder ()  
   
  Returns 
  
   
  
  
    
public   static   MetadataSchema . Builder   newBuilder ( MetadataSchema   prototype )  
   
  Parameter 
  
  Returns 
  
   
  
  
    
public   static   MetadataSchema   parseDelimitedFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   MetadataSchema   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   MetadataSchema   parseFrom ( byte []   data )  
   
  Parameter 
  
    
      
        Name  
        Description  
       
      
        data  
        byte [] 
       
     
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   MetadataSchema   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   MetadataSchema   parseFrom ( ByteString   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   MetadataSchema   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   MetadataSchema   parseFrom ( CodedInputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   MetadataSchema   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   MetadataSchema   parseFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   MetadataSchema   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   MetadataSchema   parseFrom ( ByteBuffer   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   MetadataSchema   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   Parser<MetadataSchema>   parser ()  
   
  Returns 
  
  Methods
   
   
  
  
    
public   boolean   equals ( Object   obj )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  
  
    
public   Timestamp   getCreateTime ()  
   
   Output only. Timestamp when this MetadataSchema was created.
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  Returns 
  
   
  
  
    
public   TimestampOrBuilder   getCreateTimeOrBuilder ()  
   
   Output only. Timestamp when this MetadataSchema was created.
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  Returns 
  
   
  
  
    
public   MetadataSchema   getDefaultInstanceForType ()  
   
  Returns 
  
   
  
  
    
public   String   getDescription ()  
   
   Description of the Metadata Schema
 string description = 6;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The description.
 
       
     
  
   
  
  
    
public   ByteString   getDescriptionBytes ()  
   
   Description of the Metadata Schema
 string description = 6;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for description.
 
       
     
  
   
  
  
   Output only. The resource name of the MetadataSchema.
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The name.
 
       
     
  
   
  
  
    
public   ByteString   getNameBytes ()  
   
   Output only. The resource name of the MetadataSchema.
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
  Returns 
  
   
  
  
    
public   Parser<MetadataSchema>   getParserForType ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   String   getSchema ()  
   
   Required. The raw YAML string representation of the MetadataSchema. The combination
 of [MetadataSchema.version] and the schema name given by title in
 [MetadataSchema.schema] must be unique within a MetadataStore.
 The schema is defined as an OpenAPI 3.0.2
 MetadataSchema
 Object 
 string schema = 3 [(.google.api.field_behavior) = REQUIRED];
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The schema.
 
       
     
  
   
  
  
    
public   ByteString   getSchemaBytes ()  
   
   Required. The raw YAML string representation of the MetadataSchema. The combination
 of [MetadataSchema.version] and the schema name given by title in
 [MetadataSchema.schema] must be unique within a MetadataStore.
 The schema is defined as an OpenAPI 3.0.2
 MetadataSchema
 Object 
 string schema = 3 [(.google.api.field_behavior) = REQUIRED];
 
  Returns 
  
   
  
  
    
public   MetadataSchema . MetadataSchemaType   getSchemaType ()  
   
   The type of the MetadataSchema. This is a property that identifies which
 metadata types will use the MetadataSchema.
 .google.cloud.aiplatform.v1.MetadataSchema.MetadataSchemaType schema_type = 4;
 
  Returns 
  
   
  
  
    
public   int   getSchemaTypeValue ()  
   
   The type of the MetadataSchema. This is a property that identifies which
 metadata types will use the MetadataSchema.
 .google.cloud.aiplatform.v1.MetadataSchema.MetadataSchemaType schema_type = 4;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        int  
        The enum numeric value on the wire for schemaType.
 
       
     
  
   
  
  
    
public   String   getSchemaVersion ()  
   
   The version of the MetadataSchema. The version's format must match
 the following regular expression: ^[0-9]+. +. +$, which would
 allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.
 string schema_version = 2;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The schemaVersion.
 
       
     
  
   
  
  
    
public   ByteString   getSchemaVersionBytes ()  
   
   The version of the MetadataSchema. The version's format must match
 the following regular expression: ^[0-9]+. +. +$, which would
 allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.
 string schema_version = 2;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for schemaVersion.
 
       
     
  
   
  
  
    
public   int   getSerializedSize ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   boolean   hasCreateTime ()  
   
   Output only. Timestamp when this MetadataSchema was created.
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the createTime field is set.
 
       
     
  
   
  
  
  Returns 
  
  Overrides 
  
   
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   final   boolean   isInitialized ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   MetadataSchema . Builder   newBuilderForType ()  
   
  Returns 
  
   
  
  
    
protected   MetadataSchema . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  
  
    
public   MetadataSchema . Builder   toBuilder ()  
   
  Returns 
  
   
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
    
     
  
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-30 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]