Features.Builder

public static final class Features.Builder

Protobuf type tensorflow.Features

Public Methods

Features.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Features
Features
Features.Builder
Features.Builder
Features.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
Features.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
Features.Builder
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 >
int
getFeatureCount ()
 Map from feature name to feature.
Map<String, Feature >
getFeatureMap ()
 Map from feature name to feature.
Feature
getFeatureOrDefault (String key, Feature defaultValue)
 Map from feature name to 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
putAllFeature (Map<String, Feature > values)
 Map from feature name to feature.
Features.Builder
putFeature (String key, Feature value)
 Map from feature name to feature.
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 Features build ()

public Features buildPartial ()

public Features.Builder clear ()

public Features.Builder clearFeature ()

public Features.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public Features.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public Features.Builder clone ()

public boolean containsFeature (String key)

 Map from feature name to feature.
 
map<string, .tensorflow.Feature> feature = 1;

public Features getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public Map<String, Feature > getFeature ()

Use getFeatureMap() instead.

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 Map<String, Feature > getMutableFeature ()

Use alternate mutation accessors instead.

public final boolean isInitialized ()

public Features.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public Features.Builder mergeFrom (com.google.protobuf.Message other)

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;

public Features.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public Features.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public final Features.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)