Class Breakpoint.Builder (1.27.0)

publicstaticfinalclass Breakpoint.BuilderextendsGeneratedMessageV3.Builder<Breakpoint.Builder>implementsBreakpointOrBuilder

Represents the breakpoint specification, status and results.

Protobuf type google.devtools.clouddebugger.v2.Breakpoint

Implements

BreakpointOrBuilder

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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

addAllEvaluatedExpressions(Iterable<? extends Variable> values)

publicBreakpoint.BuilderaddAllEvaluatedExpressions(Iterable<?extendsVariable>values)

Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the expressions field. The name field holds the original expression text, the value or members field holds the result of the evaluated expression. If the expression cannot be evaluated, the status inside the Variable will indicate an error and contain the error text.

repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;

Parameter
Name Description
values Iterable<? extends com.google.devtools.clouddebugger.v2.Variable>
Returns
Type Description
Breakpoint.Builder

addAllExpressions(Iterable<String> values)

publicBreakpoint.BuilderaddAllExpressions(Iterable<String>values)

List of read-only expressions to evaluate at the breakpoint location. The expressions are composed using expressions in the programming language at the source location. If the breakpoint action is LOG, the evaluated expressions are included in log statements.

repeated string expressions = 4;

Parameter
Name Description
values Iterable<String>

The expressions to add.

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

addAllStackFrames(Iterable<? extends StackFrame> values)

publicBreakpoint.BuilderaddAllStackFrames(Iterable<?extendsStackFrame>values)

The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.

repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;

Parameter
Name Description
values Iterable<? extends com.google.devtools.clouddebugger.v2.StackFrame>
Returns
Type Description
Breakpoint.Builder

addAllVariableTable(Iterable<? extends Variable> values)

publicBreakpoint.BuilderaddAllVariableTable(Iterable<?extendsVariable>values)

The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the same this object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it.

The variable var_table_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.

repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;

Parameter
Name Description
values Iterable<? extends com.google.devtools.clouddebugger.v2.Variable>
Returns
Type Description
Breakpoint.Builder

addEvaluatedExpressions(Variable value)

publicBreakpoint.BuilderaddEvaluatedExpressions(Variablevalue)

Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the expressions field. The name field holds the original expression text, the value or members field holds the result of the evaluated expression. If the expression cannot be evaluated, the status inside the Variable will indicate an error and contain the error text.

repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;

Parameter
Name Description
value Variable
Returns
Type Description
Breakpoint.Builder

addEvaluatedExpressions(Variable.Builder builderForValue)

publicBreakpoint.BuilderaddEvaluatedExpressions(Variable.BuilderbuilderForValue)

Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the expressions field. The name field holds the original expression text, the value or members field holds the result of the evaluated expression. If the expression cannot be evaluated, the status inside the Variable will indicate an error and contain the error text.

repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;

Parameter
Name Description
builderForValue Variable.Builder
Returns
Type Description
Breakpoint.Builder

addEvaluatedExpressions(int index, Variable value)

publicBreakpoint.BuilderaddEvaluatedExpressions(intindex,Variablevalue)

Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the expressions field. The name field holds the original expression text, the value or members field holds the result of the evaluated expression. If the expression cannot be evaluated, the status inside the Variable will indicate an error and contain the error text.

repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;

Parameters
Name Description
index int
value Variable
Returns
Type Description
Breakpoint.Builder

addEvaluatedExpressions(int index, Variable.Builder builderForValue)

publicBreakpoint.BuilderaddEvaluatedExpressions(intindex,Variable.BuilderbuilderForValue)

Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the expressions field. The name field holds the original expression text, the value or members field holds the result of the evaluated expression. If the expression cannot be evaluated, the status inside the Variable will indicate an error and contain the error text.

repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;

Parameters
Name Description
index int
builderForValue Variable.Builder
Returns
Type Description
Breakpoint.Builder

addEvaluatedExpressionsBuilder()

publicVariable.BuilderaddEvaluatedExpressionsBuilder()

Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the expressions field. The name field holds the original expression text, the value or members field holds the result of the evaluated expression. If the expression cannot be evaluated, the status inside the Variable will indicate an error and contain the error text.

repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;

Returns
Type Description
Variable.Builder

addEvaluatedExpressionsBuilder(int index)

publicVariable.BuilderaddEvaluatedExpressionsBuilder(intindex)

Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the expressions field. The name field holds the original expression text, the value or members field holds the result of the evaluated expression. If the expression cannot be evaluated, the status inside the Variable will indicate an error and contain the error text.

repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;

Parameter
Name Description
index int
Returns
Type Description
Variable.Builder

addExpressions(String value)

publicBreakpoint.BuilderaddExpressions(Stringvalue)

List of read-only expressions to evaluate at the breakpoint location. The expressions are composed using expressions in the programming language at the source location. If the breakpoint action is LOG, the evaluated expressions are included in log statements.

repeated string expressions = 4;

Parameter
Name Description
value String

The expressions to add.

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

addExpressionsBytes(ByteString value)

publicBreakpoint.BuilderaddExpressionsBytes(ByteStringvalue)

List of read-only expressions to evaluate at the breakpoint location. The expressions are composed using expressions in the programming language at the source location. If the breakpoint action is LOG, the evaluated expressions are included in log statements.

repeated string expressions = 4;

Parameter
Name Description
value ByteString

The bytes of the expressions to add.

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addStackFrames(StackFrame value)

publicBreakpoint.BuilderaddStackFrames(StackFramevalue)

The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.

repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;

Parameter
Name Description
value StackFrame
Returns
Type Description
Breakpoint.Builder

addStackFrames(StackFrame.Builder builderForValue)

publicBreakpoint.BuilderaddStackFrames(StackFrame.BuilderbuilderForValue)

The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.

repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;

Parameter
Name Description
builderForValue StackFrame.Builder
Returns
Type Description
Breakpoint.Builder

addStackFrames(int index, StackFrame value)

publicBreakpoint.BuilderaddStackFrames(intindex,StackFramevalue)

The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.

repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;

Parameters
Name Description
index int
value StackFrame
Returns
Type Description
Breakpoint.Builder

addStackFrames(int index, StackFrame.Builder builderForValue)

publicBreakpoint.BuilderaddStackFrames(intindex,StackFrame.BuilderbuilderForValue)

The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.

repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;

Parameters
Name Description
index int
builderForValue StackFrame.Builder
Returns
Type Description
Breakpoint.Builder

addStackFramesBuilder()

publicStackFrame.BuilderaddStackFramesBuilder()

The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.

repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;

Returns
Type Description
StackFrame.Builder

addStackFramesBuilder(int index)

publicStackFrame.BuilderaddStackFramesBuilder(intindex)

The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.

repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;

Parameter
Name Description
index int
Returns
Type Description
StackFrame.Builder

addVariableTable(Variable value)

publicBreakpoint.BuilderaddVariableTable(Variablevalue)

The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the same this object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it.

The variable var_table_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.

repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;

Parameter
Name Description
value Variable
Returns
Type Description
Breakpoint.Builder

addVariableTable(Variable.Builder builderForValue)

publicBreakpoint.BuilderaddVariableTable(Variable.BuilderbuilderForValue)

The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the same this object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it.

The variable var_table_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.

repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;

Parameter
Name Description
builderForValue Variable.Builder
Returns
Type Description
Breakpoint.Builder

addVariableTable(int index, Variable value)

publicBreakpoint.BuilderaddVariableTable(intindex,Variablevalue)

The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the same this object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it.

The variable var_table_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.

repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;

Parameters
Name Description
index int
value Variable
Returns
Type Description
Breakpoint.Builder

addVariableTable(int index, Variable.Builder builderForValue)

publicBreakpoint.BuilderaddVariableTable(intindex,Variable.BuilderbuilderForValue)

The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the same this object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it.

The variable var_table_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.

repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;

Parameters
Name Description
index int
builderForValue Variable.Builder
Returns
Type Description
Breakpoint.Builder

addVariableTableBuilder()

publicVariable.BuilderaddVariableTableBuilder()

The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the same this object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it.

The variable var_table_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.

repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;

Returns
Type Description
Variable.Builder

addVariableTableBuilder(int index)

publicVariable.BuilderaddVariableTableBuilder(intindex)

The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the same this object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it.

The variable var_table_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.

repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;

Parameter
Name Description
index int
Returns
Type Description
Variable.Builder

build()

publicBreakpointbuild()
Returns
Type Description
Breakpoint

buildPartial()

publicBreakpointbuildPartial()
Returns
Type Description
Breakpoint

clear()

publicBreakpoint.Builderclear()
Returns
Type Description
Breakpoint.Builder
Overrides

clearAction()

publicBreakpoint.BuilderclearAction()

Action that the agent should perform when the code at the breakpoint location is hit.

.google.devtools.clouddebugger.v2.Breakpoint.Action action = 13;

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

clearCondition()

publicBreakpoint.BuilderclearCondition()

Condition that triggers the breakpoint. The condition is a compound boolean expression composed using expressions in a programming language at the source location.

string condition = 3;

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

clearCreateTime()

publicBreakpoint.BuilderclearCreateTime()

Time this breakpoint was created by the server in seconds resolution.

.google.protobuf.Timestamp create_time = 11;

Returns
Type Description
Breakpoint.Builder

clearEvaluatedExpressions()

publicBreakpoint.BuilderclearEvaluatedExpressions()

Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the expressions field. The name field holds the original expression text, the value or members field holds the result of the evaluated expression. If the expression cannot be evaluated, the status inside the Variable will indicate an error and contain the error text.

repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;

Returns
Type Description
Breakpoint.Builder

clearExpressions()

publicBreakpoint.BuilderclearExpressions()

List of read-only expressions to evaluate at the breakpoint location. The expressions are composed using expressions in the programming language at the source location. If the breakpoint action is LOG, the evaluated expressions are included in log statements.

repeated string expressions = 4;

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicBreakpoint.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Breakpoint.Builder
Overrides

clearFinalTime()

publicBreakpoint.BuilderclearFinalTime()

Time this breakpoint was finalized as seen by the server in seconds resolution.

.google.protobuf.Timestamp final_time = 12;

Returns
Type Description
Breakpoint.Builder

clearId()

publicBreakpoint.BuilderclearId()

Breakpoint identifier, unique in the scope of the debuggee.

string id = 1;

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

clearIsFinalState()

publicBreakpoint.BuilderclearIsFinalState()

When true, indicates that this is a final result and the breakpoint state will not change from here on.

bool is_final_state = 5;

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

clearLabels()

publicBreakpoint.BuilderclearLabels()
Returns
Type Description
Breakpoint.Builder

clearLocation()

publicBreakpoint.BuilderclearLocation()

Breakpoint source location.

.google.devtools.clouddebugger.v2.SourceLocation location = 2;

Returns
Type Description
Breakpoint.Builder

clearLogLevel()

publicBreakpoint.BuilderclearLogLevel()

Indicates the severity of the log. Only relevant when action is LOG.

.google.devtools.clouddebugger.v2.Breakpoint.LogLevel log_level = 15;

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

clearLogMessageFormat()

publicBreakpoint.BuilderclearLogMessageFormat()

Only relevant when action is LOG. Defines the message to log when the breakpoint hits. The message may include parameter placeholders 0ドル, 1ドル, etc. These placeholders are replaced with the evaluated value of the appropriate expression. Expressions not referenced in log_message_format are not logged.

Example: Message received, id = 0,ドル count = 1ドル with expressions = [ message.id, message.count ].

string log_message_format = 14;

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicBreakpoint.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Breakpoint.Builder
Overrides

clearStackFrames()

publicBreakpoint.BuilderclearStackFrames()

The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.

repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;

Returns
Type Description
Breakpoint.Builder

clearStatus()

publicBreakpoint.BuilderclearStatus()

Breakpoint status.

The status includes an error flag and a human readable message. This field is usually unset. The message can be either informational or an error message. Regardless, clients should always display the text message back to the user.

Error status indicates complete failure of the breakpoint.

Example (non-final state): Still loading symbols...

Examples (final state):

  • Invalid line number referring to location
  • Field f not found in class C referring to condition

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

Returns
Type Description
Breakpoint.Builder

clearUserEmail()

publicBreakpoint.BuilderclearUserEmail()

E-mail address of the user that created this breakpoint

string user_email = 16;

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

clearVariableTable()

publicBreakpoint.BuilderclearVariableTable()

The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the same this object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it.

The variable var_table_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.

repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;

Returns
Type Description
Breakpoint.Builder

clone()

publicBreakpoint.Builderclone()
Returns
Type Description
Breakpoint.Builder
Overrides

containsLabels(String key)

publicbooleancontainsLabels(Stringkey)

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

map<string, string> labels = 17;

Parameter
Name Description
key String
Returns
Type Description
boolean

getAction()

publicBreakpoint.ActiongetAction()

Action that the agent should perform when the code at the breakpoint location is hit.

.google.devtools.clouddebugger.v2.Breakpoint.Action action = 13;

Returns
Type Description
Breakpoint.Action

The action.

getActionValue()

publicintgetActionValue()

Action that the agent should perform when the code at the breakpoint location is hit.

.google.devtools.clouddebugger.v2.Breakpoint.Action action = 13;

Returns
Type Description
int

The enum numeric value on the wire for action.

getCondition()

publicStringgetCondition()

Condition that triggers the breakpoint. The condition is a compound boolean expression composed using expressions in a programming language at the source location.

string condition = 3;

Returns
Type Description
String

The condition.

getConditionBytes()

publicByteStringgetConditionBytes()

Condition that triggers the breakpoint. The condition is a compound boolean expression composed using expressions in a programming language at the source location.

string condition = 3;

Returns
Type Description
ByteString

The bytes for condition.

getCreateTime()

publicTimestampgetCreateTime()

Time this breakpoint was created by the server in seconds resolution.

.google.protobuf.Timestamp create_time = 11;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

publicTimestamp.BuildergetCreateTimeBuilder()

Time this breakpoint was created by the server in seconds resolution.

.google.protobuf.Timestamp create_time = 11;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

publicTimestampOrBuildergetCreateTimeOrBuilder()

Time this breakpoint was created by the server in seconds resolution.

.google.protobuf.Timestamp create_time = 11;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

publicBreakpointgetDefaultInstanceForType()
Returns
Type Description
Breakpoint

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEvaluatedExpressions(int index)

publicVariablegetEvaluatedExpressions(intindex)

Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the expressions field. The name field holds the original expression text, the value or members field holds the result of the evaluated expression. If the expression cannot be evaluated, the status inside the Variable will indicate an error and contain the error text.

repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;

Parameter
Name Description
index int
Returns
Type Description
Variable

getEvaluatedExpressionsBuilder(int index)

publicVariable.BuildergetEvaluatedExpressionsBuilder(intindex)

Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the expressions field. The name field holds the original expression text, the value or members field holds the result of the evaluated expression. If the expression cannot be evaluated, the status inside the Variable will indicate an error and contain the error text.

repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;

Parameter
Name Description
index int
Returns
Type Description
Variable.Builder

getEvaluatedExpressionsBuilderList()

publicList<Variable.Builder>getEvaluatedExpressionsBuilderList()

Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the expressions field. The name field holds the original expression text, the value or members field holds the result of the evaluated expression. If the expression cannot be evaluated, the status inside the Variable will indicate an error and contain the error text.

repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;

Returns
Type Description
List<Builder>

getEvaluatedExpressionsCount()

publicintgetEvaluatedExpressionsCount()

Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the expressions field. The name field holds the original expression text, the value or members field holds the result of the evaluated expression. If the expression cannot be evaluated, the status inside the Variable will indicate an error and contain the error text.

repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;

Returns
Type Description
int

getEvaluatedExpressionsList()

publicList<Variable>getEvaluatedExpressionsList()

Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the expressions field. The name field holds the original expression text, the value or members field holds the result of the evaluated expression. If the expression cannot be evaluated, the status inside the Variable will indicate an error and contain the error text.

repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;

Returns
Type Description
List<Variable>

getEvaluatedExpressionsOrBuilder(int index)

publicVariableOrBuildergetEvaluatedExpressionsOrBuilder(intindex)

Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the expressions field. The name field holds the original expression text, the value or members field holds the result of the evaluated expression. If the expression cannot be evaluated, the status inside the Variable will indicate an error and contain the error text.

repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;

Parameter
Name Description
index int
Returns
Type Description
VariableOrBuilder

getEvaluatedExpressionsOrBuilderList()

publicList<?extendsVariableOrBuilder>getEvaluatedExpressionsOrBuilderList()

Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the expressions field. The name field holds the original expression text, the value or members field holds the result of the evaluated expression. If the expression cannot be evaluated, the status inside the Variable will indicate an error and contain the error text.

repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;

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

getExpressions(int index)

publicStringgetExpressions(intindex)

List of read-only expressions to evaluate at the breakpoint location. The expressions are composed using expressions in the programming language at the source location. If the breakpoint action is LOG, the evaluated expressions are included in log statements.

repeated string expressions = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The expressions at the given index.

getExpressionsBytes(int index)

publicByteStringgetExpressionsBytes(intindex)

List of read-only expressions to evaluate at the breakpoint location. The expressions are composed using expressions in the programming language at the source location. If the breakpoint action is LOG, the evaluated expressions are included in log statements.

repeated string expressions = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the expressions at the given index.

getExpressionsCount()

publicintgetExpressionsCount()

List of read-only expressions to evaluate at the breakpoint location. The expressions are composed using expressions in the programming language at the source location. If the breakpoint action is LOG, the evaluated expressions are included in log statements.

repeated string expressions = 4;

Returns
Type Description
int

The count of expressions.

getExpressionsList()

publicProtocolStringListgetExpressionsList()

List of read-only expressions to evaluate at the breakpoint location. The expressions are composed using expressions in the programming language at the source location. If the breakpoint action is LOG, the evaluated expressions are included in log statements.

repeated string expressions = 4;

Returns
Type Description
ProtocolStringList

A list containing the expressions.

getFinalTime()

publicTimestampgetFinalTime()

Time this breakpoint was finalized as seen by the server in seconds resolution.

.google.protobuf.Timestamp final_time = 12;

Returns
Type Description
Timestamp

The finalTime.

getFinalTimeBuilder()

publicTimestamp.BuildergetFinalTimeBuilder()

Time this breakpoint was finalized as seen by the server in seconds resolution.

.google.protobuf.Timestamp final_time = 12;

Returns
Type Description
Builder

getFinalTimeOrBuilder()

publicTimestampOrBuildergetFinalTimeOrBuilder()

Time this breakpoint was finalized as seen by the server in seconds resolution.

.google.protobuf.Timestamp final_time = 12;

Returns
Type Description
TimestampOrBuilder

getId()

publicStringgetId()

Breakpoint identifier, unique in the scope of the debuggee.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

publicByteStringgetIdBytes()

Breakpoint identifier, unique in the scope of the debuggee.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getIsFinalState()

publicbooleangetIsFinalState()

When true, indicates that this is a final result and the breakpoint state will not change from here on.

bool is_final_state = 5;

Returns
Type Description
boolean

The isFinalState.

getLabels()

publicMap<String,String>getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

publicintgetLabelsCount()

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

map<string, string> labels = 17;

Returns
Type Description
int

getLabelsMap()

publicMap<String,String>getLabelsMap()

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

map<string, string> labels = 17;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)

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

map<string, string> labels = 17;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

publicStringgetLabelsOrThrow(Stringkey)

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

map<string, string> labels = 17;

Parameter
Name Description
key String
Returns
Type Description
String

getLocation()

publicSourceLocationgetLocation()

Breakpoint source location.

.google.devtools.clouddebugger.v2.SourceLocation location = 2;

Returns
Type Description
SourceLocation

The location.

getLocationBuilder()

publicSourceLocation.BuildergetLocationBuilder()

Breakpoint source location.

.google.devtools.clouddebugger.v2.SourceLocation location = 2;

Returns
Type Description
SourceLocation.Builder

getLocationOrBuilder()

publicSourceLocationOrBuildergetLocationOrBuilder()

Breakpoint source location.

.google.devtools.clouddebugger.v2.SourceLocation location = 2;

Returns
Type Description
SourceLocationOrBuilder

getLogLevel()

publicBreakpoint.LogLevelgetLogLevel()

Indicates the severity of the log. Only relevant when action is LOG.

.google.devtools.clouddebugger.v2.Breakpoint.LogLevel log_level = 15;

Returns
Type Description
Breakpoint.LogLevel

The logLevel.

getLogLevelValue()

publicintgetLogLevelValue()

Indicates the severity of the log. Only relevant when action is LOG.

.google.devtools.clouddebugger.v2.Breakpoint.LogLevel log_level = 15;

Returns
Type Description
int

The enum numeric value on the wire for logLevel.

getLogMessageFormat()

publicStringgetLogMessageFormat()

Only relevant when action is LOG. Defines the message to log when the breakpoint hits. The message may include parameter placeholders 0ドル, 1ドル, etc. These placeholders are replaced with the evaluated value of the appropriate expression. Expressions not referenced in log_message_format are not logged.

Example: Message received, id = 0,ドル count = 1ドル with expressions = [ message.id, message.count ].

string log_message_format = 14;

Returns
Type Description
String

The logMessageFormat.

getLogMessageFormatBytes()

publicByteStringgetLogMessageFormatBytes()

Only relevant when action is LOG. Defines the message to log when the breakpoint hits. The message may include parameter placeholders 0ドル, 1ドル, etc. These placeholders are replaced with the evaluated value of the appropriate expression. Expressions not referenced in log_message_format are not logged.

Example: Message received, id = 0,ドル count = 1ドル with expressions = [ message.id, message.count ].

string log_message_format = 14;

Returns
Type Description
ByteString

The bytes for logMessageFormat.

getMutableLabels()

publicMap<String,String>getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getStackFrames(int index)

publicStackFramegetStackFrames(intindex)

The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.

repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;

Parameter
Name Description
index int
Returns
Type Description
StackFrame

getStackFramesBuilder(int index)

publicStackFrame.BuildergetStackFramesBuilder(intindex)

The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.

repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;

Parameter
Name Description
index int
Returns
Type Description
StackFrame.Builder

getStackFramesBuilderList()

publicList<StackFrame.Builder>getStackFramesBuilderList()

The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.

repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;

Returns
Type Description
List<Builder>

getStackFramesCount()

publicintgetStackFramesCount()

The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.

repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;

Returns
Type Description
int

getStackFramesList()

publicList<StackFrame>getStackFramesList()

The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.

repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;

Returns
Type Description
List<StackFrame>

getStackFramesOrBuilder(int index)

publicStackFrameOrBuildergetStackFramesOrBuilder(intindex)

The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.

repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;

Parameter
Name Description
index int
Returns
Type Description
StackFrameOrBuilder

getStackFramesOrBuilderList()

publicList<?extendsStackFrameOrBuilder>getStackFramesOrBuilderList()

The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.

repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;

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

getStatus()

publicStatusMessagegetStatus()

Breakpoint status.

The status includes an error flag and a human readable message. This field is usually unset. The message can be either informational or an error message. Regardless, clients should always display the text message back to the user.

Error status indicates complete failure of the breakpoint.

Example (non-final state): Still loading symbols...

Examples (final state):

  • Invalid line number referring to location
  • Field f not found in class C referring to condition

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

Returns
Type Description
StatusMessage

The status.

getStatusBuilder()

publicStatusMessage.BuildergetStatusBuilder()

Breakpoint status.

The status includes an error flag and a human readable message. This field is usually unset. The message can be either informational or an error message. Regardless, clients should always display the text message back to the user.

Error status indicates complete failure of the breakpoint.

Example (non-final state): Still loading symbols...

Examples (final state):

  • Invalid line number referring to location
  • Field f not found in class C referring to condition

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

Returns
Type Description
StatusMessage.Builder

getStatusOrBuilder()

publicStatusMessageOrBuildergetStatusOrBuilder()

Breakpoint status.

The status includes an error flag and a human readable message. This field is usually unset. The message can be either informational or an error message. Regardless, clients should always display the text message back to the user.

Error status indicates complete failure of the breakpoint.

Example (non-final state): Still loading symbols...

Examples (final state):

  • Invalid line number referring to location
  • Field f not found in class C referring to condition

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

Returns
Type Description
StatusMessageOrBuilder

getUserEmail()

publicStringgetUserEmail()

E-mail address of the user that created this breakpoint

string user_email = 16;

Returns
Type Description
String

The userEmail.

getUserEmailBytes()

publicByteStringgetUserEmailBytes()

E-mail address of the user that created this breakpoint

string user_email = 16;

Returns
Type Description
ByteString

The bytes for userEmail.

getVariableTable(int index)

publicVariablegetVariableTable(intindex)

The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the same this object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it.

The variable var_table_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.

repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;

Parameter
Name Description
index int
Returns
Type Description
Variable

getVariableTableBuilder(int index)

publicVariable.BuildergetVariableTableBuilder(intindex)

The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the same this object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it.

The variable var_table_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.

repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;

Parameter
Name Description
index int
Returns
Type Description
Variable.Builder

getVariableTableBuilderList()

publicList<Variable.Builder>getVariableTableBuilderList()

The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the same this object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it.

The variable var_table_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.

repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;

Returns
Type Description
List<Builder>

getVariableTableCount()

publicintgetVariableTableCount()

The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the same this object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it.

The variable var_table_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.

repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;

Returns
Type Description
int

getVariableTableList()

publicList<Variable>getVariableTableList()

The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the same this object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it.

The variable var_table_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.

repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;

Returns
Type Description
List<Variable>

getVariableTableOrBuilder(int index)

publicVariableOrBuildergetVariableTableOrBuilder(intindex)

The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the same this object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it.

The variable var_table_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.

repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;

Parameter
Name Description
index int
Returns
Type Description
VariableOrBuilder

getVariableTableOrBuilderList()

publicList<?extendsVariableOrBuilder>getVariableTableOrBuilderList()

The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the same this object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it.

The variable var_table_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.

repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;

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

hasCreateTime()

publicbooleanhasCreateTime()

Time this breakpoint was created by the server in seconds resolution.

.google.protobuf.Timestamp create_time = 11;

Returns
Type Description
boolean

Whether the createTime field is set.

hasFinalTime()

publicbooleanhasFinalTime()

Time this breakpoint was finalized as seen by the server in seconds resolution.

.google.protobuf.Timestamp final_time = 12;

Returns
Type Description
boolean

Whether the finalTime field is set.

hasLocation()

publicbooleanhasLocation()

Breakpoint source location.

.google.devtools.clouddebugger.v2.SourceLocation location = 2;

Returns
Type Description
boolean

Whether the location field is set.

hasStatus()

publicbooleanhasStatus()

Breakpoint status.

The status includes an error flag and a human readable message. This field is usually unset. The message can be either informational or an error message. Regardless, clients should always display the text message back to the user.

Error status indicates complete failure of the breakpoint.

Example (non-final state): Still loading symbols...

Examples (final state):

  • Invalid line number referring to location
  • Field f not found in class C referring to condition

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

Returns
Type Description
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapField(int number)

protectedMapFieldinternalGetMapField(intnumber)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

internalGetMutableMapField(int number)

protectedMapFieldinternalGetMutableMapField(intnumber)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

publicBreakpoint.BuildermergeCreateTime(Timestampvalue)

Time this breakpoint was created by the server in seconds resolution.

.google.protobuf.Timestamp create_time = 11;

Parameter
Name Description
value Timestamp
Returns
Type Description
Breakpoint.Builder

mergeFinalTime(Timestamp value)

publicBreakpoint.BuildermergeFinalTime(Timestampvalue)

Time this breakpoint was finalized as seen by the server in seconds resolution.

.google.protobuf.Timestamp final_time = 12;

Parameter
Name Description
value Timestamp
Returns
Type Description
Breakpoint.Builder

mergeFrom(Breakpoint other)

publicBreakpoint.BuildermergeFrom(Breakpointother)
Parameter
Name Description
other Breakpoint
Returns
Type Description
Breakpoint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

publicBreakpoint.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Breakpoint.Builder
Overrides

mergeLocation(SourceLocation value)

publicBreakpoint.BuildermergeLocation(SourceLocationvalue)

Breakpoint source location.

.google.devtools.clouddebugger.v2.SourceLocation location = 2;

Parameter
Name Description
value SourceLocation
Returns
Type Description
Breakpoint.Builder

mergeStatus(StatusMessage value)

publicBreakpoint.BuildermergeStatus(StatusMessagevalue)

Breakpoint status.

The status includes an error flag and a human readable message. This field is usually unset. The message can be either informational or an error message. Regardless, clients should always display the text message back to the user.

Error status indicates complete failure of the breakpoint.

Example (non-final state): Still loading symbols...

Examples (final state):

  • Invalid line number referring to location
  • Field f not found in class C referring to condition

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

Parameter
Name Description
value StatusMessage
Returns
Type Description
Breakpoint.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalBreakpoint.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Breakpoint.Builder
Overrides

putAllLabels(Map<String,String> values)

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

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

map<string, string> labels = 17;

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

putLabels(String key, String value)

publicBreakpoint.BuilderputLabels(Stringkey,Stringvalue)

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

map<string, string> labels = 17;

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

removeEvaluatedExpressions(int index)

publicBreakpoint.BuilderremoveEvaluatedExpressions(intindex)

Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the expressions field. The name field holds the original expression text, the value or members field holds the result of the evaluated expression. If the expression cannot be evaluated, the status inside the Variable will indicate an error and contain the error text.

repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;

Parameter
Name Description
index int
Returns
Type Description
Breakpoint.Builder

removeLabels(String key)

publicBreakpoint.BuilderremoveLabels(Stringkey)

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

map<string, string> labels = 17;

Parameter
Name Description
key String
Returns
Type Description
Breakpoint.Builder

removeStackFrames(int index)

publicBreakpoint.BuilderremoveStackFrames(intindex)

The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.

repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;

Parameter
Name Description
index int
Returns
Type Description
Breakpoint.Builder

removeVariableTable(int index)

publicBreakpoint.BuilderremoveVariableTable(intindex)

The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the same this object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it.

The variable var_table_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.

repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;

Parameter
Name Description
index int
Returns
Type Description
Breakpoint.Builder

setAction(Breakpoint.Action value)

publicBreakpoint.BuildersetAction(Breakpoint.Actionvalue)

Action that the agent should perform when the code at the breakpoint location is hit.

.google.devtools.clouddebugger.v2.Breakpoint.Action action = 13;

Parameter
Name Description
value Breakpoint.Action

The action to set.

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

setActionValue(int value)

publicBreakpoint.BuildersetActionValue(intvalue)

Action that the agent should perform when the code at the breakpoint location is hit.

.google.devtools.clouddebugger.v2.Breakpoint.Action action = 13;

Parameter
Name Description
value int

The enum numeric value on the wire for action to set.

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

setCondition(String value)

publicBreakpoint.BuildersetCondition(Stringvalue)

Condition that triggers the breakpoint. The condition is a compound boolean expression composed using expressions in a programming language at the source location.

string condition = 3;

Parameter
Name Description
value String

The condition to set.

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

setConditionBytes(ByteString value)

publicBreakpoint.BuildersetConditionBytes(ByteStringvalue)

Condition that triggers the breakpoint. The condition is a compound boolean expression composed using expressions in a programming language at the source location.

string condition = 3;

Parameter
Name Description
value ByteString

The bytes for condition to set.

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

setCreateTime(Timestamp value)

publicBreakpoint.BuildersetCreateTime(Timestampvalue)

Time this breakpoint was created by the server in seconds resolution.

.google.protobuf.Timestamp create_time = 11;

Parameter
Name Description
value Timestamp
Returns
Type Description
Breakpoint.Builder

setCreateTime(Timestamp.Builder builderForValue)

publicBreakpoint.BuildersetCreateTime(Timestamp.BuilderbuilderForValue)

Time this breakpoint was created by the server in seconds resolution.

.google.protobuf.Timestamp create_time = 11;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Breakpoint.Builder

setEvaluatedExpressions(int index, Variable value)

publicBreakpoint.BuildersetEvaluatedExpressions(intindex,Variablevalue)

Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the expressions field. The name field holds the original expression text, the value or members field holds the result of the evaluated expression. If the expression cannot be evaluated, the status inside the Variable will indicate an error and contain the error text.

repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;

Parameters
Name Description
index int
value Variable
Returns
Type Description
Breakpoint.Builder

setEvaluatedExpressions(int index, Variable.Builder builderForValue)

publicBreakpoint.BuildersetEvaluatedExpressions(intindex,Variable.BuilderbuilderForValue)

Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the expressions field. The name field holds the original expression text, the value or members field holds the result of the evaluated expression. If the expression cannot be evaluated, the status inside the Variable will indicate an error and contain the error text.

repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;

Parameters
Name Description
index int
builderForValue Variable.Builder
Returns
Type Description
Breakpoint.Builder

setExpressions(int index, String value)

publicBreakpoint.BuildersetExpressions(intindex,Stringvalue)

List of read-only expressions to evaluate at the breakpoint location. The expressions are composed using expressions in the programming language at the source location. If the breakpoint action is LOG, the evaluated expressions are included in log statements.

repeated string expressions = 4;

Parameters
Name Description
index int

The index to set the value at.

value String

The expressions to set.

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFinalTime(Timestamp value)

publicBreakpoint.BuildersetFinalTime(Timestampvalue)

Time this breakpoint was finalized as seen by the server in seconds resolution.

.google.protobuf.Timestamp final_time = 12;

Parameter
Name Description
value Timestamp
Returns
Type Description
Breakpoint.Builder

setFinalTime(Timestamp.Builder builderForValue)

publicBreakpoint.BuildersetFinalTime(Timestamp.BuilderbuilderForValue)

Time this breakpoint was finalized as seen by the server in seconds resolution.

.google.protobuf.Timestamp final_time = 12;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Breakpoint.Builder

setId(String value)

publicBreakpoint.BuildersetId(Stringvalue)

Breakpoint identifier, unique in the scope of the debuggee.

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

setIdBytes(ByteString value)

publicBreakpoint.BuildersetIdBytes(ByteStringvalue)

Breakpoint identifier, unique in the scope of the debuggee.

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

setIsFinalState(boolean value)

publicBreakpoint.BuildersetIsFinalState(booleanvalue)

When true, indicates that this is a final result and the breakpoint state will not change from here on.

bool is_final_state = 5;

Parameter
Name Description
value boolean

The isFinalState to set.

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

setLocation(SourceLocation value)

publicBreakpoint.BuildersetLocation(SourceLocationvalue)

Breakpoint source location.

.google.devtools.clouddebugger.v2.SourceLocation location = 2;

Parameter
Name Description
value SourceLocation
Returns
Type Description
Breakpoint.Builder

setLocation(SourceLocation.Builder builderForValue)

publicBreakpoint.BuildersetLocation(SourceLocation.BuilderbuilderForValue)

Breakpoint source location.

.google.devtools.clouddebugger.v2.SourceLocation location = 2;

Parameter
Name Description
builderForValue SourceLocation.Builder
Returns
Type Description
Breakpoint.Builder

setLogLevel(Breakpoint.LogLevel value)

publicBreakpoint.BuildersetLogLevel(Breakpoint.LogLevelvalue)

Indicates the severity of the log. Only relevant when action is LOG.

.google.devtools.clouddebugger.v2.Breakpoint.LogLevel log_level = 15;

Parameter
Name Description
value Breakpoint.LogLevel

The logLevel to set.

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

setLogLevelValue(int value)

publicBreakpoint.BuildersetLogLevelValue(intvalue)

Indicates the severity of the log. Only relevant when action is LOG.

.google.devtools.clouddebugger.v2.Breakpoint.LogLevel log_level = 15;

Parameter
Name Description
value int

The enum numeric value on the wire for logLevel to set.

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

setLogMessageFormat(String value)

publicBreakpoint.BuildersetLogMessageFormat(Stringvalue)

Only relevant when action is LOG. Defines the message to log when the breakpoint hits. The message may include parameter placeholders 0ドル, 1ドル, etc. These placeholders are replaced with the evaluated value of the appropriate expression. Expressions not referenced in log_message_format are not logged.

Example: Message received, id = 0,ドル count = 1ドル with expressions = [ message.id, message.count ].

string log_message_format = 14;

Parameter
Name Description
value String

The logMessageFormat to set.

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

setLogMessageFormatBytes(ByteString value)

publicBreakpoint.BuildersetLogMessageFormatBytes(ByteStringvalue)

Only relevant when action is LOG. Defines the message to log when the breakpoint hits. The message may include parameter placeholders 0ドル, 1ドル, etc. These placeholders are replaced with the evaluated value of the appropriate expression. Expressions not referenced in log_message_format are not logged.

Example: Message received, id = 0,ドル count = 1ドル with expressions = [ message.id, message.count ].

string log_message_format = 14;

Parameter
Name Description
value ByteString

The bytes for logMessageFormat to set.

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

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

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

setStackFrames(int index, StackFrame value)

publicBreakpoint.BuildersetStackFrames(intindex,StackFramevalue)

The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.

repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;

Parameters
Name Description
index int
value StackFrame
Returns
Type Description
Breakpoint.Builder

setStackFrames(int index, StackFrame.Builder builderForValue)

publicBreakpoint.BuildersetStackFrames(intindex,StackFrame.BuilderbuilderForValue)

The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.

repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;

Parameters
Name Description
index int
builderForValue StackFrame.Builder
Returns
Type Description
Breakpoint.Builder

setStatus(StatusMessage value)

publicBreakpoint.BuildersetStatus(StatusMessagevalue)

Breakpoint status.

The status includes an error flag and a human readable message. This field is usually unset. The message can be either informational or an error message. Regardless, clients should always display the text message back to the user.

Error status indicates complete failure of the breakpoint.

Example (non-final state): Still loading symbols...

Examples (final state):

  • Invalid line number referring to location
  • Field f not found in class C referring to condition

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

Parameter
Name Description
value StatusMessage
Returns
Type Description
Breakpoint.Builder

setStatus(StatusMessage.Builder builderForValue)

publicBreakpoint.BuildersetStatus(StatusMessage.BuilderbuilderForValue)

Breakpoint status.

The status includes an error flag and a human readable message. This field is usually unset. The message can be either informational or an error message. Regardless, clients should always display the text message back to the user.

Error status indicates complete failure of the breakpoint.

Example (non-final state): Still loading symbols...

Examples (final state):

  • Invalid line number referring to location
  • Field f not found in class C referring to condition

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

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

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalBreakpoint.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Breakpoint.Builder
Overrides

setUserEmail(String value)

publicBreakpoint.BuildersetUserEmail(Stringvalue)

E-mail address of the user that created this breakpoint

string user_email = 16;

Parameter
Name Description
value String

The userEmail to set.

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

setUserEmailBytes(ByteString value)

publicBreakpoint.BuildersetUserEmailBytes(ByteStringvalue)

E-mail address of the user that created this breakpoint

string user_email = 16;

Parameter
Name Description
value ByteString

The bytes for userEmail to set.

Returns
Type Description
Breakpoint.Builder

This builder for chaining.

setVariableTable(int index, Variable value)

publicBreakpoint.BuildersetVariableTable(intindex,Variablevalue)

The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the same this object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it.

The variable var_table_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.

repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;

Parameters
Name Description
index int
value Variable
Returns
Type Description
Breakpoint.Builder

setVariableTable(int index, Variable.Builder builderForValue)

publicBreakpoint.BuildersetVariableTable(intindex,Variable.BuilderbuilderForValue)

The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the same this object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it.

The variable var_table_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.

repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;

Parameters
Name Description
index int
builderForValue Variable.Builder
Returns
Type Description
Breakpoint.Builder

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.