Class Schema.Builder (1.1.0)

publicstaticfinalclass Schema.BuilderextendsGeneratedMessageV3.Builder<Schema.Builder>implementsSchemaOrBuilder

Schema is used to define the format of input/output data. Represents a select subset of an OpenAPI 3.0 schema object. More fields may be added in the future as needed.

Protobuf type google.cloud.vertexai.v1.Schema

Implements

SchemaOrBuilder

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addAllEnum(Iterable<String> values)

publicSchema.BuilderaddAllEnum(Iterable<String>values)

Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}

repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The enum to add.

Returns
Type Description
Schema.Builder

This builder for chaining.

addAllRequired(Iterable<String> values)

publicSchema.BuilderaddAllRequired(Iterable<String>values)

Optional. Required properties of Type.OBJECT.

repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The required to add.

Returns
Type Description
Schema.Builder

This builder for chaining.

addEnum(String value)

publicSchema.BuilderaddEnum(Stringvalue)

Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}

repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The enum to add.

Returns
Type Description
Schema.Builder

This builder for chaining.

addEnumBytes(ByteString value)

publicSchema.BuilderaddEnumBytes(ByteStringvalue)

Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}

repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the enum to add.

Returns
Type Description
Schema.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicSchema.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Schema.Builder
Overrides

addRequired(String value)

publicSchema.BuilderaddRequired(Stringvalue)

Optional. Required properties of Type.OBJECT.

repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The required to add.

Returns
Type Description
Schema.Builder

This builder for chaining.

addRequiredBytes(ByteString value)

publicSchema.BuilderaddRequiredBytes(ByteStringvalue)

Optional. Required properties of Type.OBJECT.

repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the required to add.

Returns
Type Description
Schema.Builder

This builder for chaining.

build()

publicSchemabuild()
Returns
Type Description
Schema

buildPartial()

publicSchemabuildPartial()
Returns
Type Description
Schema

clear()

publicSchema.Builderclear()
Returns
Type Description
Schema.Builder
Overrides

clearDescription()

publicSchema.BuilderclearDescription()

Optional. The description of the data.

string description = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Schema.Builder

This builder for chaining.

clearEnum()

publicSchema.BuilderclearEnum()

Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}

repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Schema.Builder

This builder for chaining.

clearExample()

publicSchema.BuilderclearExample()

Optional. Example of the object. Will only populated when the object is the root.

.google.protobuf.Value example = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Schema.Builder

clearField(Descriptors.FieldDescriptor field)

publicSchema.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Schema.Builder
Overrides

clearFormat()

publicSchema.BuilderclearFormat()

Optional. The format of the data. Supported formats: for NUMBER type: float, double for INTEGER type: int32, int64

string format = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Schema.Builder

This builder for chaining.

clearItems()

publicSchema.BuilderclearItems()

Optional. Schema of the elements of Type.ARRAY.

.google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Schema.Builder

clearNullable()

publicSchema.BuilderclearNullable()

Optional. Indicates if the value may be null.

bool nullable = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Schema.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicSchema.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Schema.Builder
Overrides

clearProperties()

publicSchema.BuilderclearProperties()
Returns
Type Description
Schema.Builder

clearRequired()

publicSchema.BuilderclearRequired()

Optional. Required properties of Type.OBJECT.

repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Schema.Builder

This builder for chaining.

clearType()

publicSchema.BuilderclearType()

Optional. The type of the data.

.google.cloud.vertexai.v1.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Schema.Builder

This builder for chaining.

clone()

publicSchema.Builderclone()
Returns
Type Description
Schema.Builder
Overrides

containsProperties(String key)

publicbooleancontainsProperties(Stringkey)

Optional. Properties of Type.OBJECT.

map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

publicSchemagetDefaultInstanceForType()
Returns
Type Description
Schema

getDescription()

publicStringgetDescription()

Optional. The description of the data.

string description = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

publicByteStringgetDescriptionBytes()

Optional. The description of the data.

string description = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnum(int index)

publicStringgetEnum(intindex)

Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}

repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The enum at the given index.

getEnumBytes(int index)

publicByteStringgetEnumBytes(intindex)

Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}

repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the enum at the given index.

getEnumCount()

publicintgetEnumCount()

Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}

repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of enum.

getEnumList()

publicProtocolStringListgetEnumList()

Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}

repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the enum.

getExample()

publicValuegetExample()

Optional. Example of the object. Will only populated when the object is the root.

.google.protobuf.Value example = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Value

The example.

getExampleBuilder()

publicValue.BuildergetExampleBuilder()

Optional. Example of the object. Will only populated when the object is the root.

.google.protobuf.Value example = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getExampleOrBuilder()

publicValueOrBuildergetExampleOrBuilder()

Optional. Example of the object. Will only populated when the object is the root.

.google.protobuf.Value example = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ValueOrBuilder

getFormat()

publicStringgetFormat()

Optional. The format of the data. Supported formats: for NUMBER type: float, double for INTEGER type: int32, int64

string format = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The format.

getFormatBytes()

publicByteStringgetFormatBytes()

Optional. The format of the data. Supported formats: for NUMBER type: float, double for INTEGER type: int32, int64

string format = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for format.

getItems()

publicSchemagetItems()

Optional. Schema of the elements of Type.ARRAY.

.google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Schema

The items.

getItemsBuilder()

publicSchema.BuildergetItemsBuilder()

Optional. Schema of the elements of Type.ARRAY.

.google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Schema.Builder

getItemsOrBuilder()

publicSchemaOrBuildergetItemsOrBuilder()

Optional. Schema of the elements of Type.ARRAY.

.google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SchemaOrBuilder

getMutableProperties() (deprecated)

publicMap<String,Schema>getMutableProperties()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,Schema>

getNullable()

publicbooleangetNullable()

Optional. Indicates if the value may be null.

bool nullable = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The nullable.

getProperties() (deprecated)

publicMap<String,Schema>getProperties()

Use #getPropertiesMap() instead.

Returns
Type Description
Map<String,Schema>

getPropertiesCount()

publicintgetPropertiesCount()

Optional. Properties of Type.OBJECT.

map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getPropertiesMap()

publicMap<String,Schema>getPropertiesMap()

Optional. Properties of Type.OBJECT.

map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,Schema>

getPropertiesOrDefault(String key, Schema defaultValue)

publicSchemagetPropertiesOrDefault(Stringkey,SchemadefaultValue)

Optional. Properties of Type.OBJECT.

map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue Schema
Returns
Type Description
Schema

getPropertiesOrThrow(String key)

publicSchemagetPropertiesOrThrow(Stringkey)

Optional. Properties of Type.OBJECT.

map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
Schema

getRequired(int index)

publicStringgetRequired(intindex)

Optional. Required properties of Type.OBJECT.

repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The required at the given index.

getRequiredBytes(int index)

publicByteStringgetRequiredBytes(intindex)

Optional. Required properties of Type.OBJECT.

repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the required at the given index.

getRequiredCount()

publicintgetRequiredCount()

Optional. Required properties of Type.OBJECT.

repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of required.

getRequiredList()

publicProtocolStringListgetRequiredList()

Optional. Required properties of Type.OBJECT.

repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the required.

getType()

publicTypegetType()

Optional. The type of the data.

.google.cloud.vertexai.v1.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Type

The type.

getTypeValue()

publicintgetTypeValue()

Optional. The type of the data.

.google.cloud.vertexai.v1.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for type.

hasExample()

publicbooleanhasExample()

Optional. Example of the object. Will only populated when the object is the root.

.google.protobuf.Value example = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the example field is set.

hasItems()

publicbooleanhasItems()

Optional. Schema of the elements of Type.ARRAY.

.google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the items field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protectedMapFieldReflectionAccessorinternalGetMutableMapFieldReflection(intnumber)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeExample(Value value)

publicSchema.BuildermergeExample(Valuevalue)

Optional. Example of the object. Will only populated when the object is the root.

.google.protobuf.Value example = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Value
Returns
Type Description
Schema.Builder

mergeFrom(Schema other)

publicSchema.BuildermergeFrom(Schemaother)
Parameter
Name Description
other Schema
Returns
Type Description
Schema.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicSchema.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Schema.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicSchema.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Schema.Builder
Overrides

mergeItems(Schema value)

publicSchema.BuildermergeItems(Schemavalue)

Optional. Schema of the elements of Type.ARRAY.

.google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Schema
Returns
Type Description
Schema.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalSchema.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Schema.Builder
Overrides

putAllProperties(Map<String,Schema> values)

publicSchema.BuilderputAllProperties(Map<String,Schema>values)

Optional. Properties of Type.OBJECT.

map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,Schema>
Returns
Type Description
Schema.Builder

putProperties(String key, Schema value)

publicSchema.BuilderputProperties(Stringkey,Schemavalue)

Optional. Properties of Type.OBJECT.

map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value Schema
Returns
Type Description
Schema.Builder

putPropertiesBuilderIfAbsent(String key)

publicSchema.BuilderputPropertiesBuilderIfAbsent(Stringkey)

Optional. Properties of Type.OBJECT.

map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
Schema.Builder

removeProperties(String key)

publicSchema.BuilderremoveProperties(Stringkey)

Optional. Properties of Type.OBJECT.

map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
Schema.Builder

setDescription(String value)

publicSchema.BuildersetDescription(Stringvalue)

Optional. The description of the data.

string description = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Schema.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

publicSchema.BuildersetDescriptionBytes(ByteStringvalue)

Optional. The description of the data.

string description = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Schema.Builder

This builder for chaining.

setEnum(int index, String value)

publicSchema.BuildersetEnum(intindex,Stringvalue)

Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}

repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The enum to set.

Returns
Type Description
Schema.Builder

This builder for chaining.

setExample(Value value)

publicSchema.BuildersetExample(Valuevalue)

Optional. Example of the object. Will only populated when the object is the root.

.google.protobuf.Value example = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Value
Returns
Type Description
Schema.Builder

setExample(Value.Builder builderForValue)

publicSchema.BuildersetExample(Value.BuilderbuilderForValue)

Optional. Example of the object. Will only populated when the object is the root.

.google.protobuf.Value example = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Schema.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicSchema.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Schema.Builder
Overrides

setFormat(String value)

publicSchema.BuildersetFormat(Stringvalue)

Optional. The format of the data. Supported formats: for NUMBER type: float, double for INTEGER type: int32, int64

string format = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The format to set.

Returns
Type Description
Schema.Builder

This builder for chaining.

setFormatBytes(ByteString value)

publicSchema.BuildersetFormatBytes(ByteStringvalue)

Optional. The format of the data. Supported formats: for NUMBER type: float, double for INTEGER type: int32, int64

string format = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for format to set.

Returns
Type Description
Schema.Builder

This builder for chaining.

setItems(Schema value)

publicSchema.BuildersetItems(Schemavalue)

Optional. Schema of the elements of Type.ARRAY.

.google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Schema
Returns
Type Description
Schema.Builder

setItems(Schema.Builder builderForValue)

publicSchema.BuildersetItems(Schema.BuilderbuilderForValue)

Optional. Schema of the elements of Type.ARRAY.

.google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Schema.Builder
Returns
Type Description
Schema.Builder

setNullable(boolean value)

publicSchema.BuildersetNullable(booleanvalue)

Optional. Indicates if the value may be null.

bool nullable = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The nullable to set.

Returns
Type Description
Schema.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicSchema.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Schema.Builder
Overrides

setRequired(int index, String value)

publicSchema.BuildersetRequired(intindex,Stringvalue)

Optional. Required properties of Type.OBJECT.

repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The required to set.

Returns
Type Description
Schema.Builder

This builder for chaining.

setType(Type value)

publicSchema.BuildersetType(Typevalue)

Optional. The type of the data.

.google.cloud.vertexai.v1.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Type

The type to set.

Returns
Type Description
Schema.Builder

This builder for chaining.

setTypeValue(int value)

publicSchema.BuildersetTypeValue(intvalue)

Optional. The type of the data.

.google.cloud.vertexai.v1.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
Schema.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalSchema.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Schema.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.