Class ConnectedNodePattern.Builder (0.3.0)

public static final class ConnectedNodePattern.Builder extends GeneratedMessage.Builder<ConnectedNodePattern.Builder> implements ConnectedNodePatternOrBuilder

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

Protobuf type google.cloud.apptopology.v1.ConnectedNodePattern

Static Methods

getDescriptor()

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

Methods

build()

public ConnectedNodePattern build()
Returns
Type Description
ConnectedNodePattern

buildPartial()

public ConnectedNodePattern buildPartial()
Returns
Type Description
ConnectedNodePattern

clear()

public ConnectedNodePattern.Builder clear()
Returns
Type Description
ConnectedNodePattern.Builder
Overrides

clearEdge()

public ConnectedNodePattern.Builder clearEdge()

Required. To match the edge connected the neighbor subgraph.

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

Returns
Type Description
ConnectedNodePattern.Builder

clearGraph()

public ConnectedNodePattern.Builder clearGraph()

Required. Recursive matcher to match the neighbor subgraph.

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

Returns
Type Description
ConnectedNodePattern.Builder

getDefaultInstanceForType()

public ConnectedNodePattern getDefaultInstanceForType()
Returns
Type Description
ConnectedNodePattern

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getEdgeBuilder()

public EdgePattern.Builder getEdgeBuilder()

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.Builder

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.

getGraphBuilder()

public GraphPattern.Builder getGraphBuilder()

Required. Recursive matcher to match the neighbor subgraph.

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

Returns
Type Description
GraphPattern.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEdge(EdgePattern value)

public ConnectedNodePattern.Builder mergeEdge(EdgePattern value)

Required. To match the edge connected the neighbor subgraph.

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

Parameter
Name Description
value EdgePattern
Returns
Type Description
ConnectedNodePattern.Builder

mergeFrom(ConnectedNodePattern other)

public ConnectedNodePattern.Builder mergeFrom(ConnectedNodePattern other)
Parameter
Name Description
other ConnectedNodePattern
Returns
Type Description
ConnectedNodePattern.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConnectedNodePattern.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectedNodePattern.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ConnectedNodePattern.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ConnectedNodePattern.Builder
Overrides

mergeGraph(GraphPattern value)

public ConnectedNodePattern.Builder mergeGraph(GraphPattern value)

Required. Recursive matcher to match the neighbor subgraph.

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

Parameter
Name Description
value GraphPattern
Returns
Type Description
ConnectedNodePattern.Builder

setEdge(EdgePattern value)

public ConnectedNodePattern.Builder setEdge(EdgePattern value)

Required. To match the edge connected the neighbor subgraph.

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

Parameter
Name Description
value EdgePattern
Returns
Type Description
ConnectedNodePattern.Builder

setEdge(EdgePattern.Builder builderForValue)

public ConnectedNodePattern.Builder setEdge(EdgePattern.Builder builderForValue)

Required. To match the edge connected the neighbor subgraph.

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

Parameter
Name Description
builderForValue EdgePattern.Builder
Returns
Type Description
ConnectedNodePattern.Builder

setGraph(GraphPattern value)

public ConnectedNodePattern.Builder setGraph(GraphPattern value)

Required. Recursive matcher to match the neighbor subgraph.

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

Parameter
Name Description
value GraphPattern
Returns
Type Description
ConnectedNodePattern.Builder

setGraph(GraphPattern.Builder builderForValue)

public ConnectedNodePattern.Builder setGraph(GraphPattern.Builder builderForValue)

Required. Recursive matcher to match the neighbor subgraph.

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

Parameter
Name Description
builderForValue GraphPattern.Builder
Returns
Type Description
ConnectedNodePattern.Builder