public interface EdgeTypeOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDescription()
public abstract String getDescription() A human-readable description of the EdgeType.
string description = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes() A human-readable description of the EdgeType.
string description = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getLabels(int index)
public abstract String getLabels(int index)Labels attached to the edge. 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 edge 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 edge. 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 edge 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 edge. 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 edge type.
repeated string labels = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of labels. |
getLabelsList()
public abstract List<String> getLabelsList()Labels attached to the edge. 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 edge type.
repeated string labels = 2;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the labels. |
getOptionalLabels(int index)
public abstract String getOptionalLabels(int index)An edge of this edge type can have 0 or more of these labels. These edge objects of this edge 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)An edge of this edge type can have 0 or more of these labels. These edge objects of this edge 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()An edge of this edge type can have 0 or more of these labels. These edge objects of this edge 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()An edge of this edge type can have 0 or more of these labels. These edge objects of this edge 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 edge type. This name is used to access the edge type while defining the schema.
string type = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
public abstract ByteString getTypeBytes()REQUIRED Name of the edge type. This name is used to access the edge type while defining the schema.
string type = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |