Class EntityContext.Builder (0.3.0)
public static final class EntityContext.Builder extends GeneratedMessage.Builder<EntityContext.Builder> implements EntityContextOrBuilder
Represents the context of an entity (node or edge) in the graph.
Protobuf type google.cloud.apptopology.v1.EntityContext
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public EntityContext build()
buildPartial()
public EntityContext buildPartial()
clear()
public EntityContext.Builder clear()
Overrides
clearType()
public EntityContext.Builder clearType()
The primary, namespaced type dictating the node naming format and supported
labels, and defined in the Schema (Schema.node_types/edge_types.name),
e.g., Base/compute.googleapis.com/Instance.
string type = 1;
getDefaultInstanceForType()
public EntityContext getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getType()
The primary, namespaced type dictating the node naming format and supported
labels, and defined in the Schema (Schema.node_types/edge_types.name),
e.g., Base/compute.googleapis.com/Instance.
string type = 1;
| Returns |
| Type |
Description |
String |
The type.
|
getTypeBytes()
public ByteString getTypeBytes()
The primary, namespaced type dictating the node naming format and supported
labels, and defined in the Schema (Schema.node_types/edge_types.name),
e.g., Base/compute.googleapis.com/Instance.
string type = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for type.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(EntityContext other)
public EntityContext.Builder mergeFrom(EntityContext other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EntityContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EntityContext.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
setType(String value)
public EntityContext.Builder setType(String value)
The primary, namespaced type dictating the node naming format and supported
labels, and defined in the Schema (Schema.node_types/edge_types.name),
e.g., Base/compute.googleapis.com/Instance.
string type = 1;
| Parameter |
| Name |
Description |
value |
String
The type to set.
|
setTypeBytes(ByteString value)
public EntityContext.Builder setTypeBytes(ByteString value)
The primary, namespaced type dictating the node naming format and supported
labels, and defined in the Schema (Schema.node_types/edge_types.name),
e.g., Base/compute.googleapis.com/Instance.
string type = 1;
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for type to set.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-10-06 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-06 UTC."],[],[]]