Class UpdateDataSchemaRequest.Builder (0.11.0)

public static final class UpdateDataSchemaRequest.Builder extends GeneratedMessageV3.Builder<UpdateDataSchemaRequest.Builder> implements UpdateDataSchemaRequestOrBuilder

Request message for UpdateDataSchema.

Protobuf type google.cloud.visionai.v1.UpdateDataSchemaRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateDataSchemaRequest build()
Returns
Type Description
UpdateDataSchemaRequest

buildPartial()

public UpdateDataSchemaRequest buildPartial()
Returns
Type Description
UpdateDataSchemaRequest

clear()

public UpdateDataSchemaRequest.Builder clear()
Returns
Type Description
UpdateDataSchemaRequest.Builder
Overrides

clearDataSchema()

public UpdateDataSchemaRequest.Builder clearDataSchema()

Required. The data schema's name field is used to identify the data schema to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}

.google.cloud.visionai.v1.DataSchema data_schema = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateDataSchemaRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateDataSchemaRequest.Builder clearUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateDataSchemaRequest.Builder

clone()

public UpdateDataSchemaRequest.Builder clone()
Returns
Type Description
UpdateDataSchemaRequest.Builder
Overrides

getDataSchema()

public DataSchema getDataSchema()

Required. The data schema's name field is used to identify the data schema to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}

.google.cloud.visionai.v1.DataSchema data_schema = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataSchema

The dataSchema.

getDataSchemaBuilder()

public DataSchema.Builder getDataSchemaBuilder()

Required. The data schema's name field is used to identify the data schema to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}

.google.cloud.visionai.v1.DataSchema data_schema = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataSchema.Builder

getDataSchemaOrBuilder()

public DataSchemaOrBuilder getDataSchemaOrBuilder()

Required. The data schema's name field is used to identify the data schema to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}

.google.cloud.visionai.v1.DataSchema data_schema = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataSchemaOrBuilder

getDefaultInstanceForType()

public UpdateDataSchemaRequest getDefaultInstanceForType()
Returns
Type Description
UpdateDataSchemaRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasDataSchema()

public boolean hasDataSchema()

Required. The data schema's name field is used to identify the data schema to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}

.google.cloud.visionai.v1.DataSchema data_schema = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dataSchema field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataSchema(DataSchema value)

public UpdateDataSchemaRequest.Builder mergeDataSchema(DataSchema value)

Required. The data schema's name field is used to identify the data schema to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}

.google.cloud.visionai.v1.DataSchema data_schema = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DataSchema
Returns
Type Description
UpdateDataSchemaRequest.Builder

mergeFrom(UpdateDataSchemaRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateDataSchemaRequest.Builder mergeUpdateMask(FieldMask value)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDataSchemaRequest.Builder

setDataSchema(DataSchema value)

public UpdateDataSchemaRequest.Builder setDataSchema(DataSchema value)

Required. The data schema's name field is used to identify the data schema to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}

.google.cloud.visionai.v1.DataSchema data_schema = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DataSchema
Returns
Type Description
UpdateDataSchemaRequest.Builder

setDataSchema(DataSchema.Builder builderForValue)

public UpdateDataSchemaRequest.Builder setDataSchema(DataSchema.Builder builderForValue)

Required. The data schema's name field is used to identify the data schema to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}

.google.cloud.visionai.v1.DataSchema data_schema = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DataSchema.Builder
Returns
Type Description
UpdateDataSchemaRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateDataSchemaRequest.Builder setUpdateMask(FieldMask value)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDataSchemaRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateDataSchemaRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateDataSchemaRequest.Builder