Class Debuggee.Builder (1.58.0)

publicstaticfinalclass Debuggee.BuilderextendsGeneratedMessageV3.Builder<Debuggee.Builder>implementsDebuggeeOrBuilder

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

Implements

DebuggeeOrBuilder

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addAllExtSourceContexts(Iterable<? extends ExtendedSourceContext> values) (deprecated)

publicDebuggee.BuilderaddAllExtSourceContexts(Iterable<?extendsExtendedSourceContext>values)

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
values Iterable<? extends com.google.devtools.source.v1.ExtendedSourceContext>
Returns
Type Description
Debuggee.Builder

addAllSourceContexts(Iterable<? extends SourceContext> values)

publicDebuggee.BuilderaddAllSourceContexts(Iterable<?extendsSourceContext>values)

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
values Iterable<? extends com.google.devtools.source.v1.SourceContext>
Returns
Type Description
Debuggee.Builder

addExtSourceContexts(ExtendedSourceContext value) (deprecated)

publicDebuggee.BuilderaddExtSourceContexts(ExtendedSourceContextvalue)

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
value ExtendedSourceContext
Returns
Type Description
Debuggee.Builder

addExtSourceContexts(ExtendedSourceContext.Builder builderForValue) (deprecated)

publicDebuggee.BuilderaddExtSourceContexts(ExtendedSourceContext.BuilderbuilderForValue)

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
builderForValue ExtendedSourceContext.Builder
Returns
Type Description
Debuggee.Builder

addExtSourceContexts(int index, ExtendedSourceContext value) (deprecated)

publicDebuggee.BuilderaddExtSourceContexts(intindex,ExtendedSourceContextvalue)

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];

Parameters
Name Description
index int
value ExtendedSourceContext
Returns
Type Description
Debuggee.Builder

addExtSourceContexts(int index, ExtendedSourceContext.Builder builderForValue) (deprecated)

publicDebuggee.BuilderaddExtSourceContexts(intindex,ExtendedSourceContext.BuilderbuilderForValue)

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];

Parameters
Name Description
index int
builderForValue ExtendedSourceContext.Builder
Returns
Type Description
Debuggee.Builder

addExtSourceContextsBuilder() (deprecated)

publicExtendedSourceContext.BuilderaddExtSourceContextsBuilder()

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
ExtendedSourceContext.Builder

addExtSourceContextsBuilder(int index) (deprecated)

publicExtendedSourceContext.BuilderaddExtSourceContextsBuilder(intindex)

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
Returns
Type Description
ExtendedSourceContext.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicDebuggee.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Debuggee.Builder
Overrides

addSourceContexts(SourceContext value)

publicDebuggee.BuilderaddSourceContexts(SourceContextvalue)

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
value SourceContext
Returns
Type Description
Debuggee.Builder

addSourceContexts(SourceContext.Builder builderForValue)

publicDebuggee.BuilderaddSourceContexts(SourceContext.BuilderbuilderForValue)

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
builderForValue SourceContext.Builder
Returns
Type Description
Debuggee.Builder

addSourceContexts(int index, SourceContext value)

publicDebuggee.BuilderaddSourceContexts(intindex,SourceContextvalue)

References to the locations and revisions of the source code used in the deployed application.

repeated .google.devtools.source.v1.SourceContext source_contexts = 9;

Parameters
Name Description
index int
value SourceContext
Returns
Type Description
Debuggee.Builder

addSourceContexts(int index, SourceContext.Builder builderForValue)

publicDebuggee.BuilderaddSourceContexts(intindex,SourceContext.BuilderbuilderForValue)

References to the locations and revisions of the source code used in the deployed application.

repeated .google.devtools.source.v1.SourceContext source_contexts = 9;

Parameters
Name Description
index int
builderForValue SourceContext.Builder
Returns
Type Description
Debuggee.Builder

addSourceContextsBuilder()

publicSourceContext.BuilderaddSourceContextsBuilder()

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
SourceContext.Builder

addSourceContextsBuilder(int index)

publicSourceContext.BuilderaddSourceContextsBuilder(intindex)

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
Returns
Type Description
SourceContext.Builder

build()

publicDebuggeebuild()
Returns
Type Description
Debuggee

buildPartial()

publicDebuggeebuildPartial()
Returns
Type Description
Debuggee

clear()

publicDebuggee.Builderclear()
Returns
Type Description
Debuggee.Builder
Overrides

clearAgentVersion()

publicDebuggee.BuilderclearAgentVersion()

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
Debuggee.Builder

This builder for chaining.

clearDescription()

publicDebuggee.BuilderclearDescription()

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
Debuggee.Builder

This builder for chaining.

clearExtSourceContexts() (deprecated)

publicDebuggee.BuilderclearExtSourceContexts()

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
Debuggee.Builder

clearField(Descriptors.FieldDescriptor field)

publicDebuggee.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Debuggee.Builder
Overrides

clearId()

publicDebuggee.BuilderclearId()

Unique identifier for the debuggee generated by the controller service.

string id = 1;

Returns
Type Description
Debuggee.Builder

This builder for chaining.

clearIsDisabled()

publicDebuggee.BuilderclearIsDisabled()

If set to true, indicates that the agent should disable itself and detach from the debuggee.

bool is_disabled = 7;

Returns
Type Description
Debuggee.Builder

This builder for chaining.

clearIsInactive()

publicDebuggee.BuilderclearIsInactive()

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
Debuggee.Builder

This builder for chaining.

clearLabels()

publicDebuggee.BuilderclearLabels()
Returns
Type Description
Debuggee.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

publicDebuggee.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Debuggee.Builder
Overrides

clearProject()

publicDebuggee.BuilderclearProject()

Project the debuggee is associated with. Use project number or id when registering a Google Cloud Platform project.

string project = 2;

Returns
Type Description
Debuggee.Builder

This builder for chaining.

clearSourceContexts()

publicDebuggee.BuilderclearSourceContexts()

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
Debuggee.Builder

clearStatus()

publicDebuggee.BuilderclearStatus()

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
Debuggee.Builder

clearUniquifier()

publicDebuggee.BuilderclearUniquifier()

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
Debuggee.Builder

This builder for chaining.

clone()

publicDebuggee.Builderclone()
Returns
Type Description
Debuggee.Builder
Overrides

containsLabels(String key)

publicbooleancontainsLabels(Stringkey)

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
Returns
Type Description
boolean

getAgentVersion()

publicStringgetAgentVersion()

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.

getAgentVersionBytes()

publicByteStringgetAgentVersionBytes()

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.

getDefaultInstanceForType()

publicDebuggeegetDefaultInstanceForType()
Returns
Type Description
Debuggee

getDescription()

publicStringgetDescription()

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.

getDescriptionBytes()

publicByteStringgetDescriptionBytes()

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.

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExtSourceContexts(int index) (deprecated)

publicExtendedSourceContextgetExtSourceContexts(intindex)

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
Returns
Type Description
ExtendedSourceContext

getExtSourceContextsBuilder(int index) (deprecated)

publicExtendedSourceContext.BuildergetExtSourceContextsBuilder(intindex)

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
Returns
Type Description
ExtendedSourceContext.Builder

getExtSourceContextsBuilderList() (deprecated)

publicList<ExtendedSourceContext.Builder>getExtSourceContextsBuilderList()

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<Builder>

getExtSourceContextsCount() (deprecated)

publicintgetExtSourceContextsCount()

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() (deprecated)

publicList<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
Type Description
List<ExtendedSourceContext>

getExtSourceContextsOrBuilder(int index) (deprecated)

publicExtendedSourceContextOrBuildergetExtSourceContextsOrBuilder(intindex)

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
Returns
Type Description
ExtendedSourceContextOrBuilder

getExtSourceContextsOrBuilderList() (deprecated)

publicList<?extendsExtendedSourceContextOrBuilder>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>

getId()

publicStringgetId()

Unique identifier for the debuggee generated by the controller service.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

publicByteStringgetIdBytes()

Unique identifier for the debuggee generated by the controller service.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getIsDisabled()

publicbooleangetIsDisabled()

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.

getIsInactive()

publicbooleangetIsInactive()

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.

getLabels() (deprecated)

publicMap<String,String>getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

publicintgetLabelsCount()

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

getLabelsMap()

publicMap<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
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)

A set of custom debuggee properties, populated by the agent, to be displayed to the user.

map<string, string> labels = 11;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

publicStringgetLabelsOrThrow(Stringkey)

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
Returns
Type Description
String

getMutableLabels() (deprecated)

publicMap<String,String>getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getProject()

publicStringgetProject()

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.

getProjectBytes()

publicByteStringgetProjectBytes()

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.

getSourceContexts(int index)

publicSourceContextgetSourceContexts(intindex)

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
Returns
Type Description
SourceContext

getSourceContextsBuilder(int index)

publicSourceContext.BuildergetSourceContextsBuilder(intindex)

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
Returns
Type Description
SourceContext.Builder

getSourceContextsBuilderList()

publicList<SourceContext.Builder>getSourceContextsBuilderList()

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<Builder>

getSourceContextsCount()

publicintgetSourceContextsCount()

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()

publicList<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
Type Description
List<SourceContext>

getSourceContextsOrBuilder(int index)

publicSourceContextOrBuildergetSourceContextsOrBuilder(intindex)

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
Returns
Type Description
SourceContextOrBuilder

getSourceContextsOrBuilderList()

publicList<?extendsSourceContextOrBuilder>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>

getStatus()

publicStatusMessagegetStatus()

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
StatusMessage

The status.

getStatusBuilder()

publicStatusMessage.BuildergetStatusBuilder()

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
StatusMessage.Builder

getStatusOrBuilder()

publicStatusMessageOrBuildergetStatusOrBuilder()

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
StatusMessageOrBuilder

getUniquifier()

publicStringgetUniquifier()

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.

getUniquifierBytes()

publicByteStringgetUniquifierBytes()

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.

hasStatus()

publicbooleanhasStatus()

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.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protectedMapFieldReflectionAccessorinternalGetMutableMapFieldReflection(intnumber)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Debuggee other)

publicDebuggee.BuildermergeFrom(Debuggeeother)
Parameter
Name Description
other Debuggee
Returns
Type Description
Debuggee.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicDebuggee.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Debuggee.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicDebuggee.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Debuggee.Builder
Overrides

mergeStatus(StatusMessage value)

publicDebuggee.BuildermergeStatus(StatusMessagevalue)

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;

Parameter
Name Description
value StatusMessage
Returns
Type Description
Debuggee.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalDebuggee.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Debuggee.Builder
Overrides

putAllLabels(Map<String,String> values)

publicDebuggee.BuilderputAllLabels(Map<String,String>values)

A set of custom debuggee properties, populated by the agent, to be displayed to the user.

map<string, string> labels = 11;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
Debuggee.Builder

putLabels(String key, String value)

publicDebuggee.BuilderputLabels(Stringkey,Stringvalue)

A set of custom debuggee properties, populated by the agent, to be displayed to the user.

map<string, string> labels = 11;

Parameters
Name Description
key String
value String
Returns
Type Description
Debuggee.Builder

removeExtSourceContexts(int index) (deprecated)

publicDebuggee.BuilderremoveExtSourceContexts(intindex)

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
Returns
Type Description
Debuggee.Builder

removeLabels(String key)

publicDebuggee.BuilderremoveLabels(Stringkey)

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
Returns
Type Description
Debuggee.Builder

removeSourceContexts(int index)

publicDebuggee.BuilderremoveSourceContexts(intindex)

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
Returns
Type Description
Debuggee.Builder

setAgentVersion(String value)

publicDebuggee.BuildersetAgentVersion(Stringvalue)

Version ID of the agent. Schema: domain/language-platform/vmajor.minor (for example google.com/java-gcp/v1.1).

string agent_version = 6;

Parameter
Name Description
value String

The agentVersion to set.

Returns
Type Description
Debuggee.Builder

This builder for chaining.

setAgentVersionBytes(ByteString value)

publicDebuggee.BuildersetAgentVersionBytes(ByteStringvalue)

Version ID of the agent. Schema: domain/language-platform/vmajor.minor (for example google.com/java-gcp/v1.1).

string agent_version = 6;

Parameter
Name Description
value ByteString

The bytes for agentVersion to set.

Returns
Type Description
Debuggee.Builder

This builder for chaining.

setDescription(String value)

publicDebuggee.BuildersetDescription(Stringvalue)

Human readable description of the debuggee. Including a human-readable project name, environment name and version information is recommended.

string description = 4;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Debuggee.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

publicDebuggee.BuildersetDescriptionBytes(ByteStringvalue)

Human readable description of the debuggee. Including a human-readable project name, environment name and version information is recommended.

string description = 4;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Debuggee.Builder

This builder for chaining.

setExtSourceContexts(int index, ExtendedSourceContext value) (deprecated)

publicDebuggee.BuildersetExtSourceContexts(intindex,ExtendedSourceContextvalue)

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];

Parameters
Name Description
index int
value ExtendedSourceContext
Returns
Type Description
Debuggee.Builder

setExtSourceContexts(int index, ExtendedSourceContext.Builder builderForValue) (deprecated)

publicDebuggee.BuildersetExtSourceContexts(intindex,ExtendedSourceContext.BuilderbuilderForValue)

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];

Parameters
Name Description
index int
builderForValue ExtendedSourceContext.Builder
Returns
Type Description
Debuggee.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicDebuggee.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Debuggee.Builder
Overrides

setId(String value)

publicDebuggee.BuildersetId(Stringvalue)

Unique identifier for the debuggee generated by the controller service.

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
Debuggee.Builder

This builder for chaining.

setIdBytes(ByteString value)

publicDebuggee.BuildersetIdBytes(ByteStringvalue)

Unique identifier for the debuggee generated by the controller service.

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
Debuggee.Builder

This builder for chaining.

setIsDisabled(boolean value)

publicDebuggee.BuildersetIsDisabled(booleanvalue)

If set to true, indicates that the agent should disable itself and detach from the debuggee.

bool is_disabled = 7;

Parameter
Name Description
value boolean

The isDisabled to set.

Returns
Type Description
Debuggee.Builder

This builder for chaining.

setIsInactive(boolean value)

publicDebuggee.BuildersetIsInactive(booleanvalue)

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;

Parameter
Name Description
value boolean

The isInactive to set.

Returns
Type Description
Debuggee.Builder

This builder for chaining.

setProject(String value)

publicDebuggee.BuildersetProject(Stringvalue)

Project the debuggee is associated with. Use project number or id when registering a Google Cloud Platform project.

string project = 2;

Parameter
Name Description
value String

The project to set.

Returns
Type Description
Debuggee.Builder

This builder for chaining.

setProjectBytes(ByteString value)

publicDebuggee.BuildersetProjectBytes(ByteStringvalue)

Project the debuggee is associated with. Use project number or id when registering a Google Cloud Platform project.

string project = 2;

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
Debuggee.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicDebuggee.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Debuggee.Builder
Overrides

setSourceContexts(int index, SourceContext value)

publicDebuggee.BuildersetSourceContexts(intindex,SourceContextvalue)

References to the locations and revisions of the source code used in the deployed application.

repeated .google.devtools.source.v1.SourceContext source_contexts = 9;

Parameters
Name Description
index int
value SourceContext
Returns
Type Description
Debuggee.Builder

setSourceContexts(int index, SourceContext.Builder builderForValue)

publicDebuggee.BuildersetSourceContexts(intindex,SourceContext.BuilderbuilderForValue)

References to the locations and revisions of the source code used in the deployed application.

repeated .google.devtools.source.v1.SourceContext source_contexts = 9;

Parameters
Name Description
index int
builderForValue SourceContext.Builder
Returns
Type Description
Debuggee.Builder

setStatus(StatusMessage value)

publicDebuggee.BuildersetStatus(StatusMessagevalue)

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;

Parameter
Name Description
value StatusMessage
Returns
Type Description
Debuggee.Builder

setStatus(StatusMessage.Builder builderForValue)

publicDebuggee.BuildersetStatus(StatusMessage.BuilderbuilderForValue)

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;

Parameter
Name Description
builderForValue StatusMessage.Builder
Returns
Type Description
Debuggee.Builder

setUniquifier(String value)

publicDebuggee.BuildersetUniquifier(Stringvalue)

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;

Parameter
Name Description
value String

The uniquifier to set.

Returns
Type Description
Debuggee.Builder

This builder for chaining.

setUniquifierBytes(ByteString value)

publicDebuggee.BuildersetUniquifierBytes(ByteStringvalue)

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;

Parameter
Name Description
value ByteString

The bytes for uniquifier to set.

Returns
Type Description
Debuggee.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalDebuggee.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Debuggee.Builder
Overrides

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 2025年10月30日 UTC.