public static final class ImageClassificationDatasetMetadata.Builder extends GeneratedMessageV3.Builder<ImageClassificationDatasetMetadata.Builder> implements ImageClassificationDatasetMetadataOrBuilder
Dataset metadata that is specific to image classification.
Protobuf type google.cloud.automl.v1beta1.ImageClassificationDatasetMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ImageClassificationDatasetMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImageClassificationDatasetMetadata build()
Returns
public ImageClassificationDatasetMetadata buildPartial()
Returns
public ImageClassificationDatasetMetadata.Builder clear()
Returns
Overrides
public ImageClassificationDatasetMetadata.Builder clearClassificationType()
Required. Type of the classification problem.
.google.cloud.automl.v1beta1.ClassificationType classification_type = 1;
Returns
public ImageClassificationDatasetMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ImageClassificationDatasetMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ImageClassificationDatasetMetadata.Builder clone()
Returns
Overrides
public ClassificationProto.ClassificationType getClassificationType()
Required. Type of the classification problem.
.google.cloud.automl.v1beta1.ClassificationType classification_type = 1;
Returns
public int getClassificationTypeValue()
Required. Type of the classification problem.
.google.cloud.automl.v1beta1.ClassificationType classification_type = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for classificationType.
|
public ImageClassificationDatasetMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ImageClassificationDatasetMetadata.Builder mergeFrom(ImageClassificationDatasetMetadata other)
Parameter
Returns
public ImageClassificationDatasetMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ImageClassificationDatasetMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ImageClassificationDatasetMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ImageClassificationDatasetMetadata.Builder setClassificationType(ClassificationProto.ClassificationType value)
Required. Type of the classification problem.
.google.cloud.automl.v1beta1.ClassificationType classification_type = 1;
Parameter
Returns
public ImageClassificationDatasetMetadata.Builder setClassificationTypeValue(int value)
Required. Type of the classification problem.
.google.cloud.automl.v1beta1.ClassificationType classification_type = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for classificationType to set.
|
Returns
public ImageClassificationDatasetMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImageClassificationDatasetMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ImageClassificationDatasetMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides