Class ConnectedNodePattern (0.3.0)

public final class ConnectedNodePattern extends GeneratedMessage implements ConnectedNodePatternOrBuilder

Edge pattern matcher to match the edge direction, labels and properties.

Protobuf type google.cloud.apptopology.v1.ConnectedNodePattern

Static Fields

EDGE_FIELD_NUMBER

public static final int EDGE_FIELD_NUMBER
Field Value
Type Description
int

GRAPH_FIELD_NUMBER

public static final int GRAPH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ConnectedNodePattern getDefaultInstance()
Returns
Type Description
ConnectedNodePattern

getDescriptor()

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

newBuilder()

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

newBuilder(ConnectedNodePattern prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ConnectedNodePattern getDefaultInstanceForType()
Returns
Type Description
ConnectedNodePattern

getEdge()

public EdgePattern getEdge()

Required. To match the edge connected the neighbor subgraph.

.google.cloud.apptopology.v1.EdgePattern edge = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EdgePattern

The edge.

getEdgeOrBuilder()

public EdgePatternOrBuilder getEdgeOrBuilder()

Required. To match the edge connected the neighbor subgraph.

.google.cloud.apptopology.v1.EdgePattern edge = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EdgePatternOrBuilder

getGraph()

public GraphPattern getGraph()

Required. Recursive matcher to match the neighbor subgraph.

.google.cloud.apptopology.v1.GraphPattern graph = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GraphPattern

The graph.

getGraphOrBuilder()

public GraphPatternOrBuilder getGraphOrBuilder()

Required. Recursive matcher to match the neighbor subgraph.

.google.cloud.apptopology.v1.GraphPattern graph = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GraphPatternOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasEdge()

public boolean hasEdge()

Required. To match the edge connected the neighbor subgraph.

.google.cloud.apptopology.v1.EdgePattern edge = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the edge field is set.

hasGraph()

public boolean hasGraph()

Required. Recursive matcher to match the neighbor subgraph.

.google.cloud.apptopology.v1.GraphPattern graph = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the graph 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 ConnectedNodePattern.Builder newBuilderForType()
Returns
Type Description
ConnectedNodePattern.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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