com.vesoft.nebula.proto.common.NodeOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: common.proto
// Protobuf Java Version: 3.25.1
package com.vesoft.nebula.proto.common;
public interface NodeOrBuilder extends
// @@protoc_insertion_point(interface_extends:nebula.proto.common.Node)
com.google.protobuf.MessageOrBuilder {
/**
* int64 node_id = 1;
* @return The nodeId.
*/
long getNodeId();
/**
* string graph = 2;
* @return The graph.
*/
java.lang.String getGraph();
/**
* string graph = 2;
* @return The bytes for graph.
*/
com.google.protobuf.ByteString
getGraphBytes();
/**
* string type = 3;
* @return The type.
*/
java.lang.String getType();
/**
* string type = 3;
* @return The bytes for type.
*/
com.google.protobuf.ByteString
getTypeBytes();
/**
* repeated string labels = 4;
* @return A list containing the labels.
*/
java.util.List
getLabelsList();
/**
* repeated string labels = 4;
* @return The count of labels.
*/
int getLabelsCount();
/**
* repeated string labels = 4;
* @param index The index of the element to return.
* @return The labels at the given index.
*/
java.lang.String getLabels(int index);
/**
* repeated string labels = 4;
* @param index The index of the value to return.
* @return The bytes of the labels at the given index.
*/
com.google.protobuf.ByteString
getLabelsBytes(int index);
/**
* map<string, .nebula.proto.common.Value> properties = 5;
*/
int getPropertiesCount();
/**
* map<string, .nebula.proto.common.Value> properties = 5;
*/
boolean containsProperties(
java.lang.String key);
/**
* Use {@link #getPropertiesMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getProperties();
/**
* map<string, .nebula.proto.common.Value> properties = 5;
*/
java.util.Map
getPropertiesMap();
/**
* map<string, .nebula.proto.common.Value> properties = 5;
*/
/* nullable */
com.vesoft.nebula.proto.common.Value getPropertiesOrDefault(
java.lang.String key,
/* nullable */
com.vesoft.nebula.proto.common.Value defaultValue);
/**
* map<string, .nebula.proto.common.Value> properties = 5;
*/
com.vesoft.nebula.proto.common.Value getPropertiesOrThrow(
java.lang.String key);
}