// Targeted by JavaCPP version 1.5.6: DO NOT EDIT THIS FILE

package org.tensorflow.internal.c_api;

import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;

import static org.tensorflow.internal.c_api.global.tensorflow.*;


@Properties(inherit = org.tensorflow.internal.c_api.presets.tensorflow.class)
public class TF_TString_Small extends Pointer {
    static { Loader.load(); }
    /** Default native constructor. */
    public TF_TString_Small() { super((Pointer)null); allocate(); }
    /** Native array allocator. Access with {@link Pointer#position(long)}. */
    public TF_TString_Small(long size) { super((Pointer)null); allocateArray(size); }
    /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
    public TF_TString_Small(Pointer p) { super(p); }
    private native void allocate();
    private native void allocateArray(long size);
    @Override public TF_TString_Small position(long position) {
        return (TF_TString_Small)super.position(position);
    }
    @Override public TF_TString_Small getPointer(long i) {
        return new TF_TString_Small((Pointer)this).offsetAddress(i);
    }
  // NOLINT
  public native @Cast("uint8_t") byte size(); public native TF_TString_Small size(byte setter);
  public native @Cast("char") byte str(int i); public native TF_TString_Small str(int i, byte setter);
  @MemberGetter public native @Cast("char*") BytePointer str();
}
