Class TensorSliceProto.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, TensorSliceProtoOrBuilder
    Enclosing class:
    TensorSliceProto

    public static final class TensorSliceProto.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
    implements TensorSliceProtoOrBuilder
     Can only be interpreted if you know the corresponding TensorShape.
     
    Protobuf type org.platanios.tensorflow.proto.TensorSliceProto
    • 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<TensorSliceProto.Builder>
      • clear

        public TensorSliceProto.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<TensorSliceProto.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<TensorSliceProto.Builder>
      • getDefaultInstanceForType

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

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

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

        public TensorSliceProto.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<TensorSliceProto.Builder>
      • setField

        public TensorSliceProto.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<TensorSliceProto.Builder>
      • clearField

        public TensorSliceProto.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<TensorSliceProto.Builder>
      • clearOneof

        public TensorSliceProto.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<TensorSliceProto.Builder>
      • setRepeatedField

        public TensorSliceProto.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<TensorSliceProto.Builder>
      • addRepeatedField

        public TensorSliceProto.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<TensorSliceProto.Builder>
      • mergeFrom

        public TensorSliceProto.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<TensorSliceProto.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
      • mergeFrom

        public TensorSliceProto.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<TensorSliceProto.Builder>
        Throws:
        java.io.IOException
      • getExtentList

        public java.util.List<TensorSliceProto.Extent> getExtentList()
         Extent of the slice in all tensor dimensions.
         Must have one entry for each of the dimension of the tensor that this
         slice belongs to.  The order of sizes is the same as the order of
         dimensions in the TensorShape.
         
        repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
        Specified by:
        getExtentList in interface TensorSliceProtoOrBuilder
      • getExtentCount

        public int getExtentCount()
         Extent of the slice in all tensor dimensions.
         Must have one entry for each of the dimension of the tensor that this
         slice belongs to.  The order of sizes is the same as the order of
         dimensions in the TensorShape.
         
        repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
        Specified by:
        getExtentCount in interface TensorSliceProtoOrBuilder
      • getExtent

        public TensorSliceProto.Extent getExtent​(int index)
         Extent of the slice in all tensor dimensions.
         Must have one entry for each of the dimension of the tensor that this
         slice belongs to.  The order of sizes is the same as the order of
         dimensions in the TensorShape.
         
        repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
        Specified by:
        getExtent in interface TensorSliceProtoOrBuilder
      • setExtent

        public TensorSliceProto.Builder setExtent​(int index,
                                                  TensorSliceProto.Extent value)
         Extent of the slice in all tensor dimensions.
         Must have one entry for each of the dimension of the tensor that this
         slice belongs to.  The order of sizes is the same as the order of
         dimensions in the TensorShape.
         
        repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
      • setExtent

        public TensorSliceProto.Builder setExtent​(int index,
                                                  TensorSliceProto.Extent.Builder builderForValue)
         Extent of the slice in all tensor dimensions.
         Must have one entry for each of the dimension of the tensor that this
         slice belongs to.  The order of sizes is the same as the order of
         dimensions in the TensorShape.
         
        repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
      • addExtent

        public TensorSliceProto.Builder addExtent​(TensorSliceProto.Extent value)
         Extent of the slice in all tensor dimensions.
         Must have one entry for each of the dimension of the tensor that this
         slice belongs to.  The order of sizes is the same as the order of
         dimensions in the TensorShape.
         
        repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
      • addExtent

        public TensorSliceProto.Builder addExtent​(int index,
                                                  TensorSliceProto.Extent value)
         Extent of the slice in all tensor dimensions.
         Must have one entry for each of the dimension of the tensor that this
         slice belongs to.  The order of sizes is the same as the order of
         dimensions in the TensorShape.
         
        repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
      • addExtent

        public TensorSliceProto.Builder addExtent​(TensorSliceProto.Extent.Builder builderForValue)
         Extent of the slice in all tensor dimensions.
         Must have one entry for each of the dimension of the tensor that this
         slice belongs to.  The order of sizes is the same as the order of
         dimensions in the TensorShape.
         
        repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
      • addExtent

        public TensorSliceProto.Builder addExtent​(int index,
                                                  TensorSliceProto.Extent.Builder builderForValue)
         Extent of the slice in all tensor dimensions.
         Must have one entry for each of the dimension of the tensor that this
         slice belongs to.  The order of sizes is the same as the order of
         dimensions in the TensorShape.
         
        repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
      • addAllExtent

        public TensorSliceProto.Builder addAllExtent​(java.lang.Iterable<? extends TensorSliceProto.Extent> values)
         Extent of the slice in all tensor dimensions.
         Must have one entry for each of the dimension of the tensor that this
         slice belongs to.  The order of sizes is the same as the order of
         dimensions in the TensorShape.
         
        repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
      • clearExtent

        public TensorSliceProto.Builder clearExtent()
         Extent of the slice in all tensor dimensions.
         Must have one entry for each of the dimension of the tensor that this
         slice belongs to.  The order of sizes is the same as the order of
         dimensions in the TensorShape.
         
        repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
      • removeExtent

        public TensorSliceProto.Builder removeExtent​(int index)
         Extent of the slice in all tensor dimensions.
         Must have one entry for each of the dimension of the tensor that this
         slice belongs to.  The order of sizes is the same as the order of
         dimensions in the TensorShape.
         
        repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
      • getExtentBuilder

        public TensorSliceProto.Extent.Builder getExtentBuilder​(int index)
         Extent of the slice in all tensor dimensions.
         Must have one entry for each of the dimension of the tensor that this
         slice belongs to.  The order of sizes is the same as the order of
         dimensions in the TensorShape.
         
        repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
      • getExtentOrBuilder

        public TensorSliceProto.ExtentOrBuilder getExtentOrBuilder​(int index)
         Extent of the slice in all tensor dimensions.
         Must have one entry for each of the dimension of the tensor that this
         slice belongs to.  The order of sizes is the same as the order of
         dimensions in the TensorShape.
         
        repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
        Specified by:
        getExtentOrBuilder in interface TensorSliceProtoOrBuilder
      • getExtentOrBuilderList

        public java.util.List<? extends TensorSliceProto.ExtentOrBuilder> getExtentOrBuilderList()
         Extent of the slice in all tensor dimensions.
         Must have one entry for each of the dimension of the tensor that this
         slice belongs to.  The order of sizes is the same as the order of
         dimensions in the TensorShape.
         
        repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
        Specified by:
        getExtentOrBuilderList in interface TensorSliceProtoOrBuilder
      • addExtentBuilder

        public TensorSliceProto.Extent.Builder addExtentBuilder()
         Extent of the slice in all tensor dimensions.
         Must have one entry for each of the dimension of the tensor that this
         slice belongs to.  The order of sizes is the same as the order of
         dimensions in the TensorShape.
         
        repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
      • addExtentBuilder

        public TensorSliceProto.Extent.Builder addExtentBuilder​(int index)
         Extent of the slice in all tensor dimensions.
         Must have one entry for each of the dimension of the tensor that this
         slice belongs to.  The order of sizes is the same as the order of
         dimensions in the TensorShape.
         
        repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
      • getExtentBuilderList

        public java.util.List<TensorSliceProto.Extent.Builder> getExtentBuilderList()
         Extent of the slice in all tensor dimensions.
         Must have one entry for each of the dimension of the tensor that this
         slice belongs to.  The order of sizes is the same as the order of
         dimensions in the TensorShape.
         
        repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
      • setUnknownFields

        public final TensorSliceProto.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<TensorSliceProto.Builder>
      • mergeUnknownFields

        public final TensorSliceProto.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<TensorSliceProto.Builder>