Feature.Builder

public static final class Feature.Builder

 Containers for non-sequential data.
 
Protobuf type tensorflow.Feature

Public Methods

Feature.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Feature
build()
Feature
Feature.Builder
clear()
Feature.Builder
clearBytesList()
.tensorflow.BytesList bytes_list = 1;
Feature.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Feature.Builder
clearFloatList()
.tensorflow.FloatList float_list = 2;
Feature.Builder
clearInt64List()
.tensorflow.Int64List int64_list = 3;
Feature.Builder
Feature.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Feature.Builder
clone()
BytesList
getBytesList()
.tensorflow.BytesList bytes_list = 1;
BytesList.Builder
getBytesListBuilder()
.tensorflow.BytesList bytes_list = 1;
BytesListOrBuilder
getBytesListOrBuilder()
.tensorflow.BytesList bytes_list = 1;
Feature
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
FloatList
getFloatList()
.tensorflow.FloatList float_list = 2;
FloatList.Builder
getFloatListBuilder()
.tensorflow.FloatList float_list = 2;
FloatListOrBuilder
getFloatListOrBuilder()
.tensorflow.FloatList float_list = 2;
Int64List
getInt64List()
.tensorflow.Int64List int64_list = 3;
Int64List.Builder
getInt64ListBuilder()
.tensorflow.Int64List int64_list = 3;
Int64ListOrBuilder
getInt64ListOrBuilder()
.tensorflow.Int64List int64_list = 3;
Feature.KindCase
boolean
hasBytesList()
.tensorflow.BytesList bytes_list = 1;
boolean
hasFloatList()
.tensorflow.FloatList float_list = 2;
boolean
hasInt64List()
.tensorflow.Int64List int64_list = 3;
final boolean
Feature.Builder
mergeBytesList(BytesList value)
.tensorflow.BytesList bytes_list = 1;
Feature.Builder
mergeFloatList(FloatList value)
.tensorflow.FloatList float_list = 2;
Feature.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Feature.Builder
mergeFrom(com.google.protobuf.Message other)
Feature.Builder
mergeInt64List(Int64List value)
.tensorflow.Int64List int64_list = 3;
final Feature.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Feature.Builder
setBytesList(BytesList value)
.tensorflow.BytesList bytes_list = 1;
Feature.Builder
setBytesList(BytesList.Builder builderForValue)
.tensorflow.BytesList bytes_list = 1;
Feature.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Feature.Builder
setFloatList(FloatList value)
.tensorflow.FloatList float_list = 2;
Feature.Builder
setFloatList(FloatList.Builder builderForValue)
.tensorflow.FloatList float_list = 2;
Feature.Builder
setInt64List(Int64List.Builder builderForValue)
.tensorflow.Int64List int64_list = 3;
Feature.Builder
setInt64List(Int64List value)
.tensorflow.Int64List int64_list = 3;
Feature.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final Feature.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public Feature.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public Feature build ()

public Feature buildPartial ()

public Feature.Builder clear ()

public Feature.Builder clearBytesList ()

.tensorflow.BytesList bytes_list = 1;

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

public Feature.Builder clearFloatList ()

.tensorflow.FloatList float_list = 2;

public Feature.Builder clearInt64List ()

.tensorflow.Int64List int64_list = 3;

public Feature.Builder clearKind ()

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

public Feature.Builder clone ()

public BytesList getBytesList ()

.tensorflow.BytesList bytes_list = 1;

public BytesList.Builder getBytesListBuilder ()

.tensorflow.BytesList bytes_list = 1;

public BytesListOrBuilder getBytesListOrBuilder ()

.tensorflow.BytesList bytes_list = 1;

public Feature getDefaultInstanceForType ()

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

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

public FloatList getFloatList ()

.tensorflow.FloatList float_list = 2;

public FloatList.Builder getFloatListBuilder ()

.tensorflow.FloatList float_list = 2;

public FloatListOrBuilder getFloatListOrBuilder ()

.tensorflow.FloatList float_list = 2;

public Int64List getInt64List ()

.tensorflow.Int64List int64_list = 3;

public Int64List.Builder getInt64ListBuilder ()

.tensorflow.Int64List int64_list = 3;

public Int64ListOrBuilder getInt64ListOrBuilder ()

.tensorflow.Int64List int64_list = 3;

public Feature.KindCase getKindCase ()

public boolean hasBytesList ()

.tensorflow.BytesList bytes_list = 1;

public boolean hasFloatList ()

.tensorflow.FloatList float_list = 2;

public boolean hasInt64List ()

.tensorflow.Int64List int64_list = 3;

public final boolean isInitialized ()

public Feature.Builder mergeBytesList (BytesList value)

.tensorflow.BytesList bytes_list = 1;

public Feature.Builder mergeFloatList (FloatList value)

.tensorflow.FloatList float_list = 2;

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

Throws
IOException

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

public Feature.Builder mergeInt64List (Int64List value)

.tensorflow.Int64List int64_list = 3;

public final Feature.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public Feature.Builder setBytesList (BytesList value)

.tensorflow.BytesList bytes_list = 1;

public Feature.Builder setBytesList (BytesList.Builder builderForValue)

.tensorflow.BytesList bytes_list = 1;

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

public Feature.Builder setFloatList (FloatList value)

.tensorflow.FloatList float_list = 2;

public Feature.Builder setFloatList (FloatList.Builder builderForValue)

.tensorflow.FloatList float_list = 2;

public Feature.Builder setInt64List (Int64List.Builder builderForValue)

.tensorflow.Int64List int64_list = 3;

public Feature.Builder setInt64List (Int64List value)

.tensorflow.Int64List int64_list = 3;

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

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