public final class Graph extends GeneratedMessage implements GraphOrBuilder
Represents a graph structure composed of nodes and edges.
Protobuf type google.cloud.apptopology.v1.Graph
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
EDGES_FIELD_NUMBER
public static final int EDGES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NODES_FIELD_NUMBER
public static final int NODES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Graph getDefaultInstance()
| Returns |
| Type |
Description |
Graph |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Graph.Builder newBuilder()
newBuilder(Graph prototype)
public static Graph.Builder newBuilder(Graph prototype)
| Parameter |
| Name |
Description |
prototype |
Graph
|
public static Graph parseDelimitedFrom(InputStream input)
| Returns |
| Type |
Description |
Graph |
|
public static Graph parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Graph |
|
parseFrom(byte[] data)
public static Graph parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Graph |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Graph parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Graph |
|
parseFrom(ByteString data)
public static Graph parseFrom(ByteString data)
| Returns |
| Type |
Description |
Graph |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Graph parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Graph |
|
public static Graph parseFrom(CodedInputStream input)
| Returns |
| Type |
Description |
Graph |
|
public static Graph parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Graph |
|
public static Graph parseFrom(InputStream input)
| Returns |
| Type |
Description |
Graph |
|
public static Graph parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Graph |
|
parseFrom(ByteBuffer data)
public static Graph parseFrom(ByteBuffer data)
| Returns |
| Type |
Description |
Graph |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Graph parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Graph |
|
parser()
public static Parser<Graph> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Graph getDefaultInstanceForType()
| Returns |
| Type |
Description |
Graph |
|
getEdges(int index)
public Edge getEdges(int index)
Collection of unique edges connecting the nodes in the graph. Both source
and destination nodes for each edges will be present in the nodes list.
repeated .google.cloud.apptopology.v1.Edge edges = 2;
| Parameter |
| Name |
Description |
index |
int
|
| Returns |
| Type |
Description |
Edge |
|
getEdgesCount()
public int getEdgesCount()
Collection of unique edges connecting the nodes in the graph. Both source
and destination nodes for each edges will be present in the nodes list.
repeated .google.cloud.apptopology.v1.Edge edges = 2;
| Returns |
| Type |
Description |
int |
|
getEdgesList()
public List<Edge> getEdgesList()
Collection of unique edges connecting the nodes in the graph. Both source
and destination nodes for each edges will be present in the nodes list.
repeated .google.cloud.apptopology.v1.Edge edges = 2;
getEdgesOrBuilder(int index)
public EdgeOrBuilder getEdgesOrBuilder(int index)
Collection of unique edges connecting the nodes in the graph. Both source
and destination nodes for each edges will be present in the nodes list.
repeated .google.cloud.apptopology.v1.Edge edges = 2;
| Parameter |
| Name |
Description |
index |
int
|
getEdgesOrBuilderList()
public List<? extends EdgeOrBuilder> getEdgesOrBuilderList()
Collection of unique edges connecting the nodes in the graph. Both source
and destination nodes for each edges will be present in the nodes list.
repeated .google.cloud.apptopology.v1.Edge edges = 2;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.apptopology.v1.EdgeOrBuilder> |
|
getNodes(int index)
public Node getNodes(int index)
A collection of unique nodes that make up the graph.
repeated .google.cloud.apptopology.v1.Node nodes = 1;
| Parameter |
| Name |
Description |
index |
int
|
| Returns |
| Type |
Description |
Node |
|
getNodesCount()
public int getNodesCount()
A collection of unique nodes that make up the graph.
repeated .google.cloud.apptopology.v1.Node nodes = 1;
| Returns |
| Type |
Description |
int |
|
getNodesList()
public List<Node> getNodesList()
A collection of unique nodes that make up the graph.
repeated .google.cloud.apptopology.v1.Node nodes = 1;
getNodesOrBuilder(int index)
public NodeOrBuilder getNodesOrBuilder(int index)
A collection of unique nodes that make up the graph.
repeated .google.cloud.apptopology.v1.Node nodes = 1;
| Parameter |
| Name |
Description |
index |
int
|
getNodesOrBuilderList()
public List<? extends NodeOrBuilder> getNodesOrBuilderList()
A collection of unique nodes that make up the graph.
repeated .google.cloud.apptopology.v1.Node nodes = 1;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.apptopology.v1.NodeOrBuilder> |
|
getParserForType()
public Parser<Graph> 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 Graph.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Graph.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Graph.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides