public static final class EdgeRule.Builder extends GeneratedMessage.Builder<EdgeRule.Builder> implements EdgeRuleOrBuilderEdgeRule defines the connection rules for nodes in the graph.
Protobuf type google.cloud.apptopology.v1.EdgeRule
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EdgeRule.BuilderImplements
EdgeRuleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public EdgeRule build()| Returns | |
|---|---|
| Type | Description |
EdgeRule |
|
buildPartial()
public EdgeRule buildPartial()| Returns | |
|---|---|
| Type | Description |
EdgeRule |
|
clear()
public EdgeRule.Builder clear()| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
|
clearDestNodeGroup()
public EdgeRule.Builder clearDestNodeGroup()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 |
EdgeRule.Builder |
|
clearDestNodeType()
public EdgeRule.Builder clearDestNodeType()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 |
EdgeRule.Builder |
This builder for chaining. |
clearDestinationNode()
public EdgeRule.Builder clearDestinationNode()| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
|
clearEdgeType()
public EdgeRule.Builder clearEdgeType()Optional. Name of the connected edge type.
string edge_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
This builder for chaining. |
clearSourceNode()
public EdgeRule.Builder clearSourceNode()| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
|
clearSrcNodeGroup()
public EdgeRule.Builder clearSrcNodeGroup()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 |
EdgeRule.Builder |
|
clearSrcNodeType()
public EdgeRule.Builder clearSrcNodeType()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 |
EdgeRule.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public EdgeRule getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EdgeRule |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getDestNodeGroupBuilder()
public NodeGroup.Builder getDestNodeGroupBuilder()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.Builder |
|
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. |
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. |
getSrcNodeGroupBuilder()
public NodeGroup.Builder getSrcNodeGroupBuilder()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.Builder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDestNodeGroup(NodeGroup value)
public EdgeRule.Builder mergeDestNodeGroup(NodeGroup value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
NodeGroup |
| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
|
mergeFrom(EdgeRule other)
public EdgeRule.Builder mergeFrom(EdgeRule other)| Parameter | |
|---|---|
| Name | Description |
other |
EdgeRule |
| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EdgeRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EdgeRule.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
|
mergeSrcNodeGroup(NodeGroup value)
public EdgeRule.Builder mergeSrcNodeGroup(NodeGroup value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
NodeGroup |
| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
|
setDestNodeGroup(NodeGroup value)
public EdgeRule.Builder setDestNodeGroup(NodeGroup value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
NodeGroup |
| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
|
setDestNodeGroup(NodeGroup.Builder builderForValue)
public EdgeRule.Builder setDestNodeGroup(NodeGroup.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
NodeGroup.Builder |
| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
|
setDestNodeType(String value)
public EdgeRule.Builder setDestNodeType(String value)Optional. The specific node type name that acts as the destination for this edge.
string dest_node_type = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe destNodeType to set. |
| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
This builder for chaining. |
setDestNodeTypeBytes(ByteString value)
public EdgeRule.Builder setDestNodeTypeBytes(ByteString value)Optional. The specific node type name that acts as the destination for this edge.
string dest_node_type = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for destNodeType to set. |
| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
This builder for chaining. |
setEdgeType(String value)
public EdgeRule.Builder setEdgeType(String value)Optional. Name of the connected edge type.
string edge_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe edgeType to set. |
| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
This builder for chaining. |
setEdgeTypeBytes(ByteString value)
public EdgeRule.Builder setEdgeTypeBytes(ByteString value)Optional. Name of the connected edge type.
string edge_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for edgeType to set. |
| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
This builder for chaining. |
setSrcNodeGroup(NodeGroup value)
public EdgeRule.Builder setSrcNodeGroup(NodeGroup value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
NodeGroup |
| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
|
setSrcNodeGroup(NodeGroup.Builder builderForValue)
public EdgeRule.Builder setSrcNodeGroup(NodeGroup.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
NodeGroup.Builder |
| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
|
setSrcNodeType(String value)
public EdgeRule.Builder setSrcNodeType(String value)Optional. The specific node type name that acts as the source for this edge.
string src_node_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe srcNodeType to set. |
| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
This builder for chaining. |
setSrcNodeTypeBytes(ByteString value)
public EdgeRule.Builder setSrcNodeTypeBytes(ByteString value)Optional. The specific node type name that acts as the source for this edge.
string src_node_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for srcNodeType to set. |
| Returns | |
|---|---|
| Type | Description |
EdgeRule.Builder |
This builder for chaining. |