Interface NodeOrBuilder (0.3.0)

public interface NodeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContext()

public abstract EntityContext getContext()

The context of the node.

.google.cloud.apptopology.v1.EntityContext context = 6;

Returns
Type Description
EntityContext

The context.

getContextOrBuilder()

public abstract EntityContextOrBuilder getContextOrBuilder()

The context of the node.

.google.cloud.apptopology.v1.EntityContext context = 6;

Returns
Type Description
EntityContextOrBuilder

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 = 5;

Parameter
Name Description
index int

The 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 = 5;

Parameter
Name Description
index int

The 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 = 5;

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 = 5;

Returns
Type Description
List<String>

A list containing the labels.

getName()

public abstract String getName()

The global unique name of the node. For standard Google Cloud Platform resources, this MUST be the canonical Full Resource Name.

Examples:

  • type: compute.googleapis.com/Instance name: "//compute.googleapis.com/projects/my-project-id/zones/us-central1-a/instances/my-vm-1"

  • type: container.googleapis.com/Cluster name: "//container.googleapis.com/projects/my-project-id/locations/us-central1/clusters/my-cluster"

string name = 4;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The global unique name of the node. For standard Google Cloud Platform resources, this MUST be the canonical Full Resource Name.

Examples:

  • type: compute.googleapis.com/Instance name: "//compute.googleapis.com/projects/my-project-id/zones/us-central1-a/instances/my-vm-1"

  • type: container.googleapis.com/Cluster name: "//container.googleapis.com/projects/my-project-id/locations/us-central1/clusters/my-cluster"

string name = 4;

Returns
Type Description
ByteString

The bytes for name.

getProperties()

public abstract Struct getProperties()

Properties associated with the node. Refer to https://apptopology.googleapis.com/v1/GetSchema for a detailed list of node properties.

.google.protobuf.Struct properties = 3;

Returns
Type Description
Struct

The properties.

getPropertiesOrBuilder()

public abstract StructOrBuilder getPropertiesOrBuilder()

Properties associated with the node. Refer to https://apptopology.googleapis.com/v1/GetSchema for a detailed list of node properties.

.google.protobuf.Struct properties = 3;

Returns
Type Description
StructOrBuilder

hasContext()

public abstract boolean hasContext()

The context of the node.

.google.cloud.apptopology.v1.EntityContext context = 6;

Returns
Type Description
boolean

Whether the context field is set.

hasProperties()

public abstract boolean hasProperties()

Properties associated with the node. Refer to https://apptopology.googleapis.com/v1/GetSchema for a detailed list of node properties.

.google.protobuf.Struct properties = 3;

Returns
Type Description
boolean

Whether the properties field is set.