Package org.platanios.tensorflow.proto
Class Feature.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
-
- org.platanios.tensorflow.proto.Feature.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,FeatureOrBuilder
- Enclosing class:
- Feature
public static final class Feature.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder> implements FeatureOrBuilder
Containers for non-sequential data.
Protobuf typeorg.platanios.tensorflow.proto.Feature
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Feature.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Feature
build()
Feature
buildPartial()
Feature.Builder
clear()
Feature.Builder
clearBytesList()
.org.platanios.tensorflow.proto.BytesList bytes_list = 1;
Feature.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Feature.Builder
clearFloatList()
.org.platanios.tensorflow.proto.FloatList float_list = 2;
Feature.Builder
clearInt64List()
.org.platanios.tensorflow.proto.Int64List int64_list = 3;
Feature.Builder
clearKind()
Feature.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Feature.Builder
clone()
BytesList
getBytesList()
.org.platanios.tensorflow.proto.BytesList bytes_list = 1;
BytesList.Builder
getBytesListBuilder()
.org.platanios.tensorflow.proto.BytesList bytes_list = 1;
BytesListOrBuilder
getBytesListOrBuilder()
.org.platanios.tensorflow.proto.BytesList bytes_list = 1;
Feature
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
FloatList
getFloatList()
.org.platanios.tensorflow.proto.FloatList float_list = 2;
FloatList.Builder
getFloatListBuilder()
.org.platanios.tensorflow.proto.FloatList float_list = 2;
FloatListOrBuilder
getFloatListOrBuilder()
.org.platanios.tensorflow.proto.FloatList float_list = 2;
Int64List
getInt64List()
.org.platanios.tensorflow.proto.Int64List int64_list = 3;
Int64List.Builder
getInt64ListBuilder()
.org.platanios.tensorflow.proto.Int64List int64_list = 3;
Int64ListOrBuilder
getInt64ListOrBuilder()
.org.platanios.tensorflow.proto.Int64List int64_list = 3;
Feature.KindCase
getKindCase()
boolean
hasBytesList()
.org.platanios.tensorflow.proto.BytesList bytes_list = 1;
boolean
hasFloatList()
.org.platanios.tensorflow.proto.FloatList float_list = 2;
boolean
hasInt64List()
.org.platanios.tensorflow.proto.Int64List int64_list = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Feature.Builder
mergeBytesList(BytesList value)
.org.platanios.tensorflow.proto.BytesList bytes_list = 1;
Feature.Builder
mergeFloatList(FloatList value)
.org.platanios.tensorflow.proto.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
mergeFrom(Feature other)
Feature.Builder
mergeInt64List(Int64List value)
.org.platanios.tensorflow.proto.Int64List int64_list = 3;
Feature.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Feature.Builder
setBytesList(BytesList value)
.org.platanios.tensorflow.proto.BytesList bytes_list = 1;
Feature.Builder
setBytesList(BytesList.Builder builderForValue)
.org.platanios.tensorflow.proto.BytesList bytes_list = 1;
Feature.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Feature.Builder
setFloatList(FloatList value)
.org.platanios.tensorflow.proto.FloatList float_list = 2;
Feature.Builder
setFloatList(FloatList.Builder builderForValue)
.org.platanios.tensorflow.proto.FloatList float_list = 2;
Feature.Builder
setInt64List(Int64List value)
.org.platanios.tensorflow.proto.Int64List int64_list = 3;
Feature.Builder
setInt64List(Int64List.Builder builderForValue)
.org.platanios.tensorflow.proto.Int64List int64_list = 3;
Feature.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Feature.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
-
clear
public Feature.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
-
getDefaultInstanceForType
public Feature getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Feature build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Feature buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Feature.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
-
setField
public Feature.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
-
clearField
public Feature.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
-
clearOneof
public Feature.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
-
setRepeatedField
public Feature.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
-
addRepeatedField
public Feature.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
-
mergeFrom
public Feature.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Feature.Builder>
-
mergeFrom
public Feature.Builder mergeFrom(Feature other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
-
mergeFrom
public Feature.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Feature.Builder>
- Throws:
java.io.IOException
-
getKindCase
public Feature.KindCase getKindCase()
- Specified by:
getKindCase
in interfaceFeatureOrBuilder
-
clearKind
public Feature.Builder clearKind()
-
hasBytesList
public boolean hasBytesList()
.org.platanios.tensorflow.proto.BytesList bytes_list = 1;
- Specified by:
hasBytesList
in interfaceFeatureOrBuilder
- Returns:
- Whether the bytesList field is set.
-
getBytesList
public BytesList getBytesList()
.org.platanios.tensorflow.proto.BytesList bytes_list = 1;
- Specified by:
getBytesList
in interfaceFeatureOrBuilder
- Returns:
- The bytesList.
-
setBytesList
public Feature.Builder setBytesList(BytesList value)
.org.platanios.tensorflow.proto.BytesList bytes_list = 1;
-
setBytesList
public Feature.Builder setBytesList(BytesList.Builder builderForValue)
.org.platanios.tensorflow.proto.BytesList bytes_list = 1;
-
mergeBytesList
public Feature.Builder mergeBytesList(BytesList value)
.org.platanios.tensorflow.proto.BytesList bytes_list = 1;
-
clearBytesList
public Feature.Builder clearBytesList()
.org.platanios.tensorflow.proto.BytesList bytes_list = 1;
-
getBytesListBuilder
public BytesList.Builder getBytesListBuilder()
.org.platanios.tensorflow.proto.BytesList bytes_list = 1;
-
getBytesListOrBuilder
public BytesListOrBuilder getBytesListOrBuilder()
.org.platanios.tensorflow.proto.BytesList bytes_list = 1;
- Specified by:
getBytesListOrBuilder
in interfaceFeatureOrBuilder
-
hasFloatList
public boolean hasFloatList()
.org.platanios.tensorflow.proto.FloatList float_list = 2;
- Specified by:
hasFloatList
in interfaceFeatureOrBuilder
- Returns:
- Whether the floatList field is set.
-
getFloatList
public FloatList getFloatList()
.org.platanios.tensorflow.proto.FloatList float_list = 2;
- Specified by:
getFloatList
in interfaceFeatureOrBuilder
- Returns:
- The floatList.
-
setFloatList
public Feature.Builder setFloatList(FloatList value)
.org.platanios.tensorflow.proto.FloatList float_list = 2;
-
setFloatList
public Feature.Builder setFloatList(FloatList.Builder builderForValue)
.org.platanios.tensorflow.proto.FloatList float_list = 2;
-
mergeFloatList
public Feature.Builder mergeFloatList(FloatList value)
.org.platanios.tensorflow.proto.FloatList float_list = 2;
-
clearFloatList
public Feature.Builder clearFloatList()
.org.platanios.tensorflow.proto.FloatList float_list = 2;
-
getFloatListBuilder
public FloatList.Builder getFloatListBuilder()
.org.platanios.tensorflow.proto.FloatList float_list = 2;
-
getFloatListOrBuilder
public FloatListOrBuilder getFloatListOrBuilder()
.org.platanios.tensorflow.proto.FloatList float_list = 2;
- Specified by:
getFloatListOrBuilder
in interfaceFeatureOrBuilder
-
hasInt64List
public boolean hasInt64List()
.org.platanios.tensorflow.proto.Int64List int64_list = 3;
- Specified by:
hasInt64List
in interfaceFeatureOrBuilder
- Returns:
- Whether the int64List field is set.
-
getInt64List
public Int64List getInt64List()
.org.platanios.tensorflow.proto.Int64List int64_list = 3;
- Specified by:
getInt64List
in interfaceFeatureOrBuilder
- Returns:
- The int64List.
-
setInt64List
public Feature.Builder setInt64List(Int64List value)
.org.platanios.tensorflow.proto.Int64List int64_list = 3;
-
setInt64List
public Feature.Builder setInt64List(Int64List.Builder builderForValue)
.org.platanios.tensorflow.proto.Int64List int64_list = 3;
-
mergeInt64List
public Feature.Builder mergeInt64List(Int64List value)
.org.platanios.tensorflow.proto.Int64List int64_list = 3;
-
clearInt64List
public Feature.Builder clearInt64List()
.org.platanios.tensorflow.proto.Int64List int64_list = 3;
-
getInt64ListBuilder
public Int64List.Builder getInt64ListBuilder()
.org.platanios.tensorflow.proto.Int64List int64_list = 3;
-
getInt64ListOrBuilder
public Int64ListOrBuilder getInt64ListOrBuilder()
.org.platanios.tensorflow.proto.Int64List int64_list = 3;
- Specified by:
getInt64ListOrBuilder
in interfaceFeatureOrBuilder
-
setUnknownFields
public final Feature.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
-
mergeUnknownFields
public final Feature.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
-
-