org.tensorflow.example.FeaturesOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/example/feature.proto
package org.tensorflow.example;
public interface FeaturesOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.Features)
com.google.protobuf.MessageOrBuilder {
/**
*
* Map from feature name to feature.
*
*
* map<string, .tensorflow.Feature> feature = 1;
*/
int getFeatureCount();
/**
*
* Map from feature name to feature.
*
*
* map<string, .tensorflow.Feature> feature = 1;
*/
boolean containsFeature(
java.lang.String key);
/**
* Use {@link #getFeatureMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getFeature();
/**
*
* Map from feature name to feature.
*
*
* map<string, .tensorflow.Feature> feature = 1;
*/
java.util.Map
getFeatureMap();
/**
*
* Map from feature name to feature.
*
*
* map<string, .tensorflow.Feature> feature = 1;
*/
org.tensorflow.example.Feature getFeatureOrDefault(
java.lang.String key,
org.tensorflow.example.Feature defaultValue);
/**
*
* Map from feature name to feature.
*
*
* map<string, .tensorflow.Feature> feature = 1;
*/
org.tensorflow.example.Feature getFeatureOrThrow(
java.lang.String key);
}