Class EdgeRule (0.3.0)

public final class EdgeRule extends GeneratedMessage implements EdgeRuleOrBuilder

EdgeRule defines the connection rules for nodes in the graph.

Protobuf type google.cloud.apptopology.v1.EdgeRule

Implements

EdgeRuleOrBuilder

Static Fields

DEST_NODE_GROUP_FIELD_NUMBER

public static final int DEST_NODE_GROUP_FIELD_NUMBER
Field Value
Type Description
int

DEST_NODE_TYPE_FIELD_NUMBER

public static final int DEST_NODE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

EDGE_TYPE_FIELD_NUMBER

public static final int EDGE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

SRC_NODE_GROUP_FIELD_NUMBER

public static final int SRC_NODE_GROUP_FIELD_NUMBER
Field Value
Type Description
int

SRC_NODE_TYPE_FIELD_NUMBER

public static final int SRC_NODE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EdgeRule getDefaultInstance()
Returns
Type Description
EdgeRule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EdgeRule.Builder newBuilder()
Returns
Type Description
EdgeRule.Builder

newBuilder(EdgeRule prototype)

public static EdgeRule.Builder newBuilder(EdgeRule prototype)
Parameter
Name Description
prototype EdgeRule
Returns
Type Description
EdgeRule.Builder

parseDelimitedFrom(InputStream input)

public static EdgeRule parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EdgeRule
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EdgeRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EdgeRule
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EdgeRule parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EdgeRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EdgeRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EdgeRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EdgeRule parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EdgeRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EdgeRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EdgeRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EdgeRule parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EdgeRule
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EdgeRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EdgeRule
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EdgeRule parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EdgeRule
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EdgeRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EdgeRule
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EdgeRule parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EdgeRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EdgeRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EdgeRule
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EdgeRule> parser()
Returns
Type Description
Parser<EdgeRule>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public EdgeRule getDefaultInstanceForType()
Returns
Type Description
EdgeRule

getDestNodeGroup()

public NodeGroup getDestNodeGroup()

Optional. A dynamic group of nodes, defined by label constraints, that can act as the destination for this edge.

.google.cloud.apptopology.v1.NodeGroup dest_node_group = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NodeGroup

The destNodeGroup.

getDestNodeGroupOrBuilder()

public NodeGroupOrBuilder getDestNodeGroupOrBuilder()

Optional. A dynamic group of nodes, defined by label constraints, that can act as the destination for this edge.

.google.cloud.apptopology.v1.NodeGroup dest_node_group = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NodeGroupOrBuilder

getDestNodeType()

public String getDestNodeType()

Optional. The specific node type name that acts as the destination for this edge.

string dest_node_type = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The destNodeType.

getDestNodeTypeBytes()

public ByteString getDestNodeTypeBytes()

Optional. The specific node type name that acts as the destination for this edge.

string dest_node_type = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for destNodeType.

getDestinationNodeCase()

public EdgeRule.DestinationNodeCase getDestinationNodeCase()
Returns
Type Description
EdgeRule.DestinationNodeCase

getEdgeType()

public String getEdgeType()

Optional. Name of the connected edge type.

string edge_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The edgeType.

getEdgeTypeBytes()

public ByteString getEdgeTypeBytes()

Optional. Name of the connected edge type.

string edge_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for edgeType.

getParserForType()

public Parser<EdgeRule> getParserForType()
Returns
Type Description
Parser<EdgeRule>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceNodeCase()

public EdgeRule.SourceNodeCase getSourceNodeCase()
Returns
Type Description
EdgeRule.SourceNodeCase

getSrcNodeGroup()

public NodeGroup getSrcNodeGroup()

Optional. A dynamic group of nodes, defined by label constraints, that can act as the source for this edge.

.google.cloud.apptopology.v1.NodeGroup src_node_group = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NodeGroup

The srcNodeGroup.

getSrcNodeGroupOrBuilder()

public NodeGroupOrBuilder getSrcNodeGroupOrBuilder()

Optional. A dynamic group of nodes, defined by label constraints, that can act as the source for this edge.

.google.cloud.apptopology.v1.NodeGroup src_node_group = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NodeGroupOrBuilder

getSrcNodeType()

public String getSrcNodeType()

Optional. The specific node type name that acts as the source for this edge.

string src_node_type = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The srcNodeType.

getSrcNodeTypeBytes()

public ByteString getSrcNodeTypeBytes()

Optional. The specific node type name that acts as the source for this edge.

string src_node_type = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for srcNodeType.

hasDestNodeGroup()

public boolean hasDestNodeGroup()

Optional. A dynamic group of nodes, defined by label constraints, that can act as the destination for this edge.

.google.cloud.apptopology.v1.NodeGroup dest_node_group = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the destNodeGroup field is set.

hasDestNodeType()

public boolean hasDestNodeType()

Optional. The specific node type name that acts as the destination for this edge.

string dest_node_type = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the destNodeType field is set.

hasSrcNodeGroup()

public boolean hasSrcNodeGroup()

Optional. A dynamic group of nodes, defined by label constraints, that can act as the source for this edge.

.google.cloud.apptopology.v1.NodeGroup src_node_group = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the srcNodeGroup field is set.

hasSrcNodeType()

public boolean hasSrcNodeType()

Optional. The specific node type name that acts as the source for this edge.

string src_node_type = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the srcNodeType field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EdgeRule.Builder newBuilderForType()
Returns
Type Description
EdgeRule.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected EdgeRule.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EdgeRule.Builder
Overrides

toBuilder()

public EdgeRule.Builder toBuilder()
Returns
Type Description
EdgeRule.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException