Package com.google.cloud.aiplatform.v1
Class Schema
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.Schema
- All Implemented Interfaces:
SchemaOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Schema
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSchema is used to define the format of input/output data.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsDefs(String key) Optional.booleancontainsProperties(String key) Optional.booleancom.google.protobuf.ValueOptional.com.google.protobuf.ValueOrBuilderOptional.getAnyOf(int index) Optional.intOptional.Optional.getAnyOfOrBuilder(int index) Optional.List<? extends SchemaOrBuilder>Optional.com.google.protobuf.ValueOptional.static Schemacom.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.DescriptorgetEnum(int index) Optional.com.google.protobuf.ByteStringgetEnumBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.com.google.protobuf.ValueOptional.com.google.protobuf.ValueOrBuilderOptional.Optional.com.google.protobuf.ByteStringOptional.getItems()Optional.Optional.doubleOptional.longOptional.longOptional.longOptional.doubleOptional.longOptional.longOptional.longOptional.booleanOptional.com.google.protobuf.Parser<Schema>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.intgetTitle()Optional.com.google.protobuf.ByteStringOptional.getType()Optional.intOptional.booleanOptional.booleanOptional.booleanOptional.inthashCode()booleanhasItems()Optional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Schema.Builderstatic Schema.BuildernewBuilder(Schema prototype) protected Schema.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SchemaparseDelimitedFrom(InputStream input) static SchemaparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SchemaparseFrom(byte[] data) static SchemaparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SchemaparseFrom(com.google.protobuf.ByteString data) static SchemaparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SchemaparseFrom(com.google.protobuf.CodedInputStream input) static SchemaparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SchemaparseFrom(InputStream input) static SchemaparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SchemaparseFrom(ByteBuffer data) static SchemaparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Schema>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
FORMAT_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER- See Also:
-
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
NULLABLE_FIELD_NUMBER
public static final int NULLABLE_FIELD_NUMBER- See Also:
-
DEFAULT_FIELD_NUMBER
public static final int DEFAULT_FIELD_NUMBER- See Also:
-
ITEMS_FIELD_NUMBER
public static final int ITEMS_FIELD_NUMBER- See Also:
-
MIN_ITEMS_FIELD_NUMBER
public static final int MIN_ITEMS_FIELD_NUMBER- See Also:
-
MAX_ITEMS_FIELD_NUMBER
public static final int MAX_ITEMS_FIELD_NUMBER- See Also:
-
ENUM_FIELD_NUMBER
public static final int ENUM_FIELD_NUMBER- See Also:
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER- See Also:
-
PROPERTY_ORDERING_FIELD_NUMBER
public static final int PROPERTY_ORDERING_FIELD_NUMBER- See Also:
-
REQUIRED_FIELD_NUMBER
public static final int REQUIRED_FIELD_NUMBER- See Also:
-
MIN_PROPERTIES_FIELD_NUMBER
public static final int MIN_PROPERTIES_FIELD_NUMBER- See Also:
-
MAX_PROPERTIES_FIELD_NUMBER
public static final int MAX_PROPERTIES_FIELD_NUMBER- See Also:
-
MINIMUM_FIELD_NUMBER
public static final int MINIMUM_FIELD_NUMBER- See Also:
-
MAXIMUM_FIELD_NUMBER
public static final int MAXIMUM_FIELD_NUMBER- See Also:
-
MIN_LENGTH_FIELD_NUMBER
public static final int MIN_LENGTH_FIELD_NUMBER- See Also:
-
MAX_LENGTH_FIELD_NUMBER
public static final int MAX_LENGTH_FIELD_NUMBER- See Also:
-
PATTERN_FIELD_NUMBER
public static final int PATTERN_FIELD_NUMBER- See Also:
-
EXAMPLE_FIELD_NUMBER
public static final int EXAMPLE_FIELD_NUMBER- See Also:
-
ANY_OF_FIELD_NUMBER
public static final int ANY_OF_FIELD_NUMBER- See Also:
-
ADDITIONAL_PROPERTIES_FIELD_NUMBER
public static final int ADDITIONAL_PROPERTIES_FIELD_NUMBER- See Also:
-
REF_FIELD_NUMBER
public static final int REF_FIELD_NUMBER- See Also:
-
DEFS_FIELD_NUMBER
public static final int DEFS_FIELD_NUMBER- See Also:
-
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Schema parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Schema parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Schema parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Schema parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Schema.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-