All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bytedeco.tensorflow.TrackableObjectGraph_TrackableObject Maven / Gradle / Ivy

The newest version!
// Targeted by JavaCPP version 1.5.8: DO NOT EDIT THIS FILE

package org.bytedeco.tensorflow;

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

import static org.bytedeco.javacpp.presets.javacpp.*;

import static org.bytedeco.tensorflow.global.tensorflow.*;

// -------------------------------------------------------------------

@Namespace("tensorflow") @NoOffset @Properties(inherit = org.bytedeco.tensorflow.presets.tensorflow.class)
public class TrackableObjectGraph_TrackableObject extends MessageLite {
    static { Loader.load(); }
    /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
    public TrackableObjectGraph_TrackableObject(Pointer p) { super(p); }
    /** Native array allocator. Access with {@link Pointer#position(long)}. */
    public TrackableObjectGraph_TrackableObject(long size) { super((Pointer)null); allocateArray(size); }
    private native void allocateArray(long size);
    @Override public TrackableObjectGraph_TrackableObject position(long position) {
        return (TrackableObjectGraph_TrackableObject)super.position(position);
    }
    @Override public TrackableObjectGraph_TrackableObject getPointer(long i) {
        return new TrackableObjectGraph_TrackableObject((Pointer)this).offsetAddress(i);
    }

  public TrackableObjectGraph_TrackableObject() { super((Pointer)null); allocate(); }
  private native void allocate();

  public TrackableObjectGraph_TrackableObject(@Const @ByRef TrackableObjectGraph_TrackableObject from) { super((Pointer)null); allocate(from); }
  private native void allocate(@Const @ByRef TrackableObjectGraph_TrackableObject from);

  public native @ByRef @Name("operator =") TrackableObjectGraph_TrackableObject put(@Const @ByRef TrackableObjectGraph_TrackableObject from);

  public native Arena GetArena();
  public native Pointer GetMaybeArenaPointer();
  public static native @Cast("const google::protobuf::Descriptor*") Pointer descriptor();
  public static native @Cast("const google::protobuf::Descriptor*") Pointer GetDescriptor();
  public static native @Cast("const google::protobuf::Reflection*") Pointer GetReflection();
  public static native @Const @ByRef TrackableObjectGraph_TrackableObject default_instance();

  public static native void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  public static native @Const TrackableObjectGraph_TrackableObject internal_default_instance();
  @MemberGetter public static native int kIndexInFileMessages();
  public static final int kIndexInFileMessages = kIndexInFileMessages();

  public native void UnsafeArenaSwap(TrackableObjectGraph_TrackableObject other);
  public native void Swap(TrackableObjectGraph_TrackableObject other);
  

  // implements Message ----------------------------------------------

  public native TrackableObjectGraph_TrackableObject New();

  public native TrackableObjectGraph_TrackableObject New(Arena arena);
  public native void CopyFrom(@Cast("const google::protobuf::Message*") @ByRef MessageLite from);
  public native void MergeFrom(@Cast("const google::protobuf::Message*") @ByRef MessageLite from);
  public native void CopyFrom(@Const @ByRef TrackableObjectGraph_TrackableObject from);
  public native void MergeFrom(@Const @ByRef TrackableObjectGraph_TrackableObject from);
  public native void Clear();
  public native @Cast("bool") boolean IsInitialized();

  public native @Cast("size_t") long ByteSizeLong();
//   #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
//   #else
  public native @Cast("bool") boolean MergePartialFromCodedStream(
        CodedInputStream input);
//   #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  public native void SerializeWithCachedSizes(
        CodedOutputStream output);
  public native @Cast("google::protobuf::uint8*") BytePointer InternalSerializeWithCachedSizesToArray(
        @Cast("google::protobuf::uint8*") BytePointer target);
  public native @Cast("google::protobuf::uint8*") ByteBuffer InternalSerializeWithCachedSizesToArray(
        @Cast("google::protobuf::uint8*") ByteBuffer target);
  public native @Cast("google::protobuf::uint8*") byte[] InternalSerializeWithCachedSizesToArray(
        @Cast("google::protobuf::uint8*") byte[] target);
  public native int GetCachedSize();

  public native @ByVal @Cast("google::protobuf::Metadata*") Pointer GetMetadata();

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1;
  public native int children_size();
  public native void clear_children();
  @MemberGetter public static native int kChildrenFieldNumber();
  public static final int kChildrenFieldNumber = kChildrenFieldNumber();
  public native TrackableObjectGraph_TrackableObject_ObjectReference mutable_children(int index);
  public native @Const @ByRef TrackableObjectGraph_TrackableObject_ObjectReference children(int index);
  public native TrackableObjectGraph_TrackableObject_ObjectReference add_children();

  // repeated .tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor attributes = 2;
  public native int attributes_size();
  public native void clear_attributes();
  @MemberGetter public static native int kAttributesFieldNumber();
  public static final int kAttributesFieldNumber = kAttributesFieldNumber();
  public native TrackableObjectGraph_TrackableObject_SerializedTensor mutable_attributes(int index);
  public native @Const @ByRef TrackableObjectGraph_TrackableObject_SerializedTensor attributes(int index);
  public native TrackableObjectGraph_TrackableObject_SerializedTensor add_attributes();

  // repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3;
  public native int slot_variables_size();
  public native void clear_slot_variables();
  @MemberGetter public static native int kSlotVariablesFieldNumber();
  public static final int kSlotVariablesFieldNumber = kSlotVariablesFieldNumber();
  public native TrackableObjectGraph_TrackableObject_SlotVariableReference mutable_slot_variables(int index);
  public native @Const @ByRef TrackableObjectGraph_TrackableObject_SlotVariableReference slot_variables(int index);
  public native TrackableObjectGraph_TrackableObject_SlotVariableReference add_slot_variables();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy