Class 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 type org.platanios.tensorflow.proto.Feature
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
      • clear

        public Feature.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
      • getDefaultInstanceForType

        public Feature getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Feature build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Feature buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Feature.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
      • clearField

        public Feature.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
      • clearOneof

        public Feature.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
      • mergeFrom

        public Feature.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Feature.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Feature.Builder>
        Throws:
        java.io.IOException
      • hasBytesList

        public boolean hasBytesList()
        .org.platanios.tensorflow.proto.BytesList bytes_list = 1;
        Specified by:
        hasBytesList in interface FeatureOrBuilder
        Returns:
        Whether the bytesList field is set.
      • getBytesList

        public BytesList getBytesList()
        .org.platanios.tensorflow.proto.BytesList bytes_list = 1;
        Specified by:
        getBytesList in interface FeatureOrBuilder
        Returns:
        The bytesList.
      • setBytesList

        public Feature.Builder setBytesList​(BytesList value)
        .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;
      • hasFloatList

        public boolean hasFloatList()
        .org.platanios.tensorflow.proto.FloatList float_list = 2;
        Specified by:
        hasFloatList in interface FeatureOrBuilder
        Returns:
        Whether the floatList field is set.
      • getFloatList

        public FloatList getFloatList()
        .org.platanios.tensorflow.proto.FloatList float_list = 2;
        Specified by:
        getFloatList in interface FeatureOrBuilder
        Returns:
        The floatList.
      • setFloatList

        public Feature.Builder setFloatList​(FloatList value)
        .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;
      • hasInt64List

        public boolean hasInt64List()
        .org.platanios.tensorflow.proto.Int64List int64_list = 3;
        Specified by:
        hasInt64List in interface FeatureOrBuilder
        Returns:
        Whether the int64List field is set.
      • getInt64List

        public Int64List getInt64List()
        .org.platanios.tensorflow.proto.Int64List int64_list = 3;
        Specified by:
        getInt64List in interface FeatureOrBuilder
        Returns:
        The int64List.
      • setInt64List

        public Feature.Builder setInt64List​(Int64List value)
        .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;
      • setUnknownFields

        public final Feature.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
      • mergeUnknownFields

        public final Feature.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>