public final class Schema extends GeneratedMessage implements SchemaOrBuilder
Schema is a collection of supported node & edge labels and properties for an
overlay.
Protobuf type google.cloud.apptopology.v1.Schema
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
EDGE_RULES_FIELD_NUMBER
public static final int EDGE_RULES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EDGE_TYPES_FIELD_NUMBER
public static final int EDGE_TYPES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LABEL_PROPERTIES_FIELD_NUMBER
public static final int LABEL_PROPERTIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NODE_TYPES_FIELD_NUMBER
public static final int NODE_TYPES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Schema getDefaultInstance()
| Returns |
| Type |
Description |
Schema |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Schema.Builder newBuilder()
newBuilder(Schema prototype)
public static Schema.Builder newBuilder(Schema prototype)
| Parameter |
| Name |
Description |
prototype |
Schema
|
public static Schema parseDelimitedFrom(InputStream input)
| Returns |
| Type |
Description |
Schema |
|
public static Schema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Schema |
|
parseFrom(byte[] data)
public static Schema parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Schema |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Schema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Schema |
|
parseFrom(ByteString data)
public static Schema parseFrom(ByteString data)
| Returns |
| Type |
Description |
Schema |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Schema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Schema |
|
public static Schema parseFrom(CodedInputStream input)
| Returns |
| Type |
Description |
Schema |
|
public static Schema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Schema |
|
public static Schema parseFrom(InputStream input)
| Returns |
| Type |
Description |
Schema |
|
public static Schema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Schema |
|
parseFrom(ByteBuffer data)
public static Schema parseFrom(ByteBuffer data)
| Returns |
| Type |
Description |
Schema |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Schema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Schema |
|
parser()
public static Parser<Schema> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Schema getDefaultInstanceForType()
| Returns |
| Type |
Description |
Schema |
|
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
|
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;
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
|
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
|
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;
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
|
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
|
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;
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
|
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()
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
|
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;
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
|
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> |
|
getParserForType()
public Parser<Schema> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Schema.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Schema.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Schema.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides