Class ModelMonitoringSchema.FieldSchema.Builder (3.44.0)

public static final class ModelMonitoringSchema.FieldSchema.Builder extends GeneratedMessageV3.Builder<ModelMonitoringSchema.FieldSchema.Builder> implements ModelMonitoringSchema.FieldSchemaOrBuilder

Schema field definition.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.FieldSchema

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringSchema.FieldSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder
Overrides

build()

public ModelMonitoringSchema.FieldSchema build()
Returns
Type Description
ModelMonitoringSchema.FieldSchema

buildPartial()

public ModelMonitoringSchema.FieldSchema buildPartial()
Returns
Type Description
ModelMonitoringSchema.FieldSchema

clear()

public ModelMonitoringSchema.FieldSchema.Builder clear()
Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder
Overrides

clearDataType()

public ModelMonitoringSchema.FieldSchema.Builder clearDataType()

Supported data types are: float integer boolean string categorical

string data_type = 2;

Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ModelMonitoringSchema.FieldSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder
Overrides

clearName()

public ModelMonitoringSchema.FieldSchema.Builder clearName()

Field name.

string name = 1;

Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelMonitoringSchema.FieldSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder
Overrides

clearRepeated()

public ModelMonitoringSchema.FieldSchema.Builder clearRepeated()

Describes if the schema field is an array of given data type.

bool repeated = 3;

Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder

This builder for chaining.

clone()

public ModelMonitoringSchema.FieldSchema.Builder clone()
Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder
Overrides

getDataType()

public String getDataType()

Supported data types are: float integer boolean string categorical

string data_type = 2;

Returns
Type Description
String

The dataType.

getDataTypeBytes()

public ByteString getDataTypeBytes()

Supported data types are: float integer boolean string categorical

string data_type = 2;

Returns
Type Description
ByteString

The bytes for dataType.

getDefaultInstanceForType()

public ModelMonitoringSchema.FieldSchema getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringSchema.FieldSchema

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Field name.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Field name.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getRepeated()

public boolean getRepeated()

Describes if the schema field is an array of given data type.

bool repeated = 3;

Returns
Type Description
boolean

The repeated.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModelMonitoringSchema.FieldSchema other)

public ModelMonitoringSchema.FieldSchema.Builder mergeFrom(ModelMonitoringSchema.FieldSchema other)
Parameter
Name Description
other ModelMonitoringSchema.FieldSchema
Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModelMonitoringSchema.FieldSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ModelMonitoringSchema.FieldSchema.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringSchema.FieldSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder
Overrides

setDataType(String value)

public ModelMonitoringSchema.FieldSchema.Builder setDataType(String value)

Supported data types are: float integer boolean string categorical

string data_type = 2;

Parameter
Name Description
value String

The dataType to set.

Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder

This builder for chaining.

setDataTypeBytes(ByteString value)

public ModelMonitoringSchema.FieldSchema.Builder setDataTypeBytes(ByteString value)

Supported data types are: float integer boolean string categorical

string data_type = 2;

Parameter
Name Description
value ByteString

The bytes for dataType to set.

Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringSchema.FieldSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder
Overrides

setName(String value)

public ModelMonitoringSchema.FieldSchema.Builder setName(String value)

Field name.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ModelMonitoringSchema.FieldSchema.Builder setNameBytes(ByteString value)

Field name.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder

This builder for chaining.

setRepeated(boolean value)

public ModelMonitoringSchema.FieldSchema.Builder setRepeated(boolean value)

Describes if the schema field is an array of given data type.

bool repeated = 3;

Parameter
Name Description
value boolean

The repeated to set.

Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder

This builder for chaining.

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

public ModelMonitoringSchema.FieldSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringSchema.FieldSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringSchema.FieldSchema.Builder
Overrides