public static final class UpdateDataSchemaRequest.Builder extends GeneratedMessageV3.Builder<UpdateDataSchemaRequest.Builder> implements UpdateDataSchemaRequestOrBuilder
Request message for UpdateDataSchema.
Protobuf type google.cloud.visionai.v1.UpdateDataSchemaRequest
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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateDataSchemaRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateDataSchemaRequest build()
buildPartial()
public UpdateDataSchemaRequest buildPartial()
clear()
public UpdateDataSchemaRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public UpdateDataSchemaRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateDataSchemaRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateDataSchemaRequest.Builder clearUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
clone()
public UpdateDataSchemaRequest.Builder clone()
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];
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];
getDefaultInstanceForType()
public UpdateDataSchemaRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(UpdateDataSchemaRequest other)
public UpdateDataSchemaRequest.Builder mergeFrom(UpdateDataSchemaRequest other)
public UpdateDataSchemaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateDataSchemaRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDataSchemaRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateDataSchemaRequest.Builder mergeUpdateMask(FieldMask value)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateDataSchemaRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateDataSchemaRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDataSchemaRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateDataSchemaRequest.Builder setUpdateMask(FieldMask value)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
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
|