public interface NodeTypeOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDescription()
public abstract String getDescription() A human-readable description of the NodeType.
string description = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes() A human-readable description of the NodeType.
string description = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getLabels(int index)
public abstract String getLabels(int index)Labels attached to the node. Composable, namespaced building blocks that define core attributes through associated properties. Multiple labels aggregate to fully specify the functional traits and property schema of the node type.
repeated string labels = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The labels at the given index. |
getLabelsBytes(int index)
public abstract ByteString getLabelsBytes(int index)Labels attached to the node. Composable, namespaced building blocks that define core attributes through associated properties. Multiple labels aggregate to fully specify the functional traits and property schema of the node type.
repeated string labels = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the labels at the given index. |
getLabelsCount()
public abstract int getLabelsCount()Labels attached to the node. Composable, namespaced building blocks that define core attributes through associated properties. Multiple labels aggregate to fully specify the functional traits and property schema of the node type.
repeated string labels = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of labels. |
getLabelsList()
public abstract List<String> getLabelsList()Labels attached to the node. Composable, namespaced building blocks that define core attributes through associated properties. Multiple labels aggregate to fully specify the functional traits and property schema of the node type.
repeated string labels = 2;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the labels. |
getOptionalLabels(int index)
public abstract String getOptionalLabels(int index)A node of this node type can have 0 or more of these labels. These node objects of this node type will have these labels alongside the required labels.
repeated string optional_labels = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The optionalLabels at the given index. |
getOptionalLabelsBytes(int index)
public abstract ByteString getOptionalLabelsBytes(int index)A node of this node type can have 0 or more of these labels. These node objects of this node type will have these labels alongside the required labels.
repeated string optional_labels = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the optionalLabels at the given index. |
getOptionalLabelsCount()
public abstract int getOptionalLabelsCount()A node of this node type can have 0 or more of these labels. These node objects of this node type will have these labels alongside the required labels.
repeated string optional_labels = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The count of optionalLabels. |
getOptionalLabelsList()
public abstract List<String> getOptionalLabelsList()A node of this node type can have 0 or more of these labels. These node objects of this node type will have these labels alongside the required labels.
repeated string optional_labels = 4;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the optionalLabels. |
getType()
public abstract String getType()REQUIRED Name of the node type. This name is used to access the node type while defining the schema.
string type = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
public abstract ByteString getTypeBytes()REQUIRED Name of the node type. This name is used to access the node type while defining the schema.
string type = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |