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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int AGENT_VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
EXT_SOURCE_CONTEXTS_FIELD_NUMBER
public static final int EXT_SOURCE_CONTEXTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int IS_DISABLED_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int IS_INACTIVE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int LABELS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PROJECT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SOURCE_CONTEXTS_FIELD_NUMBER
public static final int SOURCE_CONTEXTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int STATUS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int UNIQUIFIER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static Debuggee getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Debuggee.Builder newBuilder()
public static Debuggee.Builder newBuilder(Debuggee prototype)
Parameter |
---|
Name | Description |
prototype | Debuggee
|
public static Debuggee parseDelimitedFrom(InputStream input)
public static Debuggee parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Debuggee parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static Debuggee parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Debuggee parseFrom(ByteString data)
public static Debuggee parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Debuggee parseFrom(CodedInputStream input)
public static Debuggee parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Debuggee parseFrom(InputStream input)
public static Debuggee parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Debuggee parseFrom(ByteBuffer data)
public static Debuggee parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Debuggee> parser()
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 |
---|
Name | Description |
key | String
|
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
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];
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
String | The id.
|
public ByteString getIdBytes()
Unique identifier for the debuggee generated by the controller service.
string id = 1;
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()
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 |
---|
Type | Description |
int | |
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;
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;
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 |
---|
Name | Description |
key | String
|
public Parser<Debuggee> getParserForType()
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 |
---|
Type | Description |
ByteString | The bytes for project.
|
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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;
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;
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()
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 |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
public final boolean isInitialized()
Overrides
public Debuggee.Builder newBuilderForType()
protected Debuggee.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public Debuggee.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides