public static final class SearchCapability.Builder extends GeneratedMessageV3.Builder<SearchCapability.Builder> implements SearchCapabilityOrBuilder
The capability and metadata of search capability.
Protobuf type google.cloud.visionai.v1.SearchCapability
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 SearchCapability.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchCapability build()
buildPartial()
public SearchCapability buildPartial()
clear()
public SearchCapability.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchCapability.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchCapability.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearType()
public SearchCapability.Builder clearType()
The search capability to enable.
.google.cloud.visionai.v1.SearchCapability.Type type = 1;
clone()
public SearchCapability.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchCapability getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getType()
public SearchCapability.Type getType()
The search capability to enable.
.google.cloud.visionai.v1.SearchCapability.Type type = 1;
getTypeValue()
public int getTypeValue()
The search capability to enable.
.google.cloud.visionai.v1.SearchCapability.Type type = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for type.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchCapability other)
public SearchCapability.Builder mergeFrom(SearchCapability other)
public SearchCapability.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchCapability.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchCapability.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SearchCapability.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchCapability.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setType(SearchCapability.Type value)
public SearchCapability.Builder setType(SearchCapability.Type value)
The search capability to enable.
.google.cloud.visionai.v1.SearchCapability.Type type = 1;
setTypeValue(int value)
public SearchCapability.Builder setTypeValue(int value)
The search capability to enable.
.google.cloud.visionai.v1.SearchCapability.Type type = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for type to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchCapability.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides