Package com.google.cloud.aiplatform.v1
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 Summary
Modifier and TypeMethodDescriptionaddAllAnyOf(Iterable<? extends Schema> values) Optional.addAllEnum(Iterable<String> values) Optional.addAllPropertyOrdering(Iterable<String> values) Optional.addAllRequired(Iterable<String> values) Optional.Optional.addAnyOf(int index, Schema.Builder builderForValue) Optional.Optional.addAnyOf(Schema.Builder builderForValue) Optional.Optional.addAnyOfBuilder(int index) Optional.Optional.addEnumBytes(com.google.protobuf.ByteString value) Optional.addPropertyOrdering(String value) Optional.addPropertyOrderingBytes(com.google.protobuf.ByteString value) Optional.addRequired(String value) Optional.addRequiredBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.clearRef()Optional.Optional.Optional.Optional.booleancontainsDefs(String key) Optional.booleancontainsProperties(String key) Optional.com.google.protobuf.ValueOptional.com.google.protobuf.Value.BuilderOptional.com.google.protobuf.ValueOrBuilderOptional.getAnyOf(int index) Optional.getAnyOfBuilder(int index) Optional.Optional.intOptional.Optional.getAnyOfOrBuilder(int index) Optional.List<? extends SchemaOrBuilder>Optional.com.google.protobuf.ValueOptional.com.google.protobuf.Value.BuilderOptional.com.google.protobuf.ValueOrBuilderOptional.getDefs()Deprecated.intOptional.Optional.getDefsOrDefault(String key, Schema defaultValue) Optional.getDefsOrThrow(String key) Optional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEnum(int index) Optional.com.google.protobuf.ByteStringgetEnumBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.com.google.protobuf.ValueOptional.com.google.protobuf.Value.BuilderOptional.com.google.protobuf.ValueOrBuilderOptional.Optional.com.google.protobuf.ByteStringOptional.getItems()Optional.Optional.Optional.doubleOptional.longOptional.longOptional.longOptional.doubleOptional.longOptional.longOptional.longOptional.Deprecated.Deprecated.booleanOptional.Optional.com.google.protobuf.ByteStringOptional.Deprecated.intOptional.Optional.getPropertiesOrDefault(String key, Schema defaultValue) Optional.Optional.getPropertyOrdering(int index) Optional.com.google.protobuf.ByteStringgetPropertyOrderingBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getRef()Optional.com.google.protobuf.ByteStringOptional.getRequired(int index) Optional.com.google.protobuf.ByteStringgetRequiredBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getTitle()Optional.com.google.protobuf.ByteStringOptional.getType()Optional.intOptional.booleanOptional.booleanOptional.booleanOptional.booleanhasItems()Optional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeAdditionalProperties(com.google.protobuf.Value value) Optional.mergeDefault(com.google.protobuf.Value value) Optional.mergeExample(com.google.protobuf.Value value) Optional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeItems(Schema value) Optional.putAllDefs(Map<String, Schema> values) Optional.putAllProperties(Map<String, Schema> values) Optional.Optional.Optional.putProperties(String key, Schema value) Optional.Optional.removeAnyOf(int index) Optional.removeDefs(String key) Optional.removeProperties(String key) Optional.setAdditionalProperties(com.google.protobuf.Value value) Optional.setAdditionalProperties(com.google.protobuf.Value.Builder builderForValue) Optional.Optional.setAnyOf(int index, Schema.Builder builderForValue) Optional.setDefault(com.google.protobuf.Value value) Optional.setDefault(com.google.protobuf.Value.Builder builderForValue) Optional.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.Optional.setExample(com.google.protobuf.Value value) Optional.setExample(com.google.protobuf.Value.Builder builderForValue) Optional.Optional.setFormatBytes(com.google.protobuf.ByteString value) Optional.Optional.setItems(Schema.Builder builderForValue) Optional.setMaximum(double value) Optional.setMaxItems(long value) Optional.setMaxLength(long value) Optional.setMaxProperties(long value) Optional.setMinimum(double value) Optional.setMinItems(long value) Optional.setMinLength(long value) Optional.setMinProperties(long value) Optional.setNullable(boolean value) Optional.setPattern(String value) Optional.setPatternBytes(com.google.protobuf.ByteString value) Optional.setPropertyOrdering(int index, String value) Optional.Optional.setRefBytes(com.google.protobuf.ByteString value) Optional.setRequired(int index, String value) Optional.Optional.setTitleBytes(com.google.protobuf.ByteString value) Optional.Optional.setTypeValue(int value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Schema.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Schema.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Schema.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Schema.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Schema.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Schema.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getTypeValuein interfaceSchemaOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
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
Optional. The type of the data.
.google.cloud.aiplatform.v1.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTypein interfaceSchemaOrBuilder- Returns:
- The type.
-
setType
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
Optional. The type of the data.
.google.cloud.aiplatform.v1.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
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:
getFormatin interfaceSchemaOrBuilder- 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:
getFormatBytesin interfaceSchemaOrBuilder- Returns:
- The bytes for format.
-
setFormat
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
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
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
Optional. The title of the Schema.
string title = 24 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTitlein interfaceSchemaOrBuilder- 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:
getTitleBytesin interfaceSchemaOrBuilder- Returns:
- The bytes for title.
-
setTitle
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
Optional. The title of the Schema.
string title = 24 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setTitleBytes
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
Optional. The description of the data.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceSchemaOrBuilder- 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:
getDescriptionBytesin interfaceSchemaOrBuilder- Returns:
- The bytes for description.
-
setDescription
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
Optional. The description of the data.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
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:
getNullablein interfaceSchemaOrBuilder- Returns:
- The nullable.
-
setNullable
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
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:
hasDefaultin interfaceSchemaOrBuilder- 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:
getDefaultin interfaceSchemaOrBuilder- Returns:
- The default.
-
setDefault
Optional. Default value of the data.
.google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL]; -
setDefault
Optional. Default value of the data.
.google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL]; -
mergeDefault
Optional. Default value of the data.
.google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL]; -
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:
getDefaultOrBuilderin interfaceSchemaOrBuilder
-
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:
hasItemsin interfaceSchemaOrBuilder- Returns:
- Whether the items field is set.
-
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:
getItemsin interfaceSchemaOrBuilder- Returns:
- The items.
-
setItems
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
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
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
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
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
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:
getItemsOrBuilderin interfaceSchemaOrBuilder
-
getMinItems
public long getMinItems()Optional. Minimum number of the elements for Type.ARRAY.
int64 min_items = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMinItemsin interfaceSchemaOrBuilder- Returns:
- The minItems.
-
setMinItems
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
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:
getMaxItemsin interfaceSchemaOrBuilder- Returns:
- The maxItems.
-
setMaxItems
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
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:
getEnumListin interfaceSchemaOrBuilder- 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:
getEnumCountin interfaceSchemaOrBuilder- Returns:
- The count of enum.
-
getEnum
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:
getEnumin interfaceSchemaOrBuilder- 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:
getEnumBytesin interfaceSchemaOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the enum at the given index.
-
setEnum
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
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
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
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
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:SchemaOrBuilderOptional. 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:
getPropertiesCountin interfaceSchemaOrBuilder
-
containsProperties
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:
containsPropertiesin interfaceSchemaOrBuilder
-
getProperties
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfaceSchemaOrBuilder
-
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:
getPropertiesMapin interfaceSchemaOrBuilder
-
getPropertiesOrDefault
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:
getPropertiesOrDefaultin interfaceSchemaOrBuilder
-
getPropertiesOrThrow
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:
getPropertiesOrThrowin interfaceSchemaOrBuilder
-
clearProperties
-
removeProperties
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.Use alternate mutation accessors instead. -
putProperties
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
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
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:
getPropertyOrderingListin interfaceSchemaOrBuilder- 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:
getPropertyOrderingCountin interfaceSchemaOrBuilder- Returns:
- The count of propertyOrdering.
-
getPropertyOrdering
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:
getPropertyOrderingin interfaceSchemaOrBuilder- 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:
getPropertyOrderingBytesin interfaceSchemaOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the propertyOrdering at the given index.
-
setPropertyOrdering
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
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
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
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
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:
getRequiredListin interfaceSchemaOrBuilder- 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:
getRequiredCountin interfaceSchemaOrBuilder- Returns:
- The count of required.
-
getRequired
Optional. Required properties of Type.OBJECT.
repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRequiredin interfaceSchemaOrBuilder- 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:
getRequiredBytesin interfaceSchemaOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the required at the given index.
-
setRequired
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
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
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
Optional. Required properties of Type.OBJECT.
repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addRequiredBytes
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:
getMinPropertiesin interfaceSchemaOrBuilder- Returns:
- The minProperties.
-
setMinProperties
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
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:
getMaxPropertiesin interfaceSchemaOrBuilder- Returns:
- The maxProperties.
-
setMaxProperties
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
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:
getMinimumin interfaceSchemaOrBuilder- Returns:
- The minimum.
-
setMinimum
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
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:
getMaximumin interfaceSchemaOrBuilder- Returns:
- The maximum.
-
setMaximum
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
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:
getMinLengthin interfaceSchemaOrBuilder- Returns:
- The minLength.
-
setMinLength
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
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:
getMaxLengthin interfaceSchemaOrBuilder- Returns:
- The maxLength.
-
setMaxLength
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
Optional. Maximum length of the Type.STRING
int64 max_length = 19 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
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:
getPatternin interfaceSchemaOrBuilder- 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:
getPatternBytesin interfaceSchemaOrBuilder- Returns:
- The bytes for pattern.
-
setPattern
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
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
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:
hasExamplein interfaceSchemaOrBuilder- 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:
getExamplein interfaceSchemaOrBuilder- Returns:
- The example.
-
setExample
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
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
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
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:
getExampleOrBuilderin interfaceSchemaOrBuilder
-
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:
getAnyOfListin interfaceSchemaOrBuilder
-
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:
getAnyOfCountin interfaceSchemaOrBuilder
-
getAnyOf
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:
getAnyOfin interfaceSchemaOrBuilder
-
setAnyOf
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
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
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
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
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
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
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
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
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
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
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:
getAnyOfOrBuilderin interfaceSchemaOrBuilder
-
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:
getAnyOfOrBuilderListin interfaceSchemaOrBuilder
-
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
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
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:
hasAdditionalPropertiesin interfaceSchemaOrBuilder- 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:
getAdditionalPropertiesin interfaceSchemaOrBuilder- Returns:
- The additionalProperties.
-
setAdditionalProperties
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
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
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
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:
getAdditionalPropertiesOrBuilderin interfaceSchemaOrBuilder
-
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:
getRefin interfaceSchemaOrBuilder- 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:
getRefBytesin interfaceSchemaOrBuilder- Returns:
- The bytes for ref.
-
setRef
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
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
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:SchemaOrBuilderOptional. 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:
getDefsCountin interfaceSchemaOrBuilder
-
containsDefs
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:
containsDefsin interfaceSchemaOrBuilder
-
getDefs
Deprecated.UsegetDefsMap()instead.- Specified by:
getDefsin interfaceSchemaOrBuilder
-
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:
getDefsMapin interfaceSchemaOrBuilder
-
getDefsOrDefault
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:
getDefsOrDefaultin interfaceSchemaOrBuilder
-
getDefsOrThrow
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:
getDefsOrThrowin interfaceSchemaOrBuilder
-
clearDefs
-
removeDefs
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.Use alternate mutation accessors instead. -
putDefs
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
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
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];
-