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.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
public static final Descriptors.Descriptor getDescriptor()
Methods
public ImageClassificationDatasetMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImageClassificationDatasetMetadata build()
public ImageClassificationDatasetMetadata buildPartial()
public ImageClassificationDatasetMetadata.Builder clear()
Overrides
public ImageClassificationDatasetMetadata.Builder clearClassificationType()
Required. Type of the classification problem.
.google.cloud.automl.v1beta1.ClassificationType classification_type = 1;
public ImageClassificationDatasetMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ImageClassificationDatasetMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ImageClassificationDatasetMetadata.Builder clone()
Overrides
public ClassificationProto.ClassificationType getClassificationType()
Required. Type of the classification problem.
.google.cloud.automl.v1beta1.ClassificationType classification_type = 1;
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()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ImageClassificationDatasetMetadata.Builder mergeFrom(ImageClassificationDatasetMetadata other)
public ImageClassificationDatasetMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ImageClassificationDatasetMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ImageClassificationDatasetMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ImageClassificationDatasetMetadata.Builder setClassificationType(ClassificationProto.ClassificationType value)
Required. Type of the classification problem.
.google.cloud.automl.v1beta1.ClassificationType classification_type = 1;
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.
|
public ImageClassificationDatasetMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImageClassificationDatasetMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ImageClassificationDatasetMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides