public final class Debuggee extends GeneratedMessageV3 implements DebuggeeOrBuilder
Represents the debugged application. The application may include one or more
replicated processes executing the same code. Each of these processes is
attached with a debugger agent, carrying out the debugging commands.
Agents attached to the same debuggee identify themselves as such by using
exactly the same Debuggee message value when registering.
Protobuf type google.devtools.clouddebugger.v2.Debuggee
Static Fields
public static final int AGENT_VERSION_FIELD_NUMBER
Field Value
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
EXT_SOURCE_CONTEXTS_FIELD_NUMBER
public static final int EXT_SOURCE_CONTEXTS_FIELD_NUMBER
Field Value
public static final int ID_FIELD_NUMBER
Field Value
public static final int IS_DISABLED_FIELD_NUMBER
Field Value
public static final int IS_INACTIVE_FIELD_NUMBER
Field Value
public static final int LABELS_FIELD_NUMBER
Field Value
public static final int PROJECT_FIELD_NUMBER
Field Value
SOURCE_CONTEXTS_FIELD_NUMBER
public static final int SOURCE_CONTEXTS_FIELD_NUMBER
Field Value
public static final int STATUS_FIELD_NUMBER
Field Value
public static final int UNIQUIFIER_FIELD_NUMBER
Field Value
Static Methods
public static Debuggee getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Debuggee.Builder newBuilder()
Returns
public static Debuggee.Builder newBuilder(Debuggee prototype)
Parameter
Returns
public static Debuggee parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Debuggee parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Debuggee parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Debuggee parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Debuggee parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Debuggee parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Debuggee parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Debuggee parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Debuggee parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Debuggee parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Debuggee parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Debuggee parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Debuggee> parser()
Returns
Methods
public boolean containsLabels(String key)
A set of custom debuggee properties, populated by the agent, to be
displayed to the user.
map<string, string> labels = 11;
Parameter
Returns
public boolean equals(Object obj)
Parameter
Returns
Overrides
public String getAgentVersion()
Version ID of the agent.
Schema: domain/language-platform/vmajor.minor
(for example
google.com/java-gcp/v1.1
).
string agent_version = 6;
Returns
Type | Description |
String | The agentVersion.
|
public ByteString getAgentVersionBytes()
Version ID of the agent.
Schema: domain/language-platform/vmajor.minor
(for example
google.com/java-gcp/v1.1
).
string agent_version = 6;
Returns
Type | Description |
ByteString | The bytes for agentVersion.
|
public Debuggee getDefaultInstanceForType()
Returns
public String getDescription()
Human readable description of the debuggee.
Including a human-readable project name, environment name and version
information is recommended.
string description = 4;
Returns
Type | Description |
String | The description.
|
public ByteString getDescriptionBytes()
Human readable description of the debuggee.
Including a human-readable project name, environment name and version
information is recommended.
string description = 4;
Returns
Type | Description |
ByteString | The bytes for description.
|
getExtSourceContexts(int index)
public ExtendedSourceContext getExtSourceContexts(int index)
References to the locations and revisions of the source code used in the
deployed application.
repeated .google.devtools.source.v1.ExtendedSourceContext ext_source_contexts = 13 [deprecated = true];
Parameter
Returns
getExtSourceContextsCount()
public int getExtSourceContextsCount()
References to the locations and revisions of the source code used in the
deployed application.
repeated .google.devtools.source.v1.ExtendedSourceContext ext_source_contexts = 13 [deprecated = true];
Returns
getExtSourceContextsList()
public List<ExtendedSourceContext> getExtSourceContextsList()
References to the locations and revisions of the source code used in the
deployed application.
repeated .google.devtools.source.v1.ExtendedSourceContext ext_source_contexts = 13 [deprecated = true];
Returns
getExtSourceContextsOrBuilder(int index)
public ExtendedSourceContextOrBuilder getExtSourceContextsOrBuilder(int index)
References to the locations and revisions of the source code used in the
deployed application.
repeated .google.devtools.source.v1.ExtendedSourceContext ext_source_contexts = 13 [deprecated = true];
Parameter
Returns
getExtSourceContextsOrBuilderList()
public List<? extends ExtendedSourceContextOrBuilder> getExtSourceContextsOrBuilderList()
References to the locations and revisions of the source code used in the
deployed application.
repeated .google.devtools.source.v1.ExtendedSourceContext ext_source_contexts = 13 [deprecated = true];
Returns
Type | Description |
List<? extends com.google.devtools.source.v1.ExtendedSourceContextOrBuilder> | |
Unique identifier for the debuggee generated by the controller service.
string id = 1;
Returns
public ByteString getIdBytes()
Unique identifier for the debuggee generated by the controller service.
string id = 1;
Returns
public boolean getIsDisabled()
If set to true
, indicates that the agent should disable itself and
detach from the debuggee.
bool is_disabled = 7;
Returns
Type | Description |
boolean | The isDisabled.
|
public boolean getIsInactive()
If set to true
, indicates that Controller service does not detect any
activity from the debuggee agents and the application is possibly stopped.
bool is_inactive = 5;
Returns
Type | Description |
boolean | The isInactive.
|
public Map<String,String> getLabels()
Returns
public int getLabelsCount()
A set of custom debuggee properties, populated by the agent, to be
displayed to the user.
map<string, string> labels = 11;
Returns
public Map<String,String> getLabelsMap()
A set of custom debuggee properties, populated by the agent, to be
displayed to the user.
map<string, string> labels = 11;
Returns
public String getLabelsOrDefault(String key, String defaultValue)
A set of custom debuggee properties, populated by the agent, to be
displayed to the user.
map<string, string> labels = 11;
Parameters
Returns
public String getLabelsOrThrow(String key)
A set of custom debuggee properties, populated by the agent, to be
displayed to the user.
map<string, string> labels = 11;
Parameter
Returns
public Parser<Debuggee> getParserForType()
Returns
Overrides
public String getProject()
Project the debuggee is associated with.
Use project number or id when registering a Google Cloud Platform project.
string project = 2;
Returns
Type | Description |
String | The project.
|
public ByteString getProjectBytes()
Project the debuggee is associated with.
Use project number or id when registering a Google Cloud Platform project.
string project = 2;
Returns
public int getSerializedSize()
Returns
Overrides
getSourceContexts(int index)
public SourceContext getSourceContexts(int index)
References to the locations and revisions of the source code used in the
deployed application.
repeated .google.devtools.source.v1.SourceContext source_contexts = 9;
Parameter
Returns
getSourceContextsCount()
public int getSourceContextsCount()
References to the locations and revisions of the source code used in the
deployed application.
repeated .google.devtools.source.v1.SourceContext source_contexts = 9;
Returns
getSourceContextsList()
public List<SourceContext> getSourceContextsList()
References to the locations and revisions of the source code used in the
deployed application.
repeated .google.devtools.source.v1.SourceContext source_contexts = 9;
Returns
getSourceContextsOrBuilder(int index)
public SourceContextOrBuilder getSourceContextsOrBuilder(int index)
References to the locations and revisions of the source code used in the
deployed application.
repeated .google.devtools.source.v1.SourceContext source_contexts = 9;
Parameter
Returns
getSourceContextsOrBuilderList()
public List<? extends SourceContextOrBuilder> getSourceContextsOrBuilderList()
References to the locations and revisions of the source code used in the
deployed application.
repeated .google.devtools.source.v1.SourceContext source_contexts = 9;
Returns
Type | Description |
List<? extends com.google.devtools.source.v1.SourceContextOrBuilder> | |
public StatusMessage getStatus()
Human readable message to be displayed to the user about this debuggee.
Absence of this field indicates no status. The message can be either
informational or an error status.
.google.devtools.clouddebugger.v2.StatusMessage status = 8;
Returns
public StatusMessageOrBuilder getStatusOrBuilder()
Human readable message to be displayed to the user about this debuggee.
Absence of this field indicates no status. The message can be either
informational or an error status.
.google.devtools.clouddebugger.v2.StatusMessage status = 8;
Returns
public String getUniquifier()
Uniquifier to further distinguish the application.
It is possible that different applications might have identical values in
the debuggee message, thus, incorrectly identified as a single application
by the Controller service. This field adds salt to further distinguish the
application. Agents should consider seeding this field with value that
identifies the code, binary, configuration and environment.
string uniquifier = 3;
Returns
Type | Description |
String | The uniquifier.
|
public ByteString getUniquifierBytes()
Uniquifier to further distinguish the application.
It is possible that different applications might have identical values in
the debuggee message, thus, incorrectly identified as a single application
by the Controller service. This field adds salt to further distinguish the
application. Agents should consider seeding this field with value that
identifies the code, binary, configuration and environment.
string uniquifier = 3;
Returns
Type | Description |
ByteString | The bytes for uniquifier.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasStatus()
Human readable message to be displayed to the user about this debuggee.
Absence of this field indicates no status. The message can be either
informational or an error status.
.google.devtools.clouddebugger.v2.StatusMessage status = 8;
Returns
Type | Description |
boolean | Whether the status field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Debuggee.Builder newBuilderForType()
Returns
protected Debuggee.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Debuggee.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions