Interface VariableOrBuilder (1.58.0)

publicinterface VariableOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getMembers(int index)

publicabstractVariablegetMembers(intindex)

Members contained or pointed to by the variable.

repeated .google.devtools.clouddebugger.v2.Variable members = 3;

Parameter
Name Description
index int
Returns
Type Description
Variable

getMembersCount()

publicabstractintgetMembersCount()

Members contained or pointed to by the variable.

repeated .google.devtools.clouddebugger.v2.Variable members = 3;

Returns
Type Description
int

getMembersList()

publicabstractList<Variable>getMembersList()

Members contained or pointed to by the variable.

repeated .google.devtools.clouddebugger.v2.Variable members = 3;

Returns
Type Description
List<Variable>

getMembersOrBuilder(int index)

publicabstractVariableOrBuildergetMembersOrBuilder(intindex)

Members contained or pointed to by the variable.

repeated .google.devtools.clouddebugger.v2.Variable members = 3;

Parameter
Name Description
index int
Returns
Type Description
VariableOrBuilder

getMembersOrBuilderList()

publicabstractList<?extendsVariableOrBuilder>getMembersOrBuilderList()

Members contained or pointed to by the variable.

repeated .google.devtools.clouddebugger.v2.Variable members = 3;

Returns
Type Description
List<? extends com.google.devtools.clouddebugger.v2.VariableOrBuilder>

getName()

publicabstractStringgetName()

Name of the variable, if any.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

publicabstractByteStringgetNameBytes()

Name of the variable, if any.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getStatus()

publicabstractStatusMessagegetStatus()

Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state.

The message may refer to variable name with refers_to set to VARIABLE_NAME. Alternatively refers_to will be set to VARIABLE_VALUE. In either case variable value and members will be unset.

Example of error message applied to name: Invalid expression syntax.

Example of information message applied to value: Not captured.

Examples of error message applied to value:

  • Malformed string,
  • Field f not found in class C
  • Null pointer dereference

.google.devtools.clouddebugger.v2.StatusMessage status = 5;

Returns
Type Description
StatusMessage

The status.

getStatusOrBuilder()

publicabstractStatusMessageOrBuildergetStatusOrBuilder()

Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state.

The message may refer to variable name with refers_to set to VARIABLE_NAME. Alternatively refers_to will be set to VARIABLE_VALUE. In either case variable value and members will be unset.

Example of error message applied to name: Invalid expression syntax.

Example of information message applied to value: Not captured.

Examples of error message applied to value:

  • Malformed string,
  • Field f not found in class C
  • Null pointer dereference

.google.devtools.clouddebugger.v2.StatusMessage status = 5;

Returns
Type Description
StatusMessageOrBuilder

getType()

publicabstractStringgetType()

Variable type (e.g. MyClass). If the variable is split with var_table_index, type goes next to value. The interpretation of a type is agent specific. It is recommended to include the dynamic type rather than a static type of an object.

string type = 6;

Returns
Type Description
String

The type.

getTypeBytes()

publicabstractByteStringgetTypeBytes()

Variable type (e.g. MyClass). If the variable is split with var_table_index, type goes next to value. The interpretation of a type is agent specific. It is recommended to include the dynamic type rather than a static type of an object.

string type = 6;

Returns
Type Description
ByteString

The bytes for type.

getValue()

publicabstractStringgetValue()

Simple value of the variable.

string value = 2;

Returns
Type Description
String

The value.

getValueBytes()

publicabstractByteStringgetValueBytes()

Simple value of the variable.

string value = 2;

Returns
Type Description
ByteString

The bytes for value.

getVarTableIndex()

publicabstractInt32ValuegetVarTableIndex()

Reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_table_index field is an index into variable_table in Breakpoint.

.google.protobuf.Int32Value var_table_index = 4;

Returns
Type Description
Int32Value

The varTableIndex.

getVarTableIndexOrBuilder()

publicabstractInt32ValueOrBuildergetVarTableIndexOrBuilder()

Reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_table_index field is an index into variable_table in Breakpoint.

.google.protobuf.Int32Value var_table_index = 4;

Returns
Type Description
Int32ValueOrBuilder

hasStatus()

publicabstractbooleanhasStatus()

Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state.

The message may refer to variable name with refers_to set to VARIABLE_NAME. Alternatively refers_to will be set to VARIABLE_VALUE. In either case variable value and members will be unset.

Example of error message applied to name: Invalid expression syntax.

Example of information message applied to value: Not captured.

Examples of error message applied to value:

  • Malformed string,
  • Field f not found in class C
  • Null pointer dereference

.google.devtools.clouddebugger.v2.StatusMessage status = 5;

Returns
Type Description
boolean

Whether the status field is set.

hasVarTableIndex()

publicabstractbooleanhasVarTableIndex()

Reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_table_index field is an index into variable_table in Breakpoint.

.google.protobuf.Int32Value var_table_index = 4;

Returns
Type Description
boolean

Whether the varTableIndex field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.