Class Schema.Builder (0.3.0)

public static final class Schema.Builder extends GeneratedMessage.Builder<Schema.Builder> implements SchemaOrBuilder

Schema is a collection of supported node & edge labels and properties for an overlay.

Protobuf type google.cloud.apptopology.v1.Schema

Implements

SchemaOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllEdgeRules(Iterable<? extends EdgeRule> values)

public Schema.Builder addAllEdgeRules(Iterable<? extends EdgeRule> values)

Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

repeated .google.cloud.apptopology.v1.EdgeRule edge_rules = 5;

Parameter
Name Description
values Iterable<? extends com.google.cloud.apptopology.v1.EdgeRule>
Returns
Type Description
Schema.Builder

addAllEdgeTypes(Iterable<? extends EdgeType> values)

public Schema.Builder addAllEdgeTypes(Iterable<? extends EdgeType> values)

A list of EdgeTypes defined within this schema. Refer to the documentation of EdgeType for more details.

repeated .google.cloud.apptopology.v1.EdgeType edge_types = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.apptopology.v1.EdgeType>
Returns
Type Description
Schema.Builder

addAllLabelProperties(Iterable<? extends LabelProperties> values)

public Schema.Builder addAllLabelProperties(Iterable<? extends LabelProperties> values)

A list of supported labels and corresponding properties.

repeated .google.cloud.apptopology.v1.LabelProperties label_properties = 4;

Parameter
Name Description
values Iterable<? extends com.google.cloud.apptopology.v1.LabelProperties>
Returns
Type Description
Schema.Builder

addAllNodeTypes(Iterable<? extends NodeType> values)

public Schema.Builder addAllNodeTypes(Iterable<? extends NodeType> values)

A list of NodeTypes defined within this schema. Refer to the documentation of NodeType for more details.

repeated .google.cloud.apptopology.v1.NodeType node_types = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.apptopology.v1.NodeType>
Returns
Type Description
Schema.Builder

addEdgeRules(EdgeRule value)

public Schema.Builder addEdgeRules(EdgeRule value)

Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

repeated .google.cloud.apptopology.v1.EdgeRule edge_rules = 5;

Parameter
Name Description
value EdgeRule
Returns
Type Description
Schema.Builder

addEdgeRules(EdgeRule.Builder builderForValue)

public Schema.Builder addEdgeRules(EdgeRule.Builder builderForValue)

Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

repeated .google.cloud.apptopology.v1.EdgeRule edge_rules = 5;

Parameter
Name Description
builderForValue EdgeRule.Builder
Returns
Type Description
Schema.Builder

addEdgeRules(int index, EdgeRule value)

public Schema.Builder addEdgeRules(int index, EdgeRule value)

Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

repeated .google.cloud.apptopology.v1.EdgeRule edge_rules = 5;

Parameters
Name Description
index int
value EdgeRule
Returns
Type Description
Schema.Builder

addEdgeRules(int index, EdgeRule.Builder builderForValue)

public Schema.Builder addEdgeRules(int index, EdgeRule.Builder builderForValue)

Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

repeated .google.cloud.apptopology.v1.EdgeRule edge_rules = 5;

Parameters
Name Description
index int
builderForValue EdgeRule.Builder
Returns
Type Description
Schema.Builder

addEdgeRulesBuilder()

public EdgeRule.Builder addEdgeRulesBuilder()

Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

repeated .google.cloud.apptopology.v1.EdgeRule edge_rules = 5;

Returns
Type Description
EdgeRule.Builder

addEdgeRulesBuilder(int index)

public EdgeRule.Builder addEdgeRulesBuilder(int index)

Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

repeated .google.cloud.apptopology.v1.EdgeRule edge_rules = 5;

Parameter
Name Description
index int
Returns
Type Description
EdgeRule.Builder

addEdgeTypes(EdgeType value)

public Schema.Builder addEdgeTypes(EdgeType value)

A list of EdgeTypes defined within this schema. Refer to the documentation of EdgeType for more details.

repeated .google.cloud.apptopology.v1.EdgeType edge_types = 3;

Parameter
Name Description
value EdgeType
Returns
Type Description
Schema.Builder

addEdgeTypes(EdgeType.Builder builderForValue)

public Schema.Builder addEdgeTypes(EdgeType.Builder builderForValue)

A list of EdgeTypes defined within this schema. Refer to the documentation of EdgeType for more details.

repeated .google.cloud.apptopology.v1.EdgeType edge_types = 3;

Parameter
Name Description
builderForValue EdgeType.Builder
Returns
Type Description
Schema.Builder

addEdgeTypes(int index, EdgeType value)

public Schema.Builder addEdgeTypes(int index, EdgeType value)

A list of EdgeTypes defined within this schema. Refer to the documentation of EdgeType for more details.

repeated .google.cloud.apptopology.v1.EdgeType edge_types = 3;

Parameters
Name Description
index int
value EdgeType
Returns
Type Description
Schema.Builder

addEdgeTypes(int index, EdgeType.Builder builderForValue)

public Schema.Builder addEdgeTypes(int index, EdgeType.Builder builderForValue)

A list of EdgeTypes defined within this schema. Refer to the documentation of EdgeType for more details.

repeated .google.cloud.apptopology.v1.EdgeType edge_types = 3;

Parameters
Name Description
index int
builderForValue EdgeType.Builder
Returns
Type Description
Schema.Builder

addEdgeTypesBuilder()

public EdgeType.Builder addEdgeTypesBuilder()

A list of EdgeTypes defined within this schema. Refer to the documentation of EdgeType for more details.

repeated .google.cloud.apptopology.v1.EdgeType edge_types = 3;

Returns
Type Description
EdgeType.Builder

addEdgeTypesBuilder(int index)

public EdgeType.Builder addEdgeTypesBuilder(int index)

A list of EdgeTypes defined within this schema. Refer to the documentation of EdgeType for more details.

repeated .google.cloud.apptopology.v1.EdgeType edge_types = 3;

Parameter
Name Description
index int
Returns
Type Description
EdgeType.Builder

addLabelProperties(LabelProperties value)

public Schema.Builder addLabelProperties(LabelProperties value)

A list of supported labels and corresponding properties.

repeated .google.cloud.apptopology.v1.LabelProperties label_properties = 4;

Parameter
Name Description
value LabelProperties
Returns
Type Description
Schema.Builder

addLabelProperties(LabelProperties.Builder builderForValue)

public Schema.Builder addLabelProperties(LabelProperties.Builder builderForValue)

A list of supported labels and corresponding properties.

repeated .google.cloud.apptopology.v1.LabelProperties label_properties = 4;

Parameter
Name Description
builderForValue LabelProperties.Builder
Returns
Type Description
Schema.Builder

addLabelProperties(int index, LabelProperties value)

public Schema.Builder addLabelProperties(int index, LabelProperties value)

A list of supported labels and corresponding properties.

repeated .google.cloud.apptopology.v1.LabelProperties label_properties = 4;

Parameters
Name Description
index int
value LabelProperties
Returns
Type Description
Schema.Builder

addLabelProperties(int index, LabelProperties.Builder builderForValue)

public Schema.Builder addLabelProperties(int index, LabelProperties.Builder builderForValue)

A list of supported labels and corresponding properties.

repeated .google.cloud.apptopology.v1.LabelProperties label_properties = 4;

Parameters
Name Description
index int
builderForValue LabelProperties.Builder
Returns
Type Description
Schema.Builder

addLabelPropertiesBuilder()

public LabelProperties.Builder addLabelPropertiesBuilder()

A list of supported labels and corresponding properties.

repeated .google.cloud.apptopology.v1.LabelProperties label_properties = 4;

Returns
Type Description
LabelProperties.Builder

addLabelPropertiesBuilder(int index)

public LabelProperties.Builder addLabelPropertiesBuilder(int index)

A list of supported labels and corresponding properties.

repeated .google.cloud.apptopology.v1.LabelProperties label_properties = 4;

Parameter
Name Description
index int
Returns
Type Description
LabelProperties.Builder

addNodeTypes(NodeType value)

public Schema.Builder addNodeTypes(NodeType value)

A list of NodeTypes defined within this schema. Refer to the documentation of NodeType for more details.

repeated .google.cloud.apptopology.v1.NodeType node_types = 2;

Parameter
Name Description
value NodeType
Returns
Type Description
Schema.Builder

addNodeTypes(NodeType.Builder builderForValue)

public Schema.Builder addNodeTypes(NodeType.Builder builderForValue)

A list of NodeTypes defined within this schema. Refer to the documentation of NodeType for more details.

repeated .google.cloud.apptopology.v1.NodeType node_types = 2;

Parameter
Name Description
builderForValue NodeType.Builder
Returns
Type Description
Schema.Builder

addNodeTypes(int index, NodeType value)

public Schema.Builder addNodeTypes(int index, NodeType value)

A list of NodeTypes defined within this schema. Refer to the documentation of NodeType for more details.

repeated .google.cloud.apptopology.v1.NodeType node_types = 2;

Parameters
Name Description
index int
value NodeType
Returns
Type Description
Schema.Builder

addNodeTypes(int index, NodeType.Builder builderForValue)

public Schema.Builder addNodeTypes(int index, NodeType.Builder builderForValue)

A list of NodeTypes defined within this schema. Refer to the documentation of NodeType for more details.

repeated .google.cloud.apptopology.v1.NodeType node_types = 2;

Parameters
Name Description
index int
builderForValue NodeType.Builder
Returns
Type Description
Schema.Builder

addNodeTypesBuilder()

public NodeType.Builder addNodeTypesBuilder()

A list of NodeTypes defined within this schema. Refer to the documentation of NodeType for more details.

repeated .google.cloud.apptopology.v1.NodeType node_types = 2;

Returns
Type Description
NodeType.Builder

addNodeTypesBuilder(int index)

public NodeType.Builder addNodeTypesBuilder(int index)

A list of NodeTypes defined within this schema. Refer to the documentation of NodeType for more details.

repeated .google.cloud.apptopology.v1.NodeType node_types = 2;

Parameter
Name Description
index int
Returns
Type Description
NodeType.Builder

build()

public Schema build()
Returns
Type Description
Schema

buildPartial()

public Schema buildPartial()
Returns
Type Description
Schema

clear()

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

clearEdgeRules()

public Schema.Builder clearEdgeRules()

Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

repeated .google.cloud.apptopology.v1.EdgeRule edge_rules = 5;

Returns
Type Description
Schema.Builder

clearEdgeTypes()

public Schema.Builder clearEdgeTypes()

A list of EdgeTypes defined within this schema. Refer to the documentation of EdgeType for more details.

repeated .google.cloud.apptopology.v1.EdgeType edge_types = 3;

Returns
Type Description
Schema.Builder

clearLabelProperties()

public Schema.Builder clearLabelProperties()

A list of supported labels and corresponding properties.

repeated .google.cloud.apptopology.v1.LabelProperties label_properties = 4;

Returns
Type Description
Schema.Builder

clearName()

public Schema.Builder clearName()

Identifier. The resource name of the schema. Format: projects/{project}/locations/{location}/domains/{domain}/schema

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
Schema.Builder

This builder for chaining.

clearNodeTypes()

public Schema.Builder clearNodeTypes()

A list of NodeTypes defined within this schema. Refer to the documentation of NodeType for more details.

repeated .google.cloud.apptopology.v1.NodeType node_types = 2;

Returns
Type Description
Schema.Builder

getDefaultInstanceForType()

public Schema getDefaultInstanceForType()
Returns
Type Description
Schema

getDescriptorForType()

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

getEdgeRules(int index)

public EdgeRule getEdgeRules(int index)

Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

repeated .google.cloud.apptopology.v1.EdgeRule edge_rules = 5;

Parameter
Name Description
index int
Returns
Type Description
EdgeRule

getEdgeRulesBuilder(int index)

public EdgeRule.Builder getEdgeRulesBuilder(int index)

Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

repeated .google.cloud.apptopology.v1.EdgeRule edge_rules = 5;

Parameter
Name Description
index int
Returns
Type Description
EdgeRule.Builder

getEdgeRulesBuilderList()

public List<EdgeRule.Builder> getEdgeRulesBuilderList()

Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

repeated .google.cloud.apptopology.v1.EdgeRule edge_rules = 5;

Returns
Type Description
List<Builder>

getEdgeRulesCount()

public int getEdgeRulesCount()

Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

repeated .google.cloud.apptopology.v1.EdgeRule edge_rules = 5;

Returns
Type Description
int

getEdgeRulesList()

public List<EdgeRule> getEdgeRulesList()

Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

repeated .google.cloud.apptopology.v1.EdgeRule edge_rules = 5;

Returns
Type Description
List<EdgeRule>

getEdgeRulesOrBuilder(int index)

public EdgeRuleOrBuilder getEdgeRulesOrBuilder(int index)

Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

repeated .google.cloud.apptopology.v1.EdgeRule edge_rules = 5;

Parameter
Name Description
index int
Returns
Type Description
EdgeRuleOrBuilder

getEdgeRulesOrBuilderList()

public List<? extends EdgeRuleOrBuilder> getEdgeRulesOrBuilderList()

Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

repeated .google.cloud.apptopology.v1.EdgeRule edge_rules = 5;

Returns
Type Description
List<? extends com.google.cloud.apptopology.v1.EdgeRuleOrBuilder>

getEdgeTypes(int index)

public EdgeType getEdgeTypes(int index)

A list of EdgeTypes defined within this schema. Refer to the documentation of EdgeType for more details.

repeated .google.cloud.apptopology.v1.EdgeType edge_types = 3;

Parameter
Name Description
index int
Returns
Type Description
EdgeType

getEdgeTypesBuilder(int index)

public EdgeType.Builder getEdgeTypesBuilder(int index)

A list of EdgeTypes defined within this schema. Refer to the documentation of EdgeType for more details.

repeated .google.cloud.apptopology.v1.EdgeType edge_types = 3;

Parameter
Name Description
index int
Returns
Type Description
EdgeType.Builder

getEdgeTypesBuilderList()

public List<EdgeType.Builder> getEdgeTypesBuilderList()

A list of EdgeTypes defined within this schema. Refer to the documentation of EdgeType for more details.

repeated .google.cloud.apptopology.v1.EdgeType edge_types = 3;

Returns
Type Description
List<Builder>

getEdgeTypesCount()

public int getEdgeTypesCount()

A list of EdgeTypes defined within this schema. Refer to the documentation of EdgeType for more details.

repeated .google.cloud.apptopology.v1.EdgeType edge_types = 3;

Returns
Type Description
int

getEdgeTypesList()

public List<EdgeType> getEdgeTypesList()

A list of EdgeTypes defined within this schema. Refer to the documentation of EdgeType for more details.

repeated .google.cloud.apptopology.v1.EdgeType edge_types = 3;

Returns
Type Description
List<EdgeType>

getEdgeTypesOrBuilder(int index)

public EdgeTypeOrBuilder getEdgeTypesOrBuilder(int index)

A list of EdgeTypes defined within this schema. Refer to the documentation of EdgeType for more details.

repeated .google.cloud.apptopology.v1.EdgeType edge_types = 3;

Parameter
Name Description
index int
Returns
Type Description
EdgeTypeOrBuilder

getEdgeTypesOrBuilderList()

public List<? extends EdgeTypeOrBuilder> getEdgeTypesOrBuilderList()

A list of EdgeTypes defined within this schema. Refer to the documentation of EdgeType for more details.

repeated .google.cloud.apptopology.v1.EdgeType edge_types = 3;

Returns
Type Description
List<? extends com.google.cloud.apptopology.v1.EdgeTypeOrBuilder>

getLabelProperties(int index)

public LabelProperties getLabelProperties(int index)

A list of supported labels and corresponding properties.

repeated .google.cloud.apptopology.v1.LabelProperties label_properties = 4;

Parameter
Name Description
index int
Returns
Type Description
LabelProperties

getLabelPropertiesBuilder(int index)

public LabelProperties.Builder getLabelPropertiesBuilder(int index)

A list of supported labels and corresponding properties.

repeated .google.cloud.apptopology.v1.LabelProperties label_properties = 4;

Parameter
Name Description
index int
Returns
Type Description
LabelProperties.Builder

getLabelPropertiesBuilderList()

public List<LabelProperties.Builder> getLabelPropertiesBuilderList()

A list of supported labels and corresponding properties.

repeated .google.cloud.apptopology.v1.LabelProperties label_properties = 4;

Returns
Type Description
List<Builder>

getLabelPropertiesCount()

public int getLabelPropertiesCount()

A list of supported labels and corresponding properties.

repeated .google.cloud.apptopology.v1.LabelProperties label_properties = 4;

Returns
Type Description
int

getLabelPropertiesList()

public List<LabelProperties> getLabelPropertiesList()

A list of supported labels and corresponding properties.

repeated .google.cloud.apptopology.v1.LabelProperties label_properties = 4;

Returns
Type Description
List<LabelProperties>

getLabelPropertiesOrBuilder(int index)

public LabelPropertiesOrBuilder getLabelPropertiesOrBuilder(int index)

A list of supported labels and corresponding properties.

repeated .google.cloud.apptopology.v1.LabelProperties label_properties = 4;

Parameter
Name Description
index int
Returns
Type Description
LabelPropertiesOrBuilder

getLabelPropertiesOrBuilderList()

public List<? extends LabelPropertiesOrBuilder> getLabelPropertiesOrBuilderList()

A list of supported labels and corresponding properties.

repeated .google.cloud.apptopology.v1.LabelProperties label_properties = 4;

Returns
Type Description
List<? extends com.google.cloud.apptopology.v1.LabelPropertiesOrBuilder>

getName()

public String getName()

Identifier. The resource name of the schema. Format: projects/{project}/locations/{location}/domains/{domain}/schema

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the schema. Format: projects/{project}/locations/{location}/domains/{domain}/schema

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getNodeTypes(int index)

public NodeType getNodeTypes(int index)

A list of NodeTypes defined within this schema. Refer to the documentation of NodeType for more details.

repeated .google.cloud.apptopology.v1.NodeType node_types = 2;

Parameter
Name Description
index int
Returns
Type Description
NodeType

getNodeTypesBuilder(int index)

public NodeType.Builder getNodeTypesBuilder(int index)

A list of NodeTypes defined within this schema. Refer to the documentation of NodeType for more details.

repeated .google.cloud.apptopology.v1.NodeType node_types = 2;

Parameter
Name Description
index int
Returns
Type Description
NodeType.Builder

getNodeTypesBuilderList()

public List<NodeType.Builder> getNodeTypesBuilderList()

A list of NodeTypes defined within this schema. Refer to the documentation of NodeType for more details.

repeated .google.cloud.apptopology.v1.NodeType node_types = 2;

Returns
Type Description
List<Builder>

getNodeTypesCount()

public int getNodeTypesCount()

A list of NodeTypes defined within this schema. Refer to the documentation of NodeType for more details.

repeated .google.cloud.apptopology.v1.NodeType node_types = 2;

Returns
Type Description
int

getNodeTypesList()

public List<NodeType> getNodeTypesList()

A list of NodeTypes defined within this schema. Refer to the documentation of NodeType for more details.

repeated .google.cloud.apptopology.v1.NodeType node_types = 2;

Returns
Type Description
List<NodeType>

getNodeTypesOrBuilder(int index)

public NodeTypeOrBuilder getNodeTypesOrBuilder(int index)

A list of NodeTypes defined within this schema. Refer to the documentation of NodeType for more details.

repeated .google.cloud.apptopology.v1.NodeType node_types = 2;

Parameter
Name Description
index int
Returns
Type Description
NodeTypeOrBuilder

getNodeTypesOrBuilderList()

public List<? extends NodeTypeOrBuilder> getNodeTypesOrBuilderList()

A list of NodeTypes defined within this schema. Refer to the documentation of NodeType for more details.

repeated .google.cloud.apptopology.v1.NodeType node_types = 2;

Returns
Type Description
List<? extends com.google.cloud.apptopology.v1.NodeTypeOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Schema other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeEdgeRules(int index)

public Schema.Builder removeEdgeRules(int index)

Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

repeated .google.cloud.apptopology.v1.EdgeRule edge_rules = 5;

Parameter
Name Description
index int
Returns
Type Description
Schema.Builder

removeEdgeTypes(int index)

public Schema.Builder removeEdgeTypes(int index)

A list of EdgeTypes defined within this schema. Refer to the documentation of EdgeType for more details.

repeated .google.cloud.apptopology.v1.EdgeType edge_types = 3;

Parameter
Name Description
index int
Returns
Type Description
Schema.Builder

removeLabelProperties(int index)

public Schema.Builder removeLabelProperties(int index)

A list of supported labels and corresponding properties.

repeated .google.cloud.apptopology.v1.LabelProperties label_properties = 4;

Parameter
Name Description
index int
Returns
Type Description
Schema.Builder

removeNodeTypes(int index)

public Schema.Builder removeNodeTypes(int index)

A list of NodeTypes defined within this schema. Refer to the documentation of NodeType for more details.

repeated .google.cloud.apptopology.v1.NodeType node_types = 2;

Parameter
Name Description
index int
Returns
Type Description
Schema.Builder

setEdgeRules(int index, EdgeRule value)

public Schema.Builder setEdgeRules(int index, EdgeRule value)

Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

repeated .google.cloud.apptopology.v1.EdgeRule edge_rules = 5;

Parameters
Name Description
index int
value EdgeRule
Returns
Type Description
Schema.Builder

setEdgeRules(int index, EdgeRule.Builder builderForValue)

public Schema.Builder setEdgeRules(int index, EdgeRule.Builder builderForValue)

Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

repeated .google.cloud.apptopology.v1.EdgeRule edge_rules = 5;

Parameters
Name Description
index int
builderForValue EdgeRule.Builder
Returns
Type Description
Schema.Builder

setEdgeTypes(int index, EdgeType value)

public Schema.Builder setEdgeTypes(int index, EdgeType value)

A list of EdgeTypes defined within this schema. Refer to the documentation of EdgeType for more details.

repeated .google.cloud.apptopology.v1.EdgeType edge_types = 3;

Parameters
Name Description
index int
value EdgeType
Returns
Type Description
Schema.Builder

setEdgeTypes(int index, EdgeType.Builder builderForValue)

public Schema.Builder setEdgeTypes(int index, EdgeType.Builder builderForValue)

A list of EdgeTypes defined within this schema. Refer to the documentation of EdgeType for more details.

repeated .google.cloud.apptopology.v1.EdgeType edge_types = 3;

Parameters
Name Description
index int
builderForValue EdgeType.Builder
Returns
Type Description
Schema.Builder

setLabelProperties(int index, LabelProperties value)

public Schema.Builder setLabelProperties(int index, LabelProperties value)

A list of supported labels and corresponding properties.

repeated .google.cloud.apptopology.v1.LabelProperties label_properties = 4;

Parameters
Name Description
index int
value LabelProperties
Returns
Type Description
Schema.Builder

setLabelProperties(int index, LabelProperties.Builder builderForValue)

public Schema.Builder setLabelProperties(int index, LabelProperties.Builder builderForValue)

A list of supported labels and corresponding properties.

repeated .google.cloud.apptopology.v1.LabelProperties label_properties = 4;

Parameters
Name Description
index int
builderForValue LabelProperties.Builder
Returns
Type Description
Schema.Builder

setName(String value)

public Schema.Builder setName(String value)

Identifier. The resource name of the schema. Format: projects/{project}/locations/{location}/domains/{domain}/schema

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Schema.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Schema.Builder setNameBytes(ByteString value)

Identifier. The resource name of the schema. Format: projects/{project}/locations/{location}/domains/{domain}/schema

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Schema.Builder

This builder for chaining.

setNodeTypes(int index, NodeType value)

public Schema.Builder setNodeTypes(int index, NodeType value)

A list of NodeTypes defined within this schema. Refer to the documentation of NodeType for more details.

repeated .google.cloud.apptopology.v1.NodeType node_types = 2;

Parameters
Name Description
index int
value NodeType
Returns
Type Description
Schema.Builder

setNodeTypes(int index, NodeType.Builder builderForValue)

public Schema.Builder setNodeTypes(int index, NodeType.Builder builderForValue)

A list of NodeTypes defined within this schema. Refer to the documentation of NodeType for more details.

repeated .google.cloud.apptopology.v1.NodeType node_types = 2;

Parameters
Name Description
index int
builderForValue NodeType.Builder
Returns
Type Description
Schema.Builder