// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: system.proto

package com.ywt.gapi.system;

public interface TreeNodeOrBuilder extends
    // @@protoc_insertion_point(interface_extends:com.ywt.gapi.system.TreeNode)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <code>int32 id = 1;</code>
   * @return The id.
   */
  int getId();

  /**
   * <code>string label = 2;</code>
   * @return The label.
   */
  java.lang.String getLabel();
  /**
   * <code>string label = 2;</code>
   * @return The bytes for label.
   */
  com.google.protobuf.ByteString
      getLabelBytes();

  /**
   * <code>int32 parentId = 3;</code>
   * @return The parentId.
   */
  int getParentId();

  /**
   * <code>repeated .com.ywt.gapi.system.TreeNode children = 4;</code>
   */
  java.util.List<com.ywt.gapi.system.TreeNode> 
      getChildrenList();
  /**
   * <code>repeated .com.ywt.gapi.system.TreeNode children = 4;</code>
   */
  com.ywt.gapi.system.TreeNode getChildren(int index);
  /**
   * <code>repeated .com.ywt.gapi.system.TreeNode children = 4;</code>
   */
  int getChildrenCount();
  /**
   * <code>repeated .com.ywt.gapi.system.TreeNode children = 4;</code>
   */
  java.util.List<? extends com.ywt.gapi.system.TreeNodeOrBuilder> 
      getChildrenOrBuilderList();
  /**
   * <code>repeated .com.ywt.gapi.system.TreeNode children = 4;</code>
   */
  com.ywt.gapi.system.TreeNodeOrBuilder getChildrenOrBuilder(
      int index);
}
