Class Schema.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Schema.Builder>
com.google.cloud.aiplatform.v1.Schema.Builder
All Implemented Interfaces:
SchemaOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Schema

public static final class Schema.Builder extends com.google.protobuf.GeneratedMessage.Builder<Schema.Builder> implements SchemaOrBuilder
 Schema is used to define the format of input/output data. Represents a select
 subset of an [OpenAPI 3.0 schema
 object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may
 be added in the future as needed.
 
Protobuf type google.cloud.aiplatform.v1.Schema
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Schema.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Schema.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Schema.Builder>
    • clear

      public Schema.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Schema.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Schema.Builder>
    • getDefaultInstanceForType

      public Schema getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Schema build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Schema buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Schema.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Schema.Builder>
    • mergeFrom

      public Schema.Builder mergeFrom(Schema other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Schema.Builder>
    • mergeFrom

      public Schema.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Schema.Builder>
      Throws:
      IOException
    • getTypeValue

      public int getTypeValue()
       Optional. The type of the data.
       
      .google.cloud.aiplatform.v1.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTypeValue in interface SchemaOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public Schema.Builder setTypeValue(int value)
       Optional. The type of the data.
       
      .google.cloud.aiplatform.v1.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public Type getType()
       Optional. The type of the data.
       
      .google.cloud.aiplatform.v1.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getType in interface SchemaOrBuilder
      Returns:
      The type.
    • setType

      public Schema.Builder setType(Type value)
       Optional. The type of the data.
       
      .google.cloud.aiplatform.v1.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public Schema.Builder clearType()
       Optional. The type of the data.
       
      .google.cloud.aiplatform.v1.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getFormat

      public String getFormat()
       Optional. The format of the data.
       Supported formats:
       for NUMBER type: "float", "double"
       for INTEGER type: "int32", "int64"
       for STRING type: "email", "byte", etc
       
      string format = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFormat in interface SchemaOrBuilder
      Returns:
      The format.
    • getFormatBytes

      public com.google.protobuf.ByteString getFormatBytes()
       Optional. The format of the data.
       Supported formats:
       for NUMBER type: "float", "double"
       for INTEGER type: "int32", "int64"
       for STRING type: "email", "byte", etc
       
      string format = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFormatBytes in interface SchemaOrBuilder
      Returns:
      The bytes for format.
    • setFormat

      public Schema.Builder setFormat(String value)
       Optional. The format of the data.
       Supported formats:
       for NUMBER type: "float", "double"
       for INTEGER type: "int32", "int64"
       for STRING type: "email", "byte", etc
       
      string format = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The format to set.
      Returns:
      This builder for chaining.
    • clearFormat

      public Schema.Builder clearFormat()
       Optional. The format of the data.
       Supported formats:
       for NUMBER type: "float", "double"
       for INTEGER type: "int32", "int64"
       for STRING type: "email", "byte", etc
       
      string format = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setFormatBytes

      public Schema.Builder setFormatBytes(com.google.protobuf.ByteString value)
       Optional. The format of the data.
       Supported formats:
       for NUMBER type: "float", "double"
       for INTEGER type: "int32", "int64"
       for STRING type: "email", "byte", etc
       
      string format = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for format to set.
      Returns:
      This builder for chaining.
    • getTitle

      public String getTitle()
       Optional. The title of the Schema.
       
      string title = 24 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTitle in interface SchemaOrBuilder
      Returns:
      The title.
    • getTitleBytes

      public com.google.protobuf.ByteString getTitleBytes()
       Optional. The title of the Schema.
       
      string title = 24 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTitleBytes in interface SchemaOrBuilder
      Returns:
      The bytes for title.
    • setTitle

      public Schema.Builder setTitle(String value)
       Optional. The title of the Schema.
       
      string title = 24 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The title to set.
      Returns:
      This builder for chaining.
    • clearTitle

      public Schema.Builder clearTitle()
       Optional. The title of the Schema.
       
      string title = 24 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setTitleBytes

      public Schema.Builder setTitleBytes(com.google.protobuf.ByteString value)
       Optional. The title of the Schema.
       
      string title = 24 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for title to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. The description of the data.
       
      string description = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface SchemaOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. The description of the data.
       
      string description = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface SchemaOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Schema.Builder setDescription(String value)
       Optional. The description of the data.
       
      string description = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Schema.Builder clearDescription()
       Optional. The description of the data.
       
      string description = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Schema.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. The description of the data.
       
      string description = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getNullable

      public boolean getNullable()
       Optional. Indicates if the value may be null.
       
      bool nullable = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNullable in interface SchemaOrBuilder
      Returns:
      The nullable.
    • setNullable

      public Schema.Builder setNullable(boolean value)
       Optional. Indicates if the value may be null.
       
      bool nullable = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The nullable to set.
      Returns:
      This builder for chaining.
    • clearNullable

      public Schema.Builder clearNullable()
       Optional. Indicates if the value may be null.
       
      bool nullable = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasDefault

      public boolean hasDefault()
       Optional. Default value of the data.
       
      .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDefault in interface SchemaOrBuilder
      Returns:
      Whether the default field is set.
    • getDefault

      public com.google.protobuf.Value getDefault()
       Optional. Default value of the data.
       
      .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefault in interface SchemaOrBuilder
      Returns:
      The default.
    • setDefault

      public Schema.Builder setDefault(com.google.protobuf.Value value)
       Optional. Default value of the data.
       
      .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL];
    • setDefault

      public Schema.Builder setDefault(com.google.protobuf.Value.Builder builderForValue)
       Optional. Default value of the data.
       
      .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDefault

      public Schema.Builder mergeDefault(com.google.protobuf.Value value)
       Optional. Default value of the data.
       
      .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL];
    • clearDefault

      public Schema.Builder clearDefault()
       Optional. Default value of the data.
       
      .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL];
    • getDefaultBuilder

      public com.google.protobuf.Value.Builder getDefaultBuilder()
       Optional. Default value of the data.
       
      .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL];
    • getDefaultOrBuilder

      public com.google.protobuf.ValueOrBuilder getDefaultOrBuilder()
       Optional. Default value of the data.
       
      .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultOrBuilder in interface SchemaOrBuilder
    • hasItems

      public boolean hasItems()
       Optional. SCHEMA FIELDS FOR TYPE ARRAY
       Schema of the elements of Type.ARRAY.
       
      .google.cloud.aiplatform.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasItems in interface SchemaOrBuilder
      Returns:
      Whether the items field is set.
    • getItems

      public Schema getItems()
       Optional. SCHEMA FIELDS FOR TYPE ARRAY
       Schema of the elements of Type.ARRAY.
       
      .google.cloud.aiplatform.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getItems in interface SchemaOrBuilder
      Returns:
      The items.
    • setItems

      public Schema.Builder setItems(Schema value)
       Optional. SCHEMA FIELDS FOR TYPE ARRAY
       Schema of the elements of Type.ARRAY.
       
      .google.cloud.aiplatform.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setItems

      public Schema.Builder setItems(Schema.Builder builderForValue)
       Optional. SCHEMA FIELDS FOR TYPE ARRAY
       Schema of the elements of Type.ARRAY.
       
      .google.cloud.aiplatform.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeItems

      public Schema.Builder mergeItems(Schema value)
       Optional. SCHEMA FIELDS FOR TYPE ARRAY
       Schema of the elements of Type.ARRAY.
       
      .google.cloud.aiplatform.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearItems

      public Schema.Builder clearItems()
       Optional. SCHEMA FIELDS FOR TYPE ARRAY
       Schema of the elements of Type.ARRAY.
       
      .google.cloud.aiplatform.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getItemsBuilder

      public Schema.Builder getItemsBuilder()
       Optional. SCHEMA FIELDS FOR TYPE ARRAY
       Schema of the elements of Type.ARRAY.
       
      .google.cloud.aiplatform.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getItemsOrBuilder

      public SchemaOrBuilder getItemsOrBuilder()
       Optional. SCHEMA FIELDS FOR TYPE ARRAY
       Schema of the elements of Type.ARRAY.
       
      .google.cloud.aiplatform.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getItemsOrBuilder in interface SchemaOrBuilder
    • getMinItems

      public long getMinItems()
       Optional. Minimum number of the elements for Type.ARRAY.
       
      int64 min_items = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMinItems in interface SchemaOrBuilder
      Returns:
      The minItems.
    • setMinItems

      public Schema.Builder setMinItems(long value)
       Optional. Minimum number of the elements for Type.ARRAY.
       
      int64 min_items = 21 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The minItems to set.
      Returns:
      This builder for chaining.
    • clearMinItems

      public Schema.Builder clearMinItems()
       Optional. Minimum number of the elements for Type.ARRAY.
       
      int64 min_items = 21 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getMaxItems

      public long getMaxItems()
       Optional. Maximum number of the elements for Type.ARRAY.
       
      int64 max_items = 22 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaxItems in interface SchemaOrBuilder
      Returns:
      The maxItems.
    • setMaxItems

      public Schema.Builder setMaxItems(long value)
       Optional. Maximum number of the elements for Type.ARRAY.
       
      int64 max_items = 22 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The maxItems to set.
      Returns:
      This builder for chaining.
    • clearMaxItems

      public Schema.Builder clearMaxItems()
       Optional. Maximum number of the elements for Type.ARRAY.
       
      int64 max_items = 22 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getEnumList

      public com.google.protobuf.ProtocolStringList getEnumList()
       Optional. Possible values of the element of primitive type with enum
       format. Examples:
       1. We can define direction as :
       {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
       2. We can define apartment number as :
       {type:INTEGER, format:enum, enum:["101", "201", "301"]}
       
      repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEnumList in interface SchemaOrBuilder
      Returns:
      A list containing the enum.
    • getEnumCount

      public int getEnumCount()
       Optional. Possible values of the element of primitive type with enum
       format. Examples:
       1. We can define direction as :
       {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
       2. We can define apartment number as :
       {type:INTEGER, format:enum, enum:["101", "201", "301"]}
       
      repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEnumCount in interface SchemaOrBuilder
      Returns:
      The count of enum.
    • getEnum

      public String getEnum(int index)
       Optional. Possible values of the element of primitive type with enum
       format. Examples:
       1. We can define direction as :
       {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
       2. We can define apartment number as :
       {type:INTEGER, format:enum, enum:["101", "201", "301"]}
       
      repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEnum in interface SchemaOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The enum at the given index.
    • getEnumBytes

      public com.google.protobuf.ByteString getEnumBytes(int index)
       Optional. Possible values of the element of primitive type with enum
       format. Examples:
       1. We can define direction as :
       {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
       2. We can define apartment number as :
       {type:INTEGER, format:enum, enum:["101", "201", "301"]}
       
      repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEnumBytes in interface SchemaOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the enum at the given index.
    • setEnum

      public Schema.Builder setEnum(int index, String value)
       Optional. Possible values of the element of primitive type with enum
       format. Examples:
       1. We can define direction as :
       {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
       2. We can define apartment number as :
       {type:INTEGER, format:enum, enum:["101", "201", "301"]}
       
      repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The enum to set.
      Returns:
      This builder for chaining.
    • addEnum

      public Schema.Builder addEnum(String value)
       Optional. Possible values of the element of primitive type with enum
       format. Examples:
       1. We can define direction as :
       {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
       2. We can define apartment number as :
       {type:INTEGER, format:enum, enum:["101", "201", "301"]}
       
      repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum to add.
      Returns:
      This builder for chaining.
    • addAllEnum

      public Schema.Builder addAllEnum(Iterable<String> values)
       Optional. Possible values of the element of primitive type with enum
       format. Examples:
       1. We can define direction as :
       {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
       2. We can define apartment number as :
       {type:INTEGER, format:enum, enum:["101", "201", "301"]}
       
      repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The enum to add.
      Returns:
      This builder for chaining.
    • clearEnum

      public Schema.Builder clearEnum()
       Optional. Possible values of the element of primitive type with enum
       format. Examples:
       1. We can define direction as :
       {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
       2. We can define apartment number as :
       {type:INTEGER, format:enum, enum:["101", "201", "301"]}
       
      repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addEnumBytes

      public Schema.Builder addEnumBytes(com.google.protobuf.ByteString value)
       Optional. Possible values of the element of primitive type with enum
       format. Examples:
       1. We can define direction as :
       {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
       2. We can define apartment number as :
       {type:INTEGER, format:enum, enum:["101", "201", "301"]}
       
      repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the enum to add.
      Returns:
      This builder for chaining.
    • getPropertiesCount

      public int getPropertiesCount()
      Description copied from interface: SchemaOrBuilder
       Optional. SCHEMA FIELDS FOR TYPE OBJECT
       Properties of Type.OBJECT.
       
      map<string, .google.cloud.aiplatform.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPropertiesCount in interface SchemaOrBuilder
    • containsProperties

      public boolean containsProperties(String key)
       Optional. SCHEMA FIELDS FOR TYPE OBJECT
       Properties of Type.OBJECT.
       
      map<string, .google.cloud.aiplatform.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsProperties in interface SchemaOrBuilder
    • getProperties

      @Deprecated public Map<String,Schema> getProperties()
      Deprecated.
      Use getPropertiesMap() instead.
      Specified by:
      getProperties in interface SchemaOrBuilder
    • getPropertiesMap

      public Map<String,Schema> getPropertiesMap()
       Optional. SCHEMA FIELDS FOR TYPE OBJECT
       Properties of Type.OBJECT.
       
      map<string, .google.cloud.aiplatform.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPropertiesMap in interface SchemaOrBuilder
    • getPropertiesOrDefault

      public Schema getPropertiesOrDefault(String key, Schema defaultValue)
       Optional. SCHEMA FIELDS FOR TYPE OBJECT
       Properties of Type.OBJECT.
       
      map<string, .google.cloud.aiplatform.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPropertiesOrDefault in interface SchemaOrBuilder
    • getPropertiesOrThrow

      public Schema getPropertiesOrThrow(String key)
       Optional. SCHEMA FIELDS FOR TYPE OBJECT
       Properties of Type.OBJECT.
       
      map<string, .google.cloud.aiplatform.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPropertiesOrThrow in interface SchemaOrBuilder
    • clearProperties

      public Schema.Builder clearProperties()
    • removeProperties

      public Schema.Builder removeProperties(String key)
       Optional. SCHEMA FIELDS FOR TYPE OBJECT
       Properties of Type.OBJECT.
       
      map<string, .google.cloud.aiplatform.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableProperties

      @Deprecated public Map<String,Schema> getMutableProperties()
      Deprecated.
      Use alternate mutation accessors instead.
    • putProperties

      public Schema.Builder putProperties(String key, Schema value)
       Optional. SCHEMA FIELDS FOR TYPE OBJECT
       Properties of Type.OBJECT.
       
      map<string, .google.cloud.aiplatform.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL];
    • putAllProperties

      public Schema.Builder putAllProperties(Map<String,Schema> values)
       Optional. SCHEMA FIELDS FOR TYPE OBJECT
       Properties of Type.OBJECT.
       
      map<string, .google.cloud.aiplatform.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL];
    • putPropertiesBuilderIfAbsent

      public Schema.Builder putPropertiesBuilderIfAbsent(String key)
       Optional. SCHEMA FIELDS FOR TYPE OBJECT
       Properties of Type.OBJECT.
       
      map<string, .google.cloud.aiplatform.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getPropertyOrderingList

      public com.google.protobuf.ProtocolStringList getPropertyOrderingList()
       Optional. The order of the properties.
       Not a standard field in open api spec. Only used to support the order of
       the properties.
       
      repeated string property_ordering = 25 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPropertyOrderingList in interface SchemaOrBuilder
      Returns:
      A list containing the propertyOrdering.
    • getPropertyOrderingCount

      public int getPropertyOrderingCount()
       Optional. The order of the properties.
       Not a standard field in open api spec. Only used to support the order of
       the properties.
       
      repeated string property_ordering = 25 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPropertyOrderingCount in interface SchemaOrBuilder
      Returns:
      The count of propertyOrdering.
    • getPropertyOrdering

      public String getPropertyOrdering(int index)
       Optional. The order of the properties.
       Not a standard field in open api spec. Only used to support the order of
       the properties.
       
      repeated string property_ordering = 25 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPropertyOrdering in interface SchemaOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The propertyOrdering at the given index.
    • getPropertyOrderingBytes

      public com.google.protobuf.ByteString getPropertyOrderingBytes(int index)
       Optional. The order of the properties.
       Not a standard field in open api spec. Only used to support the order of
       the properties.
       
      repeated string property_ordering = 25 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPropertyOrderingBytes in interface SchemaOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the propertyOrdering at the given index.
    • setPropertyOrdering

      public Schema.Builder setPropertyOrdering(int index, String value)
       Optional. The order of the properties.
       Not a standard field in open api spec. Only used to support the order of
       the properties.
       
      repeated string property_ordering = 25 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The propertyOrdering to set.
      Returns:
      This builder for chaining.
    • addPropertyOrdering

      public Schema.Builder addPropertyOrdering(String value)
       Optional. The order of the properties.
       Not a standard field in open api spec. Only used to support the order of
       the properties.
       
      repeated string property_ordering = 25 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The propertyOrdering to add.
      Returns:
      This builder for chaining.
    • addAllPropertyOrdering

      public Schema.Builder addAllPropertyOrdering(Iterable<String> values)
       Optional. The order of the properties.
       Not a standard field in open api spec. Only used to support the order of
       the properties.
       
      repeated string property_ordering = 25 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The propertyOrdering to add.
      Returns:
      This builder for chaining.
    • clearPropertyOrdering

      public Schema.Builder clearPropertyOrdering()
       Optional. The order of the properties.
       Not a standard field in open api spec. Only used to support the order of
       the properties.
       
      repeated string property_ordering = 25 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addPropertyOrderingBytes

      public Schema.Builder addPropertyOrderingBytes(com.google.protobuf.ByteString value)
       Optional. The order of the properties.
       Not a standard field in open api spec. Only used to support the order of
       the properties.
       
      repeated string property_ordering = 25 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the propertyOrdering to add.
      Returns:
      This builder for chaining.
    • getRequiredList

      public com.google.protobuf.ProtocolStringList getRequiredList()
       Optional. Required properties of Type.OBJECT.
       
      repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequiredList in interface SchemaOrBuilder
      Returns:
      A list containing the required.
    • getRequiredCount

      public int getRequiredCount()
       Optional. Required properties of Type.OBJECT.
       
      repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequiredCount in interface SchemaOrBuilder
      Returns:
      The count of required.
    • getRequired

      public String getRequired(int index)
       Optional. Required properties of Type.OBJECT.
       
      repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequired in interface SchemaOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The required at the given index.
    • getRequiredBytes

      public com.google.protobuf.ByteString getRequiredBytes(int index)
       Optional. Required properties of Type.OBJECT.
       
      repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequiredBytes in interface SchemaOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the required at the given index.
    • setRequired

      public Schema.Builder setRequired(int index, String value)
       Optional. Required properties of Type.OBJECT.
       
      repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The required to set.
      Returns:
      This builder for chaining.
    • addRequired

      public Schema.Builder addRequired(String value)
       Optional. Required properties of Type.OBJECT.
       
      repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The required to add.
      Returns:
      This builder for chaining.
    • addAllRequired

      public Schema.Builder addAllRequired(Iterable<String> values)
       Optional. Required properties of Type.OBJECT.
       
      repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The required to add.
      Returns:
      This builder for chaining.
    • clearRequired

      public Schema.Builder clearRequired()
       Optional. Required properties of Type.OBJECT.
       
      repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addRequiredBytes

      public Schema.Builder addRequiredBytes(com.google.protobuf.ByteString value)
       Optional. Required properties of Type.OBJECT.
       
      repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the required to add.
      Returns:
      This builder for chaining.
    • getMinProperties

      public long getMinProperties()
       Optional. Minimum number of the properties for Type.OBJECT.
       
      int64 min_properties = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMinProperties in interface SchemaOrBuilder
      Returns:
      The minProperties.
    • setMinProperties

      public Schema.Builder setMinProperties(long value)
       Optional. Minimum number of the properties for Type.OBJECT.
       
      int64 min_properties = 14 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The minProperties to set.
      Returns:
      This builder for chaining.
    • clearMinProperties

      public Schema.Builder clearMinProperties()
       Optional. Minimum number of the properties for Type.OBJECT.
       
      int64 min_properties = 14 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getMaxProperties

      public long getMaxProperties()
       Optional. Maximum number of the properties for Type.OBJECT.
       
      int64 max_properties = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaxProperties in interface SchemaOrBuilder
      Returns:
      The maxProperties.
    • setMaxProperties

      public Schema.Builder setMaxProperties(long value)
       Optional. Maximum number of the properties for Type.OBJECT.
       
      int64 max_properties = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The maxProperties to set.
      Returns:
      This builder for chaining.
    • clearMaxProperties

      public Schema.Builder clearMaxProperties()
       Optional. Maximum number of the properties for Type.OBJECT.
       
      int64 max_properties = 15 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getMinimum

      public double getMinimum()
       Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER
       Minimum value of the Type.INTEGER and Type.NUMBER
       
      double minimum = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMinimum in interface SchemaOrBuilder
      Returns:
      The minimum.
    • setMinimum

      public Schema.Builder setMinimum(double value)
       Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER
       Minimum value of the Type.INTEGER and Type.NUMBER
       
      double minimum = 16 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The minimum to set.
      Returns:
      This builder for chaining.
    • clearMinimum

      public Schema.Builder clearMinimum()
       Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER
       Minimum value of the Type.INTEGER and Type.NUMBER
       
      double minimum = 16 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getMaximum

      public double getMaximum()
       Optional. Maximum value of the Type.INTEGER and Type.NUMBER
       
      double maximum = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaximum in interface SchemaOrBuilder
      Returns:
      The maximum.
    • setMaximum

      public Schema.Builder setMaximum(double value)
       Optional. Maximum value of the Type.INTEGER and Type.NUMBER
       
      double maximum = 17 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The maximum to set.
      Returns:
      This builder for chaining.
    • clearMaximum

      public Schema.Builder clearMaximum()
       Optional. Maximum value of the Type.INTEGER and Type.NUMBER
       
      double maximum = 17 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getMinLength

      public long getMinLength()
       Optional. SCHEMA FIELDS FOR TYPE STRING
       Minimum length of the Type.STRING
       
      int64 min_length = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMinLength in interface SchemaOrBuilder
      Returns:
      The minLength.
    • setMinLength

      public Schema.Builder setMinLength(long value)
       Optional. SCHEMA FIELDS FOR TYPE STRING
       Minimum length of the Type.STRING
       
      int64 min_length = 18 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The minLength to set.
      Returns:
      This builder for chaining.
    • clearMinLength

      public Schema.Builder clearMinLength()
       Optional. SCHEMA FIELDS FOR TYPE STRING
       Minimum length of the Type.STRING
       
      int64 min_length = 18 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getMaxLength

      public long getMaxLength()
       Optional. Maximum length of the Type.STRING
       
      int64 max_length = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaxLength in interface SchemaOrBuilder
      Returns:
      The maxLength.
    • setMaxLength

      public Schema.Builder setMaxLength(long value)
       Optional. Maximum length of the Type.STRING
       
      int64 max_length = 19 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The maxLength to set.
      Returns:
      This builder for chaining.
    • clearMaxLength

      public Schema.Builder clearMaxLength()
       Optional. Maximum length of the Type.STRING
       
      int64 max_length = 19 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getPattern

      public String getPattern()
       Optional. Pattern of the Type.STRING to restrict a string to a regular
       expression.
       
      string pattern = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPattern in interface SchemaOrBuilder
      Returns:
      The pattern.
    • getPatternBytes

      public com.google.protobuf.ByteString getPatternBytes()
       Optional. Pattern of the Type.STRING to restrict a string to a regular
       expression.
       
      string pattern = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPatternBytes in interface SchemaOrBuilder
      Returns:
      The bytes for pattern.
    • setPattern

      public Schema.Builder setPattern(String value)
       Optional. Pattern of the Type.STRING to restrict a string to a regular
       expression.
       
      string pattern = 20 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pattern to set.
      Returns:
      This builder for chaining.
    • clearPattern

      public Schema.Builder clearPattern()
       Optional. Pattern of the Type.STRING to restrict a string to a regular
       expression.
       
      string pattern = 20 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setPatternBytes

      public Schema.Builder setPatternBytes(com.google.protobuf.ByteString value)
       Optional. Pattern of the Type.STRING to restrict a string to a regular
       expression.
       
      string pattern = 20 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for pattern to set.
      Returns:
      This builder for chaining.
    • hasExample

      public boolean hasExample()
       Optional. Example of the object. Will only populated when the object is the
       root.
       
      .google.protobuf.Value example = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasExample in interface SchemaOrBuilder
      Returns:
      Whether the example field is set.
    • getExample

      public com.google.protobuf.Value getExample()
       Optional. Example of the object. Will only populated when the object is the
       root.
       
      .google.protobuf.Value example = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExample in interface SchemaOrBuilder
      Returns:
      The example.
    • setExample

      public Schema.Builder setExample(com.google.protobuf.Value value)
       Optional. Example of the object. Will only populated when the object is the
       root.
       
      .google.protobuf.Value example = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setExample

      public Schema.Builder setExample(com.google.protobuf.Value.Builder builderForValue)
       Optional. Example of the object. Will only populated when the object is the
       root.
       
      .google.protobuf.Value example = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeExample

      public Schema.Builder mergeExample(com.google.protobuf.Value value)
       Optional. Example of the object. Will only populated when the object is the
       root.
       
      .google.protobuf.Value example = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearExample

      public Schema.Builder clearExample()
       Optional. Example of the object. Will only populated when the object is the
       root.
       
      .google.protobuf.Value example = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getExampleBuilder

      public com.google.protobuf.Value.Builder getExampleBuilder()
       Optional. Example of the object. Will only populated when the object is the
       root.
       
      .google.protobuf.Value example = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getExampleOrBuilder

      public com.google.protobuf.ValueOrBuilder getExampleOrBuilder()
       Optional. Example of the object. Will only populated when the object is the
       root.
       
      .google.protobuf.Value example = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExampleOrBuilder in interface SchemaOrBuilder
    • getAnyOfList

      public List<Schema> getAnyOfList()
       Optional. The value should be validated against any (one or more) of the
       subschemas in the list.
       
      repeated .google.cloud.aiplatform.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnyOfList in interface SchemaOrBuilder
    • getAnyOfCount

      public int getAnyOfCount()
       Optional. The value should be validated against any (one or more) of the
       subschemas in the list.
       
      repeated .google.cloud.aiplatform.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnyOfCount in interface SchemaOrBuilder
    • getAnyOf

      public Schema getAnyOf(int index)
       Optional. The value should be validated against any (one or more) of the
       subschemas in the list.
       
      repeated .google.cloud.aiplatform.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnyOf in interface SchemaOrBuilder
    • setAnyOf

      public Schema.Builder setAnyOf(int index, Schema value)
       Optional. The value should be validated against any (one or more) of the
       subschemas in the list.
       
      repeated .google.cloud.aiplatform.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
    • setAnyOf

      public Schema.Builder setAnyOf(int index, Schema.Builder builderForValue)
       Optional. The value should be validated against any (one or more) of the
       subschemas in the list.
       
      repeated .google.cloud.aiplatform.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
    • addAnyOf

      public Schema.Builder addAnyOf(Schema value)
       Optional. The value should be validated against any (one or more) of the
       subschemas in the list.
       
      repeated .google.cloud.aiplatform.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
    • addAnyOf

      public Schema.Builder addAnyOf(int index, Schema value)
       Optional. The value should be validated against any (one or more) of the
       subschemas in the list.
       
      repeated .google.cloud.aiplatform.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
    • addAnyOf

      public Schema.Builder addAnyOf(Schema.Builder builderForValue)
       Optional. The value should be validated against any (one or more) of the
       subschemas in the list.
       
      repeated .google.cloud.aiplatform.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
    • addAnyOf

      public Schema.Builder addAnyOf(int index, Schema.Builder builderForValue)
       Optional. The value should be validated against any (one or more) of the
       subschemas in the list.
       
      repeated .google.cloud.aiplatform.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
    • addAllAnyOf

      public Schema.Builder addAllAnyOf(Iterable<? extends Schema> values)
       Optional. The value should be validated against any (one or more) of the
       subschemas in the list.
       
      repeated .google.cloud.aiplatform.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
    • clearAnyOf

      public Schema.Builder clearAnyOf()
       Optional. The value should be validated against any (one or more) of the
       subschemas in the list.
       
      repeated .google.cloud.aiplatform.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
    • removeAnyOf

      public Schema.Builder removeAnyOf(int index)
       Optional. The value should be validated against any (one or more) of the
       subschemas in the list.
       
      repeated .google.cloud.aiplatform.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getAnyOfBuilder

      public Schema.Builder getAnyOfBuilder(int index)
       Optional. The value should be validated against any (one or more) of the
       subschemas in the list.
       
      repeated .google.cloud.aiplatform.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getAnyOfOrBuilder

      public SchemaOrBuilder getAnyOfOrBuilder(int index)
       Optional. The value should be validated against any (one or more) of the
       subschemas in the list.
       
      repeated .google.cloud.aiplatform.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnyOfOrBuilder in interface SchemaOrBuilder
    • getAnyOfOrBuilderList

      public List<? extends SchemaOrBuilder> getAnyOfOrBuilderList()
       Optional. The value should be validated against any (one or more) of the
       subschemas in the list.
       
      repeated .google.cloud.aiplatform.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnyOfOrBuilderList in interface SchemaOrBuilder
    • addAnyOfBuilder

      public Schema.Builder addAnyOfBuilder()
       Optional. The value should be validated against any (one or more) of the
       subschemas in the list.
       
      repeated .google.cloud.aiplatform.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
    • addAnyOfBuilder

      public Schema.Builder addAnyOfBuilder(int index)
       Optional. The value should be validated against any (one or more) of the
       subschemas in the list.
       
      repeated .google.cloud.aiplatform.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getAnyOfBuilderList

      public List<Schema.Builder> getAnyOfBuilderList()
       Optional. The value should be validated against any (one or more) of the
       subschemas in the list.
       
      repeated .google.cloud.aiplatform.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
    • hasAdditionalProperties

      public boolean hasAdditionalProperties()
       Optional. Can either be a boolean or an object; controls the presence of
       additional properties.
       
      .google.protobuf.Value additional_properties = 26 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAdditionalProperties in interface SchemaOrBuilder
      Returns:
      Whether the additionalProperties field is set.
    • getAdditionalProperties

      public com.google.protobuf.Value getAdditionalProperties()
       Optional. Can either be a boolean or an object; controls the presence of
       additional properties.
       
      .google.protobuf.Value additional_properties = 26 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdditionalProperties in interface SchemaOrBuilder
      Returns:
      The additionalProperties.
    • setAdditionalProperties

      public Schema.Builder setAdditionalProperties(com.google.protobuf.Value value)
       Optional. Can either be a boolean or an object; controls the presence of
       additional properties.
       
      .google.protobuf.Value additional_properties = 26 [(.google.api.field_behavior) = OPTIONAL];
    • setAdditionalProperties

      public Schema.Builder setAdditionalProperties(com.google.protobuf.Value.Builder builderForValue)
       Optional. Can either be a boolean or an object; controls the presence of
       additional properties.
       
      .google.protobuf.Value additional_properties = 26 [(.google.api.field_behavior) = OPTIONAL];
    • mergeAdditionalProperties

      public Schema.Builder mergeAdditionalProperties(com.google.protobuf.Value value)
       Optional. Can either be a boolean or an object; controls the presence of
       additional properties.
       
      .google.protobuf.Value additional_properties = 26 [(.google.api.field_behavior) = OPTIONAL];
    • clearAdditionalProperties

      public Schema.Builder clearAdditionalProperties()
       Optional. Can either be a boolean or an object; controls the presence of
       additional properties.
       
      .google.protobuf.Value additional_properties = 26 [(.google.api.field_behavior) = OPTIONAL];
    • getAdditionalPropertiesBuilder

      public com.google.protobuf.Value.Builder getAdditionalPropertiesBuilder()
       Optional. Can either be a boolean or an object; controls the presence of
       additional properties.
       
      .google.protobuf.Value additional_properties = 26 [(.google.api.field_behavior) = OPTIONAL];
    • getAdditionalPropertiesOrBuilder

      public com.google.protobuf.ValueOrBuilder getAdditionalPropertiesOrBuilder()
       Optional. Can either be a boolean or an object; controls the presence of
       additional properties.
       
      .google.protobuf.Value additional_properties = 26 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdditionalPropertiesOrBuilder in interface SchemaOrBuilder
    • getRef

      public String getRef()
       Optional. Allows indirect references between schema nodes. The value should
       be a valid reference to a child of the root `defs`.
      
       For example, the following schema defines a reference to a schema node
       named "Pet":
      
       type: object
       properties:
       pet:
       ref: #/defs/Pet
       defs:
       Pet:
       type: object
       properties:
       name:
       type: string
      
       The value of the "pet" property is a reference to the schema node
       named "Pet".
       See details in
       https://json-schema.org/understanding-json-schema/structuring
       
      string ref = 27 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRef in interface SchemaOrBuilder
      Returns:
      The ref.
    • getRefBytes

      public com.google.protobuf.ByteString getRefBytes()
       Optional. Allows indirect references between schema nodes. The value should
       be a valid reference to a child of the root `defs`.
      
       For example, the following schema defines a reference to a schema node
       named "Pet":
      
       type: object
       properties:
       pet:
       ref: #/defs/Pet
       defs:
       Pet:
       type: object
       properties:
       name:
       type: string
      
       The value of the "pet" property is a reference to the schema node
       named "Pet".
       See details in
       https://json-schema.org/understanding-json-schema/structuring
       
      string ref = 27 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRefBytes in interface SchemaOrBuilder
      Returns:
      The bytes for ref.
    • setRef

      public Schema.Builder setRef(String value)
       Optional. Allows indirect references between schema nodes. The value should
       be a valid reference to a child of the root `defs`.
      
       For example, the following schema defines a reference to a schema node
       named "Pet":
      
       type: object
       properties:
       pet:
       ref: #/defs/Pet
       defs:
       Pet:
       type: object
       properties:
       name:
       type: string
      
       The value of the "pet" property is a reference to the schema node
       named "Pet".
       See details in
       https://json-schema.org/understanding-json-schema/structuring
       
      string ref = 27 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The ref to set.
      Returns:
      This builder for chaining.
    • clearRef

      public Schema.Builder clearRef()
       Optional. Allows indirect references between schema nodes. The value should
       be a valid reference to a child of the root `defs`.
      
       For example, the following schema defines a reference to a schema node
       named "Pet":
      
       type: object
       properties:
       pet:
       ref: #/defs/Pet
       defs:
       Pet:
       type: object
       properties:
       name:
       type: string
      
       The value of the "pet" property is a reference to the schema node
       named "Pet".
       See details in
       https://json-schema.org/understanding-json-schema/structuring
       
      string ref = 27 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setRefBytes

      public Schema.Builder setRefBytes(com.google.protobuf.ByteString value)
       Optional. Allows indirect references between schema nodes. The value should
       be a valid reference to a child of the root `defs`.
      
       For example, the following schema defines a reference to a schema node
       named "Pet":
      
       type: object
       properties:
       pet:
       ref: #/defs/Pet
       defs:
       Pet:
       type: object
       properties:
       name:
       type: string
      
       The value of the "pet" property is a reference to the schema node
       named "Pet".
       See details in
       https://json-schema.org/understanding-json-schema/structuring
       
      string ref = 27 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for ref to set.
      Returns:
      This builder for chaining.
    • getDefsCount

      public int getDefsCount()
      Description copied from interface: SchemaOrBuilder
       Optional. A map of definitions for use by `ref`
       Only allowed at the root of the schema.
       
      map<string, .google.cloud.aiplatform.v1.Schema> defs = 28 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefsCount in interface SchemaOrBuilder
    • containsDefs

      public boolean containsDefs(String key)
       Optional. A map of definitions for use by `ref`
       Only allowed at the root of the schema.
       
      map<string, .google.cloud.aiplatform.v1.Schema> defs = 28 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsDefs in interface SchemaOrBuilder
    • getDefs

      @Deprecated public Map<String,Schema> getDefs()
      Deprecated.
      Use getDefsMap() instead.
      Specified by:
      getDefs in interface SchemaOrBuilder
    • getDefsMap

      public Map<String,Schema> getDefsMap()
       Optional. A map of definitions for use by `ref`
       Only allowed at the root of the schema.
       
      map<string, .google.cloud.aiplatform.v1.Schema> defs = 28 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefsMap in interface SchemaOrBuilder
    • getDefsOrDefault

      public Schema getDefsOrDefault(String key, Schema defaultValue)
       Optional. A map of definitions for use by `ref`
       Only allowed at the root of the schema.
       
      map<string, .google.cloud.aiplatform.v1.Schema> defs = 28 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefsOrDefault in interface SchemaOrBuilder
    • getDefsOrThrow

      public Schema getDefsOrThrow(String key)
       Optional. A map of definitions for use by `ref`
       Only allowed at the root of the schema.
       
      map<string, .google.cloud.aiplatform.v1.Schema> defs = 28 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefsOrThrow in interface SchemaOrBuilder
    • clearDefs

      public Schema.Builder clearDefs()
    • removeDefs

      public Schema.Builder removeDefs(String key)
       Optional. A map of definitions for use by `ref`
       Only allowed at the root of the schema.
       
      map<string, .google.cloud.aiplatform.v1.Schema> defs = 28 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableDefs

      @Deprecated public Map<String,Schema> getMutableDefs()
      Deprecated.
      Use alternate mutation accessors instead.
    • putDefs

      public Schema.Builder putDefs(String key, Schema value)
       Optional. A map of definitions for use by `ref`
       Only allowed at the root of the schema.
       
      map<string, .google.cloud.aiplatform.v1.Schema> defs = 28 [(.google.api.field_behavior) = OPTIONAL];
    • putAllDefs

      public Schema.Builder putAllDefs(Map<String,Schema> values)
       Optional. A map of definitions for use by `ref`
       Only allowed at the root of the schema.
       
      map<string, .google.cloud.aiplatform.v1.Schema> defs = 28 [(.google.api.field_behavior) = OPTIONAL];
    • putDefsBuilderIfAbsent

      public Schema.Builder putDefsBuilderIfAbsent(String key)
       Optional. A map of definitions for use by `ref`
       Only allowed at the root of the schema.
       
      map<string, .google.cloud.aiplatform.v1.Schema> defs = 28 [(.google.api.field_behavior) = OPTIONAL];