Class Variable.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Variable.Builder>
-
- com.google.devtools.clouddebugger.v2.Variable.Builder
-
- All Implemented Interfaces:
VariableOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Variable
public static final class Variable.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Variable.Builder> implements VariableOrBuilder
Represents a variable or an argument possibly of a compound object type. Note how the following variables are represented: 1) A simple variable: int x = 5 { name: "x", value: "5", type: "int" } // Captured variable 2) A compound object: struct T { int m1; int m2; }; T x = { 3, 7 }; { // Captured variable name: "x", type: "T", members { name: "m1", value: "3", type: "int" }, members { name: "m2", value: "7", type: "int" } } 3) A pointer where the pointee was captured: T x = { 3, 7 }; T* p = &x; { // Captured variable name: "p", type: "T*", value: "0x00500500", members { name: "m1", value: "3", type: "int" }, members { name: "m2", value: "7", type: "int" } } 4) A pointer where the pointee was not captured: T* p = new T; { // Captured variable name: "p", type: "T*", value: "0x00400400" status { is_error: true, description { format: "unavailable" } } } The status should describe the reason for the missing value, such as `<optimized out>`, `<inaccessible>`, `<pointers limit reached>`. Note that a null pointer should not have members. 5) An unnamed value: int* p = new int(7); { // Captured variable name: "p", value: "0x00500500", type: "int*", members { value: "7", type: "int" } } 6) An unnamed pointer where the pointee was not captured: int* p = new int(7); int** pp = &p; { // Captured variable name: "pp", value: "0x00500500", type: "int**", members { value: "0x00400400", type: "int*" status { is_error: true, description: { format: "unavailable" } } } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the `var_table_index` field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable, merge the referencing variable with the referenced variable. When using the shared variable table, the following variables: T x = { 3, 7 }; T* p = &x; T& r = x; { name: "x", var_table_index: 3, type: "T" } // Captured variables { name: "p", value "0x00500500", type="T*", var_table_index: 3 } { name: "r", type="T&", var_table_index: 3 } { // Shared variable table entry #3: members { name: "m1", value: "3", type: "int" }, members { name: "m2", value: "7", type: "int" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable. This allows the referenced variable to be shared between pointers and references. The type field is optional. The debugger agent may or may not support it.
Protobuf typegoogle.devtools.clouddebugger.v2.Variable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Variable.Builder
addAllMembers(Iterable<? extends Variable> values)
Members contained or pointed to by the variable.Variable.Builder
addMembers(int index, Variable value)
Members contained or pointed to by the variable.Variable.Builder
addMembers(int index, Variable.Builder builderForValue)
Members contained or pointed to by the variable.Variable.Builder
addMembers(Variable value)
Members contained or pointed to by the variable.Variable.Builder
addMembers(Variable.Builder builderForValue)
Members contained or pointed to by the variable.Variable.Builder
addMembersBuilder()
Members contained or pointed to by the variable.Variable.Builder
addMembersBuilder(int index)
Members contained or pointed to by the variable.Variable.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Variable
build()
Variable
buildPartial()
Variable.Builder
clear()
Variable.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Variable.Builder
clearMembers()
Members contained or pointed to by the variable.Variable.Builder
clearName()
Name of the variable, if any.Variable.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Variable.Builder
clearStatus()
Status associated with the variable.Variable.Builder
clearType()
Variable type (e.g.Variable.Builder
clearValue()
Simple value of the variable.Variable.Builder
clearVarTableIndex()
Reference to a variable in the shared variable table.Variable.Builder
clone()
Variable
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Variable
getMembers(int index)
Members contained or pointed to by the variable.Variable.Builder
getMembersBuilder(int index)
Members contained or pointed to by the variable.List<Variable.Builder>
getMembersBuilderList()
Members contained or pointed to by the variable.int
getMembersCount()
Members contained or pointed to by the variable.List<Variable>
getMembersList()
Members contained or pointed to by the variable.VariableOrBuilder
getMembersOrBuilder(int index)
Members contained or pointed to by the variable.List<? extends VariableOrBuilder>
getMembersOrBuilderList()
Members contained or pointed to by the variable.String
getName()
Name of the variable, if any.com.google.protobuf.ByteString
getNameBytes()
Name of the variable, if any.StatusMessage
getStatus()
Status associated with the variable.StatusMessage.Builder
getStatusBuilder()
Status associated with the variable.StatusMessageOrBuilder
getStatusOrBuilder()
Status associated with the variable.String
getType()
Variable type (e.g.com.google.protobuf.ByteString
getTypeBytes()
Variable type (e.g.String
getValue()
Simple value of the variable.com.google.protobuf.ByteString
getValueBytes()
Simple value of the variable.com.google.protobuf.Int32Value
getVarTableIndex()
Reference to a variable in the shared variable table.com.google.protobuf.Int32Value.Builder
getVarTableIndexBuilder()
Reference to a variable in the shared variable table.com.google.protobuf.Int32ValueOrBuilder
getVarTableIndexOrBuilder()
Reference to a variable in the shared variable table.boolean
hasStatus()
Status associated with the variable.boolean
hasVarTableIndex()
Reference to a variable in the shared variable table.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Variable.Builder
mergeFrom(Variable other)
Variable.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Variable.Builder
mergeFrom(com.google.protobuf.Message other)
Variable.Builder
mergeStatus(StatusMessage value)
Status associated with the variable.Variable.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Variable.Builder
mergeVarTableIndex(com.google.protobuf.Int32Value value)
Reference to a variable in the shared variable table.Variable.Builder
removeMembers(int index)
Members contained or pointed to by the variable.Variable.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Variable.Builder
setMembers(int index, Variable value)
Members contained or pointed to by the variable.Variable.Builder
setMembers(int index, Variable.Builder builderForValue)
Members contained or pointed to by the variable.Variable.Builder
setName(String value)
Name of the variable, if any.Variable.Builder
setNameBytes(com.google.protobuf.ByteString value)
Name of the variable, if any.Variable.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Variable.Builder
setStatus(StatusMessage value)
Status associated with the variable.Variable.Builder
setStatus(StatusMessage.Builder builderForValue)
Status associated with the variable.Variable.Builder
setType(String value)
Variable type (e.g.Variable.Builder
setTypeBytes(com.google.protobuf.ByteString value)
Variable type (e.g.Variable.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Variable.Builder
setValue(String value)
Simple value of the variable.Variable.Builder
setValueBytes(com.google.protobuf.ByteString value)
Simple value of the variable.Variable.Builder
setVarTableIndex(com.google.protobuf.Int32Value value)
Reference to a variable in the shared variable table.Variable.Builder
setVarTableIndex(com.google.protobuf.Int32Value.Builder builderForValue)
Reference to a variable in the shared variable table.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Variable.Builder>
-
clear
public Variable.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Variable.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Variable.Builder>
-
getDefaultInstanceForType
public Variable getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Variable build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Variable buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Variable.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Variable.Builder>
-
setField
public Variable.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Variable.Builder>
-
clearField
public Variable.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Variable.Builder>
-
clearOneof
public Variable.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Variable.Builder>
-
setRepeatedField
public Variable.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Variable.Builder>
-
addRepeatedField
public Variable.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Variable.Builder>
-
mergeFrom
public Variable.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Variable.Builder>
-
mergeFrom
public Variable.Builder mergeFrom(Variable other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Variable.Builder>
-
mergeFrom
public Variable.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Variable.Builder>
- Throws:
IOException
-
getName
public String getName()
Name of the variable, if any.
string name = 1;
- Specified by:
getName
in interfaceVariableOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the variable, if any.
string name = 1;
- Specified by:
getNameBytes
in interfaceVariableOrBuilder
- Returns:
- The bytes for name.
-
setName
public Variable.Builder setName(String value)
Name of the variable, if any.
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Variable.Builder clearName()
Name of the variable, if any.
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public Variable.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the variable, if any.
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getValue
public String getValue()
Simple value of the variable.
string value = 2;
- Specified by:
getValue
in interfaceVariableOrBuilder
- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()
Simple value of the variable.
string value = 2;
- Specified by:
getValueBytes
in interfaceVariableOrBuilder
- Returns:
- The bytes for value.
-
setValue
public Variable.Builder setValue(String value)
Simple value of the variable.
string value = 2;
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public Variable.Builder clearValue()
Simple value of the variable.
string value = 2;
- Returns:
- This builder for chaining.
-
setValueBytes
public Variable.Builder setValueBytes(com.google.protobuf.ByteString value)
Simple value of the variable.
string value = 2;
- Parameters:
value
- The bytes for value to set.- Returns:
- This builder for chaining.
-
getType
public String getType()
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;
- Specified by:
getType
in interfaceVariableOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
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;
- Specified by:
getTypeBytes
in interfaceVariableOrBuilder
- Returns:
- The bytes for type.
-
setType
public Variable.Builder setType(String value)
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;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public Variable.Builder clearType()
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:
- This builder for chaining.
-
setTypeBytes
public Variable.Builder setTypeBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for type to set.- Returns:
- This builder for chaining.
-
getMembersList
public List<Variable> getMembersList()
Members contained or pointed to by the variable.
repeated .google.devtools.clouddebugger.v2.Variable members = 3;
- Specified by:
getMembersList
in interfaceVariableOrBuilder
-
getMembersCount
public int getMembersCount()
Members contained or pointed to by the variable.
repeated .google.devtools.clouddebugger.v2.Variable members = 3;
- Specified by:
getMembersCount
in interfaceVariableOrBuilder
-
getMembers
public Variable getMembers(int index)
Members contained or pointed to by the variable.
repeated .google.devtools.clouddebugger.v2.Variable members = 3;
- Specified by:
getMembers
in interfaceVariableOrBuilder
-
setMembers
public Variable.Builder setMembers(int index, Variable value)
Members contained or pointed to by the variable.
repeated .google.devtools.clouddebugger.v2.Variable members = 3;
-
setMembers
public Variable.Builder setMembers(int index, Variable.Builder builderForValue)
Members contained or pointed to by the variable.
repeated .google.devtools.clouddebugger.v2.Variable members = 3;
-
addMembers
public Variable.Builder addMembers(Variable value)
Members contained or pointed to by the variable.
repeated .google.devtools.clouddebugger.v2.Variable members = 3;
-
addMembers
public Variable.Builder addMembers(int index, Variable value)
Members contained or pointed to by the variable.
repeated .google.devtools.clouddebugger.v2.Variable members = 3;
-
addMembers
public Variable.Builder addMembers(Variable.Builder builderForValue)
Members contained or pointed to by the variable.
repeated .google.devtools.clouddebugger.v2.Variable members = 3;
-
addMembers
public Variable.Builder addMembers(int index, Variable.Builder builderForValue)
Members contained or pointed to by the variable.
repeated .google.devtools.clouddebugger.v2.Variable members = 3;
-
addAllMembers
public Variable.Builder addAllMembers(Iterable<? extends Variable> values)
Members contained or pointed to by the variable.
repeated .google.devtools.clouddebugger.v2.Variable members = 3;
-
clearMembers
public Variable.Builder clearMembers()
Members contained or pointed to by the variable.
repeated .google.devtools.clouddebugger.v2.Variable members = 3;
-
removeMembers
public Variable.Builder removeMembers(int index)
Members contained or pointed to by the variable.
repeated .google.devtools.clouddebugger.v2.Variable members = 3;
-
getMembersBuilder
public Variable.Builder getMembersBuilder(int index)
Members contained or pointed to by the variable.
repeated .google.devtools.clouddebugger.v2.Variable members = 3;
-
getMembersOrBuilder
public VariableOrBuilder getMembersOrBuilder(int index)
Members contained or pointed to by the variable.
repeated .google.devtools.clouddebugger.v2.Variable members = 3;
- Specified by:
getMembersOrBuilder
in interfaceVariableOrBuilder
-
getMembersOrBuilderList
public List<? extends VariableOrBuilder> getMembersOrBuilderList()
Members contained or pointed to by the variable.
repeated .google.devtools.clouddebugger.v2.Variable members = 3;
- Specified by:
getMembersOrBuilderList
in interfaceVariableOrBuilder
-
addMembersBuilder
public Variable.Builder addMembersBuilder()
Members contained or pointed to by the variable.
repeated .google.devtools.clouddebugger.v2.Variable members = 3;
-
addMembersBuilder
public Variable.Builder addMembersBuilder(int index)
Members contained or pointed to by the variable.
repeated .google.devtools.clouddebugger.v2.Variable members = 3;
-
getMembersBuilderList
public List<Variable.Builder> getMembersBuilderList()
Members contained or pointed to by the variable.
repeated .google.devtools.clouddebugger.v2.Variable members = 3;
-
hasVarTableIndex
public boolean hasVarTableIndex()
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;
- Specified by:
hasVarTableIndex
in interfaceVariableOrBuilder
- Returns:
- Whether the varTableIndex field is set.
-
getVarTableIndex
public com.google.protobuf.Int32Value getVarTableIndex()
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;
- Specified by:
getVarTableIndex
in interfaceVariableOrBuilder
- Returns:
- The varTableIndex.
-
setVarTableIndex
public Variable.Builder setVarTableIndex(com.google.protobuf.Int32Value value)
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;
-
setVarTableIndex
public Variable.Builder setVarTableIndex(com.google.protobuf.Int32Value.Builder builderForValue)
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;
-
mergeVarTableIndex
public Variable.Builder mergeVarTableIndex(com.google.protobuf.Int32Value value)
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;
-
clearVarTableIndex
public Variable.Builder clearVarTableIndex()
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;
-
getVarTableIndexBuilder
public com.google.protobuf.Int32Value.Builder getVarTableIndexBuilder()
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;
-
getVarTableIndexOrBuilder
public com.google.protobuf.Int32ValueOrBuilder getVarTableIndexOrBuilder()
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;
- Specified by:
getVarTableIndexOrBuilder
in interfaceVariableOrBuilder
-
hasStatus
public boolean hasStatus()
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;
- Specified by:
hasStatus
in interfaceVariableOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
public StatusMessage getStatus()
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;
- Specified by:
getStatus
in interfaceVariableOrBuilder
- Returns:
- The status.
-
setStatus
public Variable.Builder setStatus(StatusMessage value)
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;
-
setStatus
public Variable.Builder setStatus(StatusMessage.Builder builderForValue)
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;
-
mergeStatus
public Variable.Builder mergeStatus(StatusMessage value)
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;
-
clearStatus
public Variable.Builder clearStatus()
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;
-
getStatusBuilder
public StatusMessage.Builder getStatusBuilder()
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;
-
getStatusOrBuilder
public StatusMessageOrBuilder getStatusOrBuilder()
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;
- Specified by:
getStatusOrBuilder
in interfaceVariableOrBuilder
-
setUnknownFields
public final Variable.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Variable.Builder>
-
mergeUnknownFields
public final Variable.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Variable.Builder>
-
-