public static final class
Features.Builder
Protobuf type tensorflow.Features
Public Methods
Features.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
Features |
build()
|
Features | |
Features.Builder |
clear()
|
Features.Builder | |
Features.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
Features.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
Features.Builder |
clone()
|
boolean |
containsFeature(String key)
Map from feature name to feature. |
Features | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Map<String, Feature> |
getFeature()
Use
getFeatureMap() instead. |
int |
getFeatureCount()
Map from feature name to feature. |
Map<String, Feature> |
getFeatureMap()
Map from feature name to feature. |
Feature | |
Feature |
getFeatureOrThrow(String key)
Map from feature name to feature. |
Map<String, Feature> |
getMutableFeature()
Use alternate mutation accessors instead.
|
final boolean | |
Features.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
Features.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final Features.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Features.Builder | |
Features.Builder | |
Features.Builder |
removeFeature(String key)
Map from feature name to feature. |
Features.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
Features.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final Features.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public Features.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public boolean containsFeature (String key)
Map from feature name to feature.
map<string, .tensorflow.Feature> feature = 1;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public int getFeatureCount ()
Map from feature name to feature.
map<string, .tensorflow.Feature> feature = 1;
public Map<String, Feature> getFeatureMap ()
Map from feature name to feature.
map<string, .tensorflow.Feature> feature = 1;
public Feature getFeatureOrDefault (String key, Feature defaultValue)
Map from feature name to feature.
map<string, .tensorflow.Feature> feature = 1;
public Feature getFeatureOrThrow (String key)
Map from feature name to feature.
map<string, .tensorflow.Feature> feature = 1;
public final boolean isInitialized ()
public Features.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final Features.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public Features.Builder putAllFeature (Map<String, Feature> values)
Map from feature name to feature.
map<string, .tensorflow.Feature> feature = 1;
public Features.Builder putFeature (String key, Feature value)
Map from feature name to feature.
map<string, .tensorflow.Feature> feature = 1;
public Features.Builder removeFeature (String key)
Map from feature name to feature.
map<string, .tensorflow.Feature> feature = 1;