- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.1.10
public static final class Debuggee.Builder extends GeneratedMessageV3.Builder<Debuggee.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Debuggee.BuilderImplements
DebuggeeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllExtSourceContexts(Iterable<? extends ExtendedSourceContext> values) (deprecated)
public Debuggee.Builder addAllExtSourceContexts(Iterable<? extends ExtendedSourceContext> 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)
public Debuggee.Builder addAllSourceContexts(Iterable<? extends SourceContext> 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)
public Debuggee.Builder addExtSourceContexts(ExtendedSourceContext value)
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)
public Debuggee.Builder addExtSourceContexts(ExtendedSourceContext.Builder builderForValue)
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)
public Debuggee.Builder addExtSourceContexts(int index, ExtendedSourceContext value)
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)
public Debuggee.Builder addExtSourceContexts(int index, ExtendedSourceContext.Builder builderForValue)
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)
public ExtendedSourceContext.Builder addExtSourceContextsBuilder()
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)
public ExtendedSourceContext.Builder addExtSourceContextsBuilder(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 |
Returns | |
---|---|
Type | Description |
ExtendedSourceContext.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Debuggee.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Debuggee.Builder |
addSourceContexts(SourceContext value)
public Debuggee.Builder addSourceContexts(SourceContext value)
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)
public Debuggee.Builder addSourceContexts(SourceContext.Builder builderForValue)
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)
public Debuggee.Builder addSourceContexts(int index, SourceContext value)
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)
public Debuggee.Builder addSourceContexts(int index, SourceContext.Builder builderForValue)
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()
public SourceContext.Builder addSourceContextsBuilder()
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)
public SourceContext.Builder addSourceContextsBuilder(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 |
Returns | |
---|---|
Type | Description |
SourceContext.Builder |
build()
public Debuggee build()
Returns | |
---|---|
Type | Description |
Debuggee |
buildPartial()
public Debuggee buildPartial()
Returns | |
---|---|
Type | Description |
Debuggee |
clear()
public Debuggee.Builder clear()
Returns | |
---|---|
Type | Description |
Debuggee.Builder |
clearAgentVersion()
public Debuggee.Builder clearAgentVersion()
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()
public Debuggee.Builder clearDescription()
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)
public Debuggee.Builder clearExtSourceContexts()
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)
public Debuggee.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Debuggee.Builder |
clearId()
public Debuggee.Builder clearId()
Unique identifier for the debuggee generated by the controller service.
string id = 1;
Returns | |
---|---|
Type | Description |
Debuggee.Builder | This builder for chaining. |
clearIsDisabled()
public Debuggee.Builder clearIsDisabled()
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()
public Debuggee.Builder clearIsInactive()
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()
public Debuggee.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Debuggee.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Debuggee.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Debuggee.Builder |
clearProject()
public Debuggee.Builder clearProject()
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()
public Debuggee.Builder clearSourceContexts()
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()
public Debuggee.Builder clearStatus()
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()
public Debuggee.Builder clearUniquifier()
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()
public Debuggee.Builder clone()
Returns | |
---|---|
Type | Description |
Debuggee.Builder |
containsLabels(String key)
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 |
Returns | |
---|---|
Type | Description |
boolean |
getAgentVersion()
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. |
getAgentVersionBytes()
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. |
getDefaultInstanceForType()
public Debuggee getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Debuggee |
getDescription()
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. |
getDescriptionBytes()
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExtSourceContexts(int index) (deprecated)
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 |
Returns | |
---|---|
Type | Description |
ExtendedSourceContext |
getExtSourceContextsBuilder(int index) (deprecated)
public ExtendedSourceContext.Builder getExtSourceContextsBuilder(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 |
Returns | |
---|---|
Type | Description |
ExtendedSourceContext.Builder |
getExtSourceContextsBuilderList() (deprecated)
public List<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)
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() (deprecated)
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 | |
---|---|
Type | Description |
List<ExtendedSourceContext> |
getExtSourceContextsOrBuilder(int index) (deprecated)
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 |
Returns | |
---|---|
Type | Description |
ExtendedSourceContextOrBuilder |
getExtSourceContextsOrBuilderList() (deprecated)
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> |
getId()
public String getId()
Unique identifier for the debuggee generated by the controller service.
string id = 1;
Returns | |
---|---|
Type | Description |
String | The id. |
getIdBytes()
public ByteString getIdBytes()
Unique identifier for the debuggee generated by the controller service.
string id = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for id. |
getIsDisabled()
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. |
getIsInactive()
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. |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
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 |
getLabelsMap()
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 | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
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 | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
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 |
Returns | |
---|---|
Type | Description |
String |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getProject()
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. |
getProjectBytes()
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. |
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 |
Returns | |
---|---|
Type | Description |
SourceContext |
getSourceContextsBuilder(int index)
public SourceContext.Builder getSourceContextsBuilder(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 |
Returns | |
---|---|
Type | Description |
SourceContext.Builder |
getSourceContextsBuilderList()
public List<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()
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;
Returns | |
---|---|
Type | Description |
List<SourceContext> |
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 |
Returns | |
---|---|
Type | Description |
SourceContextOrBuilder |
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> |
getStatus()
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 | |
---|---|
Type | Description |
StatusMessage | The status. |
getStatusBuilder()
public StatusMessage.Builder getStatusBuilder()
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()
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 | |
---|---|
Type | Description |
StatusMessageOrBuilder |
getUniquifier()
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. |
getUniquifierBytes()
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. |
hasStatus()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Debuggee other)
public Debuggee.Builder mergeFrom(Debuggee other)
Parameter | |
---|---|
Name | Description |
other | Debuggee |
Returns | |
---|---|
Type | Description |
Debuggee.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Debuggee.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Debuggee.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Debuggee.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Debuggee.Builder |
mergeStatus(StatusMessage value)
public Debuggee.Builder mergeStatus(StatusMessage value)
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)
public final Debuggee.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Debuggee.Builder |
putAllLabels(Map<String,String> values)
public Debuggee.Builder putAllLabels(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)
public Debuggee.Builder putLabels(String key, String value)
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)
public Debuggee.Builder removeExtSourceContexts(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 |
Returns | |
---|---|
Type | Description |
Debuggee.Builder |
removeLabels(String key)
public Debuggee.Builder removeLabels(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 |
Returns | |
---|---|
Type | Description |
Debuggee.Builder |
removeSourceContexts(int index)
public Debuggee.Builder removeSourceContexts(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 |
Returns | |
---|---|
Type | Description |
Debuggee.Builder |
setAgentVersion(String value)
public Debuggee.Builder setAgentVersion(String value)
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)
public Debuggee.Builder setAgentVersionBytes(ByteString value)
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)
public Debuggee.Builder setDescription(String value)
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)
public Debuggee.Builder setDescriptionBytes(ByteString value)
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)
public Debuggee.Builder setExtSourceContexts(int index, ExtendedSourceContext value)
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)
public Debuggee.Builder setExtSourceContexts(int index, ExtendedSourceContext.Builder builderForValue)
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)
public Debuggee.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Debuggee.Builder |
setId(String value)
public Debuggee.Builder setId(String value)
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)
public Debuggee.Builder setIdBytes(ByteString value)
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)
public Debuggee.Builder setIsDisabled(boolean value)
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)
public Debuggee.Builder setIsInactive(boolean value)
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)
public Debuggee.Builder setProject(String value)
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)
public Debuggee.Builder setProjectBytes(ByteString value)
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)
public Debuggee.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Debuggee.Builder |
setSourceContexts(int index, SourceContext value)
public Debuggee.Builder setSourceContexts(int index, SourceContext value)
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)
public Debuggee.Builder setSourceContexts(int index, SourceContext.Builder builderForValue)
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)
public Debuggee.Builder setStatus(StatusMessage value)
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)
public Debuggee.Builder setStatus(StatusMessage.Builder builderForValue)
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)
public Debuggee.Builder setUniquifier(String value)
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)
public Debuggee.Builder setUniquifierBytes(ByteString value)
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)
public final Debuggee.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Debuggee.Builder |