1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/devtools/clouddebugger/v2/data.proto 18 19 package com.google.devtools.clouddebugger.v2; 20 21 /** 22 * 23 * 24 * <pre> 25 * Represents the breakpoint specification, status and results. 26 * </pre> 27 * 28 * Protobuf type {@code google.devtools.clouddebugger.v2.Breakpoint} 29 */ 30 public final class Breakpoint extends com.google.protobuf.GeneratedMessageV3 31 implements 32 // @@protoc_insertion_point(message_implements:google.devtools.clouddebugger.v2.Breakpoint) 33 BreakpointOrBuilder { 34 private static final long serialVersionUID = 0L; 35 // Use Breakpoint.newBuilder() to construct. Breakpoint(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)36 private Breakpoint(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 37 super(builder); 38 } 39 Breakpoint()40 private Breakpoint() { 41 id_ = ""; 42 action_ = 0; 43 condition_ = ""; 44 expressions_ = com.google.protobuf.LazyStringArrayList.EMPTY; 45 logMessageFormat_ = ""; 46 logLevel_ = 0; 47 userEmail_ = ""; 48 stackFrames_ = java.util.Collections.emptyList(); 49 evaluatedExpressions_ = java.util.Collections.emptyList(); 50 variableTable_ = java.util.Collections.emptyList(); 51 } 52 53 @java.lang.Override 54 @SuppressWarnings({"unused"}) newInstance(UnusedPrivateParameter unused)55 protected java.lang.Object newInstance(UnusedPrivateParameter unused) { 56 return new Breakpoint(); 57 } 58 59 @java.lang.Override getUnknownFields()60 public final com.google.protobuf.UnknownFieldSet getUnknownFields() { 61 return this.unknownFields; 62 } 63 getDescriptor()64 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { 65 return com.google.devtools.clouddebugger.v2.DataProto 66 .internal_static_google_devtools_clouddebugger_v2_Breakpoint_descriptor; 67 } 68 69 @SuppressWarnings({"rawtypes"}) 70 @java.lang.Override internalGetMapField(int number)71 protected com.google.protobuf.MapField internalGetMapField(int number) { 72 switch (number) { 73 case 17: 74 return internalGetLabels(); 75 default: 76 throw new RuntimeException("Invalid map field number: " + number); 77 } 78 } 79 80 @java.lang.Override 81 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()82 internalGetFieldAccessorTable() { 83 return com.google.devtools.clouddebugger.v2.DataProto 84 .internal_static_google_devtools_clouddebugger_v2_Breakpoint_fieldAccessorTable 85 .ensureFieldAccessorsInitialized( 86 com.google.devtools.clouddebugger.v2.Breakpoint.class, 87 com.google.devtools.clouddebugger.v2.Breakpoint.Builder.class); 88 } 89 90 /** 91 * 92 * 93 * <pre> 94 * Actions that can be taken when a breakpoint hits. 95 * Agents should reject breakpoints with unsupported or unknown action values. 96 * </pre> 97 * 98 * Protobuf enum {@code google.devtools.clouddebugger.v2.Breakpoint.Action} 99 */ 100 public enum Action implements com.google.protobuf.ProtocolMessageEnum { 101 /** 102 * 103 * 104 * <pre> 105 * Capture stack frame and variables and update the breakpoint. 106 * The data is only captured once. After that the breakpoint is set 107 * in a final state. 108 * </pre> 109 * 110 * <code>CAPTURE = 0;</code> 111 */ 112 CAPTURE(0), 113 /** 114 * 115 * 116 * <pre> 117 * Log each breakpoint hit. The breakpoint remains active until 118 * deleted or expired. 119 * </pre> 120 * 121 * <code>LOG = 1;</code> 122 */ 123 LOG(1), 124 UNRECOGNIZED(-1), 125 ; 126 127 /** 128 * 129 * 130 * <pre> 131 * Capture stack frame and variables and update the breakpoint. 132 * The data is only captured once. After that the breakpoint is set 133 * in a final state. 134 * </pre> 135 * 136 * <code>CAPTURE = 0;</code> 137 */ 138 public static final int CAPTURE_VALUE = 0; 139 /** 140 * 141 * 142 * <pre> 143 * Log each breakpoint hit. The breakpoint remains active until 144 * deleted or expired. 145 * </pre> 146 * 147 * <code>LOG = 1;</code> 148 */ 149 public static final int LOG_VALUE = 1; 150 getNumber()151 public final int getNumber() { 152 if (this == UNRECOGNIZED) { 153 throw new java.lang.IllegalArgumentException( 154 "Can't get the number of an unknown enum value."); 155 } 156 return value; 157 } 158 159 /** 160 * @param value The numeric wire value of the corresponding enum entry. 161 * @return The enum associated with the given numeric wire value. 162 * @deprecated Use {@link #forNumber(int)} instead. 163 */ 164 @java.lang.Deprecated valueOf(int value)165 public static Action valueOf(int value) { 166 return forNumber(value); 167 } 168 169 /** 170 * @param value The numeric wire value of the corresponding enum entry. 171 * @return The enum associated with the given numeric wire value. 172 */ forNumber(int value)173 public static Action forNumber(int value) { 174 switch (value) { 175 case 0: 176 return CAPTURE; 177 case 1: 178 return LOG; 179 default: 180 return null; 181 } 182 } 183 internalGetValueMap()184 public static com.google.protobuf.Internal.EnumLiteMap<Action> internalGetValueMap() { 185 return internalValueMap; 186 } 187 188 private static final com.google.protobuf.Internal.EnumLiteMap<Action> internalValueMap = 189 new com.google.protobuf.Internal.EnumLiteMap<Action>() { 190 public Action findValueByNumber(int number) { 191 return Action.forNumber(number); 192 } 193 }; 194 getValueDescriptor()195 public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 196 if (this == UNRECOGNIZED) { 197 throw new java.lang.IllegalStateException( 198 "Can't get the descriptor of an unrecognized enum value."); 199 } 200 return getDescriptor().getValues().get(ordinal()); 201 } 202 getDescriptorForType()203 public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { 204 return getDescriptor(); 205 } 206 getDescriptor()207 public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { 208 return com.google.devtools.clouddebugger.v2.Breakpoint.getDescriptor().getEnumTypes().get(0); 209 } 210 211 private static final Action[] VALUES = values(); 212 valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)213 public static Action valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { 214 if (desc.getType() != getDescriptor()) { 215 throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); 216 } 217 if (desc.getIndex() == -1) { 218 return UNRECOGNIZED; 219 } 220 return VALUES[desc.getIndex()]; 221 } 222 223 private final int value; 224 Action(int value)225 private Action(int value) { 226 this.value = value; 227 } 228 229 // @@protoc_insertion_point(enum_scope:google.devtools.clouddebugger.v2.Breakpoint.Action) 230 } 231 232 /** 233 * 234 * 235 * <pre> 236 * Log severity levels. 237 * </pre> 238 * 239 * Protobuf enum {@code google.devtools.clouddebugger.v2.Breakpoint.LogLevel} 240 */ 241 public enum LogLevel implements com.google.protobuf.ProtocolMessageEnum { 242 /** 243 * 244 * 245 * <pre> 246 * Information log message. 247 * </pre> 248 * 249 * <code>INFO = 0;</code> 250 */ 251 INFO(0), 252 /** 253 * 254 * 255 * <pre> 256 * Warning log message. 257 * </pre> 258 * 259 * <code>WARNING = 1;</code> 260 */ 261 WARNING(1), 262 /** 263 * 264 * 265 * <pre> 266 * Error log message. 267 * </pre> 268 * 269 * <code>ERROR = 2;</code> 270 */ 271 ERROR(2), 272 UNRECOGNIZED(-1), 273 ; 274 275 /** 276 * 277 * 278 * <pre> 279 * Information log message. 280 * </pre> 281 * 282 * <code>INFO = 0;</code> 283 */ 284 public static final int INFO_VALUE = 0; 285 /** 286 * 287 * 288 * <pre> 289 * Warning log message. 290 * </pre> 291 * 292 * <code>WARNING = 1;</code> 293 */ 294 public static final int WARNING_VALUE = 1; 295 /** 296 * 297 * 298 * <pre> 299 * Error log message. 300 * </pre> 301 * 302 * <code>ERROR = 2;</code> 303 */ 304 public static final int ERROR_VALUE = 2; 305 getNumber()306 public final int getNumber() { 307 if (this == UNRECOGNIZED) { 308 throw new java.lang.IllegalArgumentException( 309 "Can't get the number of an unknown enum value."); 310 } 311 return value; 312 } 313 314 /** 315 * @param value The numeric wire value of the corresponding enum entry. 316 * @return The enum associated with the given numeric wire value. 317 * @deprecated Use {@link #forNumber(int)} instead. 318 */ 319 @java.lang.Deprecated valueOf(int value)320 public static LogLevel valueOf(int value) { 321 return forNumber(value); 322 } 323 324 /** 325 * @param value The numeric wire value of the corresponding enum entry. 326 * @return The enum associated with the given numeric wire value. 327 */ forNumber(int value)328 public static LogLevel forNumber(int value) { 329 switch (value) { 330 case 0: 331 return INFO; 332 case 1: 333 return WARNING; 334 case 2: 335 return ERROR; 336 default: 337 return null; 338 } 339 } 340 internalGetValueMap()341 public static com.google.protobuf.Internal.EnumLiteMap<LogLevel> internalGetValueMap() { 342 return internalValueMap; 343 } 344 345 private static final com.google.protobuf.Internal.EnumLiteMap<LogLevel> internalValueMap = 346 new com.google.protobuf.Internal.EnumLiteMap<LogLevel>() { 347 public LogLevel findValueByNumber(int number) { 348 return LogLevel.forNumber(number); 349 } 350 }; 351 getValueDescriptor()352 public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 353 if (this == UNRECOGNIZED) { 354 throw new java.lang.IllegalStateException( 355 "Can't get the descriptor of an unrecognized enum value."); 356 } 357 return getDescriptor().getValues().get(ordinal()); 358 } 359 getDescriptorForType()360 public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { 361 return getDescriptor(); 362 } 363 getDescriptor()364 public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { 365 return com.google.devtools.clouddebugger.v2.Breakpoint.getDescriptor().getEnumTypes().get(1); 366 } 367 368 private static final LogLevel[] VALUES = values(); 369 valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)370 public static LogLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { 371 if (desc.getType() != getDescriptor()) { 372 throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); 373 } 374 if (desc.getIndex() == -1) { 375 return UNRECOGNIZED; 376 } 377 return VALUES[desc.getIndex()]; 378 } 379 380 private final int value; 381 LogLevel(int value)382 private LogLevel(int value) { 383 this.value = value; 384 } 385 386 // @@protoc_insertion_point(enum_scope:google.devtools.clouddebugger.v2.Breakpoint.LogLevel) 387 } 388 389 public static final int ID_FIELD_NUMBER = 1; 390 391 @SuppressWarnings("serial") 392 private volatile java.lang.Object id_ = ""; 393 /** 394 * 395 * 396 * <pre> 397 * Breakpoint identifier, unique in the scope of the debuggee. 398 * </pre> 399 * 400 * <code>string id = 1;</code> 401 * 402 * @return The id. 403 */ 404 @java.lang.Override getId()405 public java.lang.String getId() { 406 java.lang.Object ref = id_; 407 if (ref instanceof java.lang.String) { 408 return (java.lang.String) ref; 409 } else { 410 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 411 java.lang.String s = bs.toStringUtf8(); 412 id_ = s; 413 return s; 414 } 415 } 416 /** 417 * 418 * 419 * <pre> 420 * Breakpoint identifier, unique in the scope of the debuggee. 421 * </pre> 422 * 423 * <code>string id = 1;</code> 424 * 425 * @return The bytes for id. 426 */ 427 @java.lang.Override getIdBytes()428 public com.google.protobuf.ByteString getIdBytes() { 429 java.lang.Object ref = id_; 430 if (ref instanceof java.lang.String) { 431 com.google.protobuf.ByteString b = 432 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 433 id_ = b; 434 return b; 435 } else { 436 return (com.google.protobuf.ByteString) ref; 437 } 438 } 439 440 public static final int ACTION_FIELD_NUMBER = 13; 441 private int action_ = 0; 442 /** 443 * 444 * 445 * <pre> 446 * Action that the agent should perform when the code at the 447 * breakpoint location is hit. 448 * </pre> 449 * 450 * <code>.google.devtools.clouddebugger.v2.Breakpoint.Action action = 13;</code> 451 * 452 * @return The enum numeric value on the wire for action. 453 */ 454 @java.lang.Override getActionValue()455 public int getActionValue() { 456 return action_; 457 } 458 /** 459 * 460 * 461 * <pre> 462 * Action that the agent should perform when the code at the 463 * breakpoint location is hit. 464 * </pre> 465 * 466 * <code>.google.devtools.clouddebugger.v2.Breakpoint.Action action = 13;</code> 467 * 468 * @return The action. 469 */ 470 @java.lang.Override getAction()471 public com.google.devtools.clouddebugger.v2.Breakpoint.Action getAction() { 472 com.google.devtools.clouddebugger.v2.Breakpoint.Action result = 473 com.google.devtools.clouddebugger.v2.Breakpoint.Action.forNumber(action_); 474 return result == null 475 ? com.google.devtools.clouddebugger.v2.Breakpoint.Action.UNRECOGNIZED 476 : result; 477 } 478 479 public static final int LOCATION_FIELD_NUMBER = 2; 480 private com.google.devtools.clouddebugger.v2.SourceLocation location_; 481 /** 482 * 483 * 484 * <pre> 485 * Breakpoint source location. 486 * </pre> 487 * 488 * <code>.google.devtools.clouddebugger.v2.SourceLocation location = 2;</code> 489 * 490 * @return Whether the location field is set. 491 */ 492 @java.lang.Override hasLocation()493 public boolean hasLocation() { 494 return location_ != null; 495 } 496 /** 497 * 498 * 499 * <pre> 500 * Breakpoint source location. 501 * </pre> 502 * 503 * <code>.google.devtools.clouddebugger.v2.SourceLocation location = 2;</code> 504 * 505 * @return The location. 506 */ 507 @java.lang.Override getLocation()508 public com.google.devtools.clouddebugger.v2.SourceLocation getLocation() { 509 return location_ == null 510 ? com.google.devtools.clouddebugger.v2.SourceLocation.getDefaultInstance() 511 : location_; 512 } 513 /** 514 * 515 * 516 * <pre> 517 * Breakpoint source location. 518 * </pre> 519 * 520 * <code>.google.devtools.clouddebugger.v2.SourceLocation location = 2;</code> 521 */ 522 @java.lang.Override getLocationOrBuilder()523 public com.google.devtools.clouddebugger.v2.SourceLocationOrBuilder getLocationOrBuilder() { 524 return location_ == null 525 ? com.google.devtools.clouddebugger.v2.SourceLocation.getDefaultInstance() 526 : location_; 527 } 528 529 public static final int CONDITION_FIELD_NUMBER = 3; 530 531 @SuppressWarnings("serial") 532 private volatile java.lang.Object condition_ = ""; 533 /** 534 * 535 * 536 * <pre> 537 * Condition that triggers the breakpoint. 538 * The condition is a compound boolean expression composed using expressions 539 * in a programming language at the source location. 540 * </pre> 541 * 542 * <code>string condition = 3;</code> 543 * 544 * @return The condition. 545 */ 546 @java.lang.Override getCondition()547 public java.lang.String getCondition() { 548 java.lang.Object ref = condition_; 549 if (ref instanceof java.lang.String) { 550 return (java.lang.String) ref; 551 } else { 552 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 553 java.lang.String s = bs.toStringUtf8(); 554 condition_ = s; 555 return s; 556 } 557 } 558 /** 559 * 560 * 561 * <pre> 562 * Condition that triggers the breakpoint. 563 * The condition is a compound boolean expression composed using expressions 564 * in a programming language at the source location. 565 * </pre> 566 * 567 * <code>string condition = 3;</code> 568 * 569 * @return The bytes for condition. 570 */ 571 @java.lang.Override getConditionBytes()572 public com.google.protobuf.ByteString getConditionBytes() { 573 java.lang.Object ref = condition_; 574 if (ref instanceof java.lang.String) { 575 com.google.protobuf.ByteString b = 576 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 577 condition_ = b; 578 return b; 579 } else { 580 return (com.google.protobuf.ByteString) ref; 581 } 582 } 583 584 public static final int EXPRESSIONS_FIELD_NUMBER = 4; 585 586 @SuppressWarnings("serial") 587 private com.google.protobuf.LazyStringList expressions_; 588 /** 589 * 590 * 591 * <pre> 592 * List of read-only expressions to evaluate at the breakpoint location. 593 * The expressions are composed using expressions in the programming language 594 * at the source location. If the breakpoint action is `LOG`, the evaluated 595 * expressions are included in log statements. 596 * </pre> 597 * 598 * <code>repeated string expressions = 4;</code> 599 * 600 * @return A list containing the expressions. 601 */ getExpressionsList()602 public com.google.protobuf.ProtocolStringList getExpressionsList() { 603 return expressions_; 604 } 605 /** 606 * 607 * 608 * <pre> 609 * List of read-only expressions to evaluate at the breakpoint location. 610 * The expressions are composed using expressions in the programming language 611 * at the source location. If the breakpoint action is `LOG`, the evaluated 612 * expressions are included in log statements. 613 * </pre> 614 * 615 * <code>repeated string expressions = 4;</code> 616 * 617 * @return The count of expressions. 618 */ getExpressionsCount()619 public int getExpressionsCount() { 620 return expressions_.size(); 621 } 622 /** 623 * 624 * 625 * <pre> 626 * List of read-only expressions to evaluate at the breakpoint location. 627 * The expressions are composed using expressions in the programming language 628 * at the source location. If the breakpoint action is `LOG`, the evaluated 629 * expressions are included in log statements. 630 * </pre> 631 * 632 * <code>repeated string expressions = 4;</code> 633 * 634 * @param index The index of the element to return. 635 * @return The expressions at the given index. 636 */ getExpressions(int index)637 public java.lang.String getExpressions(int index) { 638 return expressions_.get(index); 639 } 640 /** 641 * 642 * 643 * <pre> 644 * List of read-only expressions to evaluate at the breakpoint location. 645 * The expressions are composed using expressions in the programming language 646 * at the source location. If the breakpoint action is `LOG`, the evaluated 647 * expressions are included in log statements. 648 * </pre> 649 * 650 * <code>repeated string expressions = 4;</code> 651 * 652 * @param index The index of the value to return. 653 * @return The bytes of the expressions at the given index. 654 */ getExpressionsBytes(int index)655 public com.google.protobuf.ByteString getExpressionsBytes(int index) { 656 return expressions_.getByteString(index); 657 } 658 659 public static final int LOG_MESSAGE_FORMAT_FIELD_NUMBER = 14; 660 661 @SuppressWarnings("serial") 662 private volatile java.lang.Object logMessageFormat_ = ""; 663 /** 664 * 665 * 666 * <pre> 667 * Only relevant when action is `LOG`. Defines the message to log when 668 * the breakpoint hits. The message may include parameter placeholders `$0`, 669 * `$1`, etc. These placeholders are replaced with the evaluated value 670 * of the appropriate expression. Expressions not referenced in 671 * `log_message_format` are not logged. 672 * Example: `Message received, id = $0, count = $1` with 673 * `expressions` = `[ message.id, message.count ]`. 674 * </pre> 675 * 676 * <code>string log_message_format = 14;</code> 677 * 678 * @return The logMessageFormat. 679 */ 680 @java.lang.Override getLogMessageFormat()681 public java.lang.String getLogMessageFormat() { 682 java.lang.Object ref = logMessageFormat_; 683 if (ref instanceof java.lang.String) { 684 return (java.lang.String) ref; 685 } else { 686 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 687 java.lang.String s = bs.toStringUtf8(); 688 logMessageFormat_ = s; 689 return s; 690 } 691 } 692 /** 693 * 694 * 695 * <pre> 696 * Only relevant when action is `LOG`. Defines the message to log when 697 * the breakpoint hits. The message may include parameter placeholders `$0`, 698 * `$1`, etc. These placeholders are replaced with the evaluated value 699 * of the appropriate expression. Expressions not referenced in 700 * `log_message_format` are not logged. 701 * Example: `Message received, id = $0, count = $1` with 702 * `expressions` = `[ message.id, message.count ]`. 703 * </pre> 704 * 705 * <code>string log_message_format = 14;</code> 706 * 707 * @return The bytes for logMessageFormat. 708 */ 709 @java.lang.Override getLogMessageFormatBytes()710 public com.google.protobuf.ByteString getLogMessageFormatBytes() { 711 java.lang.Object ref = logMessageFormat_; 712 if (ref instanceof java.lang.String) { 713 com.google.protobuf.ByteString b = 714 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 715 logMessageFormat_ = b; 716 return b; 717 } else { 718 return (com.google.protobuf.ByteString) ref; 719 } 720 } 721 722 public static final int LOG_LEVEL_FIELD_NUMBER = 15; 723 private int logLevel_ = 0; 724 /** 725 * 726 * 727 * <pre> 728 * Indicates the severity of the log. Only relevant when action is `LOG`. 729 * </pre> 730 * 731 * <code>.google.devtools.clouddebugger.v2.Breakpoint.LogLevel log_level = 15;</code> 732 * 733 * @return The enum numeric value on the wire for logLevel. 734 */ 735 @java.lang.Override getLogLevelValue()736 public int getLogLevelValue() { 737 return logLevel_; 738 } 739 /** 740 * 741 * 742 * <pre> 743 * Indicates the severity of the log. Only relevant when action is `LOG`. 744 * </pre> 745 * 746 * <code>.google.devtools.clouddebugger.v2.Breakpoint.LogLevel log_level = 15;</code> 747 * 748 * @return The logLevel. 749 */ 750 @java.lang.Override getLogLevel()751 public com.google.devtools.clouddebugger.v2.Breakpoint.LogLevel getLogLevel() { 752 com.google.devtools.clouddebugger.v2.Breakpoint.LogLevel result = 753 com.google.devtools.clouddebugger.v2.Breakpoint.LogLevel.forNumber(logLevel_); 754 return result == null 755 ? com.google.devtools.clouddebugger.v2.Breakpoint.LogLevel.UNRECOGNIZED 756 : result; 757 } 758 759 public static final int IS_FINAL_STATE_FIELD_NUMBER = 5; 760 private boolean isFinalState_ = false; 761 /** 762 * 763 * 764 * <pre> 765 * When true, indicates that this is a final result and the 766 * breakpoint state will not change from here on. 767 * </pre> 768 * 769 * <code>bool is_final_state = 5;</code> 770 * 771 * @return The isFinalState. 772 */ 773 @java.lang.Override getIsFinalState()774 public boolean getIsFinalState() { 775 return isFinalState_; 776 } 777 778 public static final int CREATE_TIME_FIELD_NUMBER = 11; 779 private com.google.protobuf.Timestamp createTime_; 780 /** 781 * 782 * 783 * <pre> 784 * Time this breakpoint was created by the server in seconds resolution. 785 * </pre> 786 * 787 * <code>.google.protobuf.Timestamp create_time = 11;</code> 788 * 789 * @return Whether the createTime field is set. 790 */ 791 @java.lang.Override hasCreateTime()792 public boolean hasCreateTime() { 793 return createTime_ != null; 794 } 795 /** 796 * 797 * 798 * <pre> 799 * Time this breakpoint was created by the server in seconds resolution. 800 * </pre> 801 * 802 * <code>.google.protobuf.Timestamp create_time = 11;</code> 803 * 804 * @return The createTime. 805 */ 806 @java.lang.Override getCreateTime()807 public com.google.protobuf.Timestamp getCreateTime() { 808 return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; 809 } 810 /** 811 * 812 * 813 * <pre> 814 * Time this breakpoint was created by the server in seconds resolution. 815 * </pre> 816 * 817 * <code>.google.protobuf.Timestamp create_time = 11;</code> 818 */ 819 @java.lang.Override getCreateTimeOrBuilder()820 public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 821 return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; 822 } 823 824 public static final int FINAL_TIME_FIELD_NUMBER = 12; 825 private com.google.protobuf.Timestamp finalTime_; 826 /** 827 * 828 * 829 * <pre> 830 * Time this breakpoint was finalized as seen by the server in seconds 831 * resolution. 832 * </pre> 833 * 834 * <code>.google.protobuf.Timestamp final_time = 12;</code> 835 * 836 * @return Whether the finalTime field is set. 837 */ 838 @java.lang.Override hasFinalTime()839 public boolean hasFinalTime() { 840 return finalTime_ != null; 841 } 842 /** 843 * 844 * 845 * <pre> 846 * Time this breakpoint was finalized as seen by the server in seconds 847 * resolution. 848 * </pre> 849 * 850 * <code>.google.protobuf.Timestamp final_time = 12;</code> 851 * 852 * @return The finalTime. 853 */ 854 @java.lang.Override getFinalTime()855 public com.google.protobuf.Timestamp getFinalTime() { 856 return finalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finalTime_; 857 } 858 /** 859 * 860 * 861 * <pre> 862 * Time this breakpoint was finalized as seen by the server in seconds 863 * resolution. 864 * </pre> 865 * 866 * <code>.google.protobuf.Timestamp final_time = 12;</code> 867 */ 868 @java.lang.Override getFinalTimeOrBuilder()869 public com.google.protobuf.TimestampOrBuilder getFinalTimeOrBuilder() { 870 return finalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finalTime_; 871 } 872 873 public static final int USER_EMAIL_FIELD_NUMBER = 16; 874 875 @SuppressWarnings("serial") 876 private volatile java.lang.Object userEmail_ = ""; 877 /** 878 * 879 * 880 * <pre> 881 * E-mail address of the user that created this breakpoint 882 * </pre> 883 * 884 * <code>string user_email = 16;</code> 885 * 886 * @return The userEmail. 887 */ 888 @java.lang.Override getUserEmail()889 public java.lang.String getUserEmail() { 890 java.lang.Object ref = userEmail_; 891 if (ref instanceof java.lang.String) { 892 return (java.lang.String) ref; 893 } else { 894 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 895 java.lang.String s = bs.toStringUtf8(); 896 userEmail_ = s; 897 return s; 898 } 899 } 900 /** 901 * 902 * 903 * <pre> 904 * E-mail address of the user that created this breakpoint 905 * </pre> 906 * 907 * <code>string user_email = 16;</code> 908 * 909 * @return The bytes for userEmail. 910 */ 911 @java.lang.Override getUserEmailBytes()912 public com.google.protobuf.ByteString getUserEmailBytes() { 913 java.lang.Object ref = userEmail_; 914 if (ref instanceof java.lang.String) { 915 com.google.protobuf.ByteString b = 916 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 917 userEmail_ = b; 918 return b; 919 } else { 920 return (com.google.protobuf.ByteString) ref; 921 } 922 } 923 924 public static final int STATUS_FIELD_NUMBER = 10; 925 private com.google.devtools.clouddebugger.v2.StatusMessage status_; 926 /** 927 * 928 * 929 * <pre> 930 * Breakpoint status. 931 * The status includes an error flag and a human readable message. 932 * This field is usually unset. The message can be either 933 * informational or an error message. Regardless, clients should always 934 * display the text message back to the user. 935 * Error status indicates complete failure of the breakpoint. 936 * Example (non-final state): `Still loading symbols...` 937 * Examples (final state): 938 * * `Invalid line number` referring to location 939 * * `Field f not found in class C` referring to condition 940 * </pre> 941 * 942 * <code>.google.devtools.clouddebugger.v2.StatusMessage status = 10;</code> 943 * 944 * @return Whether the status field is set. 945 */ 946 @java.lang.Override hasStatus()947 public boolean hasStatus() { 948 return status_ != null; 949 } 950 /** 951 * 952 * 953 * <pre> 954 * Breakpoint status. 955 * The status includes an error flag and a human readable message. 956 * This field is usually unset. The message can be either 957 * informational or an error message. Regardless, clients should always 958 * display the text message back to the user. 959 * Error status indicates complete failure of the breakpoint. 960 * Example (non-final state): `Still loading symbols...` 961 * Examples (final state): 962 * * `Invalid line number` referring to location 963 * * `Field f not found in class C` referring to condition 964 * </pre> 965 * 966 * <code>.google.devtools.clouddebugger.v2.StatusMessage status = 10;</code> 967 * 968 * @return The status. 969 */ 970 @java.lang.Override getStatus()971 public com.google.devtools.clouddebugger.v2.StatusMessage getStatus() { 972 return status_ == null 973 ? com.google.devtools.clouddebugger.v2.StatusMessage.getDefaultInstance() 974 : status_; 975 } 976 /** 977 * 978 * 979 * <pre> 980 * Breakpoint status. 981 * The status includes an error flag and a human readable message. 982 * This field is usually unset. The message can be either 983 * informational or an error message. Regardless, clients should always 984 * display the text message back to the user. 985 * Error status indicates complete failure of the breakpoint. 986 * Example (non-final state): `Still loading symbols...` 987 * Examples (final state): 988 * * `Invalid line number` referring to location 989 * * `Field f not found in class C` referring to condition 990 * </pre> 991 * 992 * <code>.google.devtools.clouddebugger.v2.StatusMessage status = 10;</code> 993 */ 994 @java.lang.Override getStatusOrBuilder()995 public com.google.devtools.clouddebugger.v2.StatusMessageOrBuilder getStatusOrBuilder() { 996 return status_ == null 997 ? com.google.devtools.clouddebugger.v2.StatusMessage.getDefaultInstance() 998 : status_; 999 } 1000 1001 public static final int STACK_FRAMES_FIELD_NUMBER = 7; 1002 1003 @SuppressWarnings("serial") 1004 private java.util.List<com.google.devtools.clouddebugger.v2.StackFrame> stackFrames_; 1005 /** 1006 * 1007 * 1008 * <pre> 1009 * The stack at breakpoint time, where stack_frames[0] represents the most 1010 * recently entered function. 1011 * </pre> 1012 * 1013 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 1014 */ 1015 @java.lang.Override getStackFramesList()1016 public java.util.List<com.google.devtools.clouddebugger.v2.StackFrame> getStackFramesList() { 1017 return stackFrames_; 1018 } 1019 /** 1020 * 1021 * 1022 * <pre> 1023 * The stack at breakpoint time, where stack_frames[0] represents the most 1024 * recently entered function. 1025 * </pre> 1026 * 1027 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 1028 */ 1029 @java.lang.Override 1030 public java.util.List<? extends com.google.devtools.clouddebugger.v2.StackFrameOrBuilder> getStackFramesOrBuilderList()1031 getStackFramesOrBuilderList() { 1032 return stackFrames_; 1033 } 1034 /** 1035 * 1036 * 1037 * <pre> 1038 * The stack at breakpoint time, where stack_frames[0] represents the most 1039 * recently entered function. 1040 * </pre> 1041 * 1042 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 1043 */ 1044 @java.lang.Override getStackFramesCount()1045 public int getStackFramesCount() { 1046 return stackFrames_.size(); 1047 } 1048 /** 1049 * 1050 * 1051 * <pre> 1052 * The stack at breakpoint time, where stack_frames[0] represents the most 1053 * recently entered function. 1054 * </pre> 1055 * 1056 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 1057 */ 1058 @java.lang.Override getStackFrames(int index)1059 public com.google.devtools.clouddebugger.v2.StackFrame getStackFrames(int index) { 1060 return stackFrames_.get(index); 1061 } 1062 /** 1063 * 1064 * 1065 * <pre> 1066 * The stack at breakpoint time, where stack_frames[0] represents the most 1067 * recently entered function. 1068 * </pre> 1069 * 1070 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 1071 */ 1072 @java.lang.Override getStackFramesOrBuilder( int index)1073 public com.google.devtools.clouddebugger.v2.StackFrameOrBuilder getStackFramesOrBuilder( 1074 int index) { 1075 return stackFrames_.get(index); 1076 } 1077 1078 public static final int EVALUATED_EXPRESSIONS_FIELD_NUMBER = 8; 1079 1080 @SuppressWarnings("serial") 1081 private java.util.List<com.google.devtools.clouddebugger.v2.Variable> evaluatedExpressions_; 1082 /** 1083 * 1084 * 1085 * <pre> 1086 * Values of evaluated expressions at breakpoint time. 1087 * The evaluated expressions appear in exactly the same order they 1088 * are listed in the `expressions` field. 1089 * The `name` field holds the original expression text, the `value` or 1090 * `members` field holds the result of the evaluated expression. 1091 * If the expression cannot be evaluated, the `status` inside the `Variable` 1092 * will indicate an error and contain the error text. 1093 * </pre> 1094 * 1095 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 1096 */ 1097 @java.lang.Override 1098 public java.util.List<com.google.devtools.clouddebugger.v2.Variable> getEvaluatedExpressionsList()1099 getEvaluatedExpressionsList() { 1100 return evaluatedExpressions_; 1101 } 1102 /** 1103 * 1104 * 1105 * <pre> 1106 * Values of evaluated expressions at breakpoint time. 1107 * The evaluated expressions appear in exactly the same order they 1108 * are listed in the `expressions` field. 1109 * The `name` field holds the original expression text, the `value` or 1110 * `members` field holds the result of the evaluated expression. 1111 * If the expression cannot be evaluated, the `status` inside the `Variable` 1112 * will indicate an error and contain the error text. 1113 * </pre> 1114 * 1115 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 1116 */ 1117 @java.lang.Override 1118 public java.util.List<? extends com.google.devtools.clouddebugger.v2.VariableOrBuilder> getEvaluatedExpressionsOrBuilderList()1119 getEvaluatedExpressionsOrBuilderList() { 1120 return evaluatedExpressions_; 1121 } 1122 /** 1123 * 1124 * 1125 * <pre> 1126 * Values of evaluated expressions at breakpoint time. 1127 * The evaluated expressions appear in exactly the same order they 1128 * are listed in the `expressions` field. 1129 * The `name` field holds the original expression text, the `value` or 1130 * `members` field holds the result of the evaluated expression. 1131 * If the expression cannot be evaluated, the `status` inside the `Variable` 1132 * will indicate an error and contain the error text. 1133 * </pre> 1134 * 1135 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 1136 */ 1137 @java.lang.Override getEvaluatedExpressionsCount()1138 public int getEvaluatedExpressionsCount() { 1139 return evaluatedExpressions_.size(); 1140 } 1141 /** 1142 * 1143 * 1144 * <pre> 1145 * Values of evaluated expressions at breakpoint time. 1146 * The evaluated expressions appear in exactly the same order they 1147 * are listed in the `expressions` field. 1148 * The `name` field holds the original expression text, the `value` or 1149 * `members` field holds the result of the evaluated expression. 1150 * If the expression cannot be evaluated, the `status` inside the `Variable` 1151 * will indicate an error and contain the error text. 1152 * </pre> 1153 * 1154 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 1155 */ 1156 @java.lang.Override getEvaluatedExpressions(int index)1157 public com.google.devtools.clouddebugger.v2.Variable getEvaluatedExpressions(int index) { 1158 return evaluatedExpressions_.get(index); 1159 } 1160 /** 1161 * 1162 * 1163 * <pre> 1164 * Values of evaluated expressions at breakpoint time. 1165 * The evaluated expressions appear in exactly the same order they 1166 * are listed in the `expressions` field. 1167 * The `name` field holds the original expression text, the `value` or 1168 * `members` field holds the result of the evaluated expression. 1169 * If the expression cannot be evaluated, the `status` inside the `Variable` 1170 * will indicate an error and contain the error text. 1171 * </pre> 1172 * 1173 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 1174 */ 1175 @java.lang.Override getEvaluatedExpressionsOrBuilder( int index)1176 public com.google.devtools.clouddebugger.v2.VariableOrBuilder getEvaluatedExpressionsOrBuilder( 1177 int index) { 1178 return evaluatedExpressions_.get(index); 1179 } 1180 1181 public static final int VARIABLE_TABLE_FIELD_NUMBER = 9; 1182 1183 @SuppressWarnings("serial") 1184 private java.util.List<com.google.devtools.clouddebugger.v2.Variable> variableTable_; 1185 /** 1186 * 1187 * 1188 * <pre> 1189 * The `variable_table` exists to aid with computation, memory and network 1190 * traffic optimization. It enables storing a variable once and reference 1191 * it from multiple variables, including variables stored in the 1192 * `variable_table` itself. 1193 * For example, the same `this` object, which may appear at many levels of 1194 * the stack, can have all of its data stored once in this table. The 1195 * stack frame variables then would hold only a reference to it. 1196 * The variable `var_table_index` field is an index into this repeated field. 1197 * The stored objects are nameless and get their name from the referencing 1198 * variable. The effective variable is a merge of the referencing variable 1199 * and the referenced variable. 1200 * </pre> 1201 * 1202 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 1203 */ 1204 @java.lang.Override getVariableTableList()1205 public java.util.List<com.google.devtools.clouddebugger.v2.Variable> getVariableTableList() { 1206 return variableTable_; 1207 } 1208 /** 1209 * 1210 * 1211 * <pre> 1212 * The `variable_table` exists to aid with computation, memory and network 1213 * traffic optimization. It enables storing a variable once and reference 1214 * it from multiple variables, including variables stored in the 1215 * `variable_table` itself. 1216 * For example, the same `this` object, which may appear at many levels of 1217 * the stack, can have all of its data stored once in this table. The 1218 * stack frame variables then would hold only a reference to it. 1219 * The variable `var_table_index` field is an index into this repeated field. 1220 * The stored objects are nameless and get their name from the referencing 1221 * variable. The effective variable is a merge of the referencing variable 1222 * and the referenced variable. 1223 * </pre> 1224 * 1225 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 1226 */ 1227 @java.lang.Override 1228 public java.util.List<? extends com.google.devtools.clouddebugger.v2.VariableOrBuilder> getVariableTableOrBuilderList()1229 getVariableTableOrBuilderList() { 1230 return variableTable_; 1231 } 1232 /** 1233 * 1234 * 1235 * <pre> 1236 * The `variable_table` exists to aid with computation, memory and network 1237 * traffic optimization. It enables storing a variable once and reference 1238 * it from multiple variables, including variables stored in the 1239 * `variable_table` itself. 1240 * For example, the same `this` object, which may appear at many levels of 1241 * the stack, can have all of its data stored once in this table. The 1242 * stack frame variables then would hold only a reference to it. 1243 * The variable `var_table_index` field is an index into this repeated field. 1244 * The stored objects are nameless and get their name from the referencing 1245 * variable. The effective variable is a merge of the referencing variable 1246 * and the referenced variable. 1247 * </pre> 1248 * 1249 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 1250 */ 1251 @java.lang.Override getVariableTableCount()1252 public int getVariableTableCount() { 1253 return variableTable_.size(); 1254 } 1255 /** 1256 * 1257 * 1258 * <pre> 1259 * The `variable_table` exists to aid with computation, memory and network 1260 * traffic optimization. It enables storing a variable once and reference 1261 * it from multiple variables, including variables stored in the 1262 * `variable_table` itself. 1263 * For example, the same `this` object, which may appear at many levels of 1264 * the stack, can have all of its data stored once in this table. The 1265 * stack frame variables then would hold only a reference to it. 1266 * The variable `var_table_index` field is an index into this repeated field. 1267 * The stored objects are nameless and get their name from the referencing 1268 * variable. The effective variable is a merge of the referencing variable 1269 * and the referenced variable. 1270 * </pre> 1271 * 1272 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 1273 */ 1274 @java.lang.Override getVariableTable(int index)1275 public com.google.devtools.clouddebugger.v2.Variable getVariableTable(int index) { 1276 return variableTable_.get(index); 1277 } 1278 /** 1279 * 1280 * 1281 * <pre> 1282 * The `variable_table` exists to aid with computation, memory and network 1283 * traffic optimization. It enables storing a variable once and reference 1284 * it from multiple variables, including variables stored in the 1285 * `variable_table` itself. 1286 * For example, the same `this` object, which may appear at many levels of 1287 * the stack, can have all of its data stored once in this table. The 1288 * stack frame variables then would hold only a reference to it. 1289 * The variable `var_table_index` field is an index into this repeated field. 1290 * The stored objects are nameless and get their name from the referencing 1291 * variable. The effective variable is a merge of the referencing variable 1292 * and the referenced variable. 1293 * </pre> 1294 * 1295 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 1296 */ 1297 @java.lang.Override getVariableTableOrBuilder( int index)1298 public com.google.devtools.clouddebugger.v2.VariableOrBuilder getVariableTableOrBuilder( 1299 int index) { 1300 return variableTable_.get(index); 1301 } 1302 1303 public static final int LABELS_FIELD_NUMBER = 17; 1304 1305 private static final class LabelsDefaultEntryHolder { 1306 static final com.google.protobuf.MapEntry<java.lang.String, java.lang.String> defaultEntry = 1307 com.google.protobuf.MapEntry.<java.lang.String, java.lang.String>newDefaultInstance( 1308 com.google.devtools.clouddebugger.v2.DataProto 1309 .internal_static_google_devtools_clouddebugger_v2_Breakpoint_LabelsEntry_descriptor, 1310 com.google.protobuf.WireFormat.FieldType.STRING, 1311 "", 1312 com.google.protobuf.WireFormat.FieldType.STRING, 1313 ""); 1314 } 1315 1316 @SuppressWarnings("serial") 1317 private com.google.protobuf.MapField<java.lang.String, java.lang.String> labels_; 1318 internalGetLabels()1319 private com.google.protobuf.MapField<java.lang.String, java.lang.String> internalGetLabels() { 1320 if (labels_ == null) { 1321 return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); 1322 } 1323 return labels_; 1324 } 1325 getLabelsCount()1326 public int getLabelsCount() { 1327 return internalGetLabels().getMap().size(); 1328 } 1329 /** 1330 * 1331 * 1332 * <pre> 1333 * A set of custom breakpoint properties, populated by the agent, to be 1334 * displayed to the user. 1335 * </pre> 1336 * 1337 * <code>map<string, string> labels = 17;</code> 1338 */ 1339 @java.lang.Override containsLabels(java.lang.String key)1340 public boolean containsLabels(java.lang.String key) { 1341 if (key == null) { 1342 throw new NullPointerException("map key"); 1343 } 1344 return internalGetLabels().getMap().containsKey(key); 1345 } 1346 /** Use {@link #getLabelsMap()} instead. */ 1347 @java.lang.Override 1348 @java.lang.Deprecated getLabels()1349 public java.util.Map<java.lang.String, java.lang.String> getLabels() { 1350 return getLabelsMap(); 1351 } 1352 /** 1353 * 1354 * 1355 * <pre> 1356 * A set of custom breakpoint properties, populated by the agent, to be 1357 * displayed to the user. 1358 * </pre> 1359 * 1360 * <code>map<string, string> labels = 17;</code> 1361 */ 1362 @java.lang.Override getLabelsMap()1363 public java.util.Map<java.lang.String, java.lang.String> getLabelsMap() { 1364 return internalGetLabels().getMap(); 1365 } 1366 /** 1367 * 1368 * 1369 * <pre> 1370 * A set of custom breakpoint properties, populated by the agent, to be 1371 * displayed to the user. 1372 * </pre> 1373 * 1374 * <code>map<string, string> labels = 17;</code> 1375 */ 1376 @java.lang.Override getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue)1377 public /* nullable */ java.lang.String getLabelsOrDefault( 1378 java.lang.String key, 1379 /* nullable */ 1380 java.lang.String defaultValue) { 1381 if (key == null) { 1382 throw new NullPointerException("map key"); 1383 } 1384 java.util.Map<java.lang.String, java.lang.String> map = internalGetLabels().getMap(); 1385 return map.containsKey(key) ? map.get(key) : defaultValue; 1386 } 1387 /** 1388 * 1389 * 1390 * <pre> 1391 * A set of custom breakpoint properties, populated by the agent, to be 1392 * displayed to the user. 1393 * </pre> 1394 * 1395 * <code>map<string, string> labels = 17;</code> 1396 */ 1397 @java.lang.Override getLabelsOrThrow(java.lang.String key)1398 public java.lang.String getLabelsOrThrow(java.lang.String key) { 1399 if (key == null) { 1400 throw new NullPointerException("map key"); 1401 } 1402 java.util.Map<java.lang.String, java.lang.String> map = internalGetLabels().getMap(); 1403 if (!map.containsKey(key)) { 1404 throw new java.lang.IllegalArgumentException(); 1405 } 1406 return map.get(key); 1407 } 1408 1409 private byte memoizedIsInitialized = -1; 1410 1411 @java.lang.Override isInitialized()1412 public final boolean isInitialized() { 1413 byte isInitialized = memoizedIsInitialized; 1414 if (isInitialized == 1) return true; 1415 if (isInitialized == 0) return false; 1416 1417 memoizedIsInitialized = 1; 1418 return true; 1419 } 1420 1421 @java.lang.Override writeTo(com.google.protobuf.CodedOutputStream output)1422 public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { 1423 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { 1424 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); 1425 } 1426 if (location_ != null) { 1427 output.writeMessage(2, getLocation()); 1428 } 1429 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(condition_)) { 1430 com.google.protobuf.GeneratedMessageV3.writeString(output, 3, condition_); 1431 } 1432 for (int i = 0; i < expressions_.size(); i++) { 1433 com.google.protobuf.GeneratedMessageV3.writeString(output, 4, expressions_.getRaw(i)); 1434 } 1435 if (isFinalState_ != false) { 1436 output.writeBool(5, isFinalState_); 1437 } 1438 for (int i = 0; i < stackFrames_.size(); i++) { 1439 output.writeMessage(7, stackFrames_.get(i)); 1440 } 1441 for (int i = 0; i < evaluatedExpressions_.size(); i++) { 1442 output.writeMessage(8, evaluatedExpressions_.get(i)); 1443 } 1444 for (int i = 0; i < variableTable_.size(); i++) { 1445 output.writeMessage(9, variableTable_.get(i)); 1446 } 1447 if (status_ != null) { 1448 output.writeMessage(10, getStatus()); 1449 } 1450 if (createTime_ != null) { 1451 output.writeMessage(11, getCreateTime()); 1452 } 1453 if (finalTime_ != null) { 1454 output.writeMessage(12, getFinalTime()); 1455 } 1456 if (action_ != com.google.devtools.clouddebugger.v2.Breakpoint.Action.CAPTURE.getNumber()) { 1457 output.writeEnum(13, action_); 1458 } 1459 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logMessageFormat_)) { 1460 com.google.protobuf.GeneratedMessageV3.writeString(output, 14, logMessageFormat_); 1461 } 1462 if (logLevel_ != com.google.devtools.clouddebugger.v2.Breakpoint.LogLevel.INFO.getNumber()) { 1463 output.writeEnum(15, logLevel_); 1464 } 1465 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userEmail_)) { 1466 com.google.protobuf.GeneratedMessageV3.writeString(output, 16, userEmail_); 1467 } 1468 com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( 1469 output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 17); 1470 getUnknownFields().writeTo(output); 1471 } 1472 1473 @java.lang.Override getSerializedSize()1474 public int getSerializedSize() { 1475 int size = memoizedSize; 1476 if (size != -1) return size; 1477 1478 size = 0; 1479 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { 1480 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); 1481 } 1482 if (location_ != null) { 1483 size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLocation()); 1484 } 1485 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(condition_)) { 1486 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, condition_); 1487 } 1488 { 1489 int dataSize = 0; 1490 for (int i = 0; i < expressions_.size(); i++) { 1491 dataSize += computeStringSizeNoTag(expressions_.getRaw(i)); 1492 } 1493 size += dataSize; 1494 size += 1 * getExpressionsList().size(); 1495 } 1496 if (isFinalState_ != false) { 1497 size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, isFinalState_); 1498 } 1499 for (int i = 0; i < stackFrames_.size(); i++) { 1500 size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, stackFrames_.get(i)); 1501 } 1502 for (int i = 0; i < evaluatedExpressions_.size(); i++) { 1503 size += 1504 com.google.protobuf.CodedOutputStream.computeMessageSize(8, evaluatedExpressions_.get(i)); 1505 } 1506 for (int i = 0; i < variableTable_.size(); i++) { 1507 size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, variableTable_.get(i)); 1508 } 1509 if (status_ != null) { 1510 size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getStatus()); 1511 } 1512 if (createTime_ != null) { 1513 size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getCreateTime()); 1514 } 1515 if (finalTime_ != null) { 1516 size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getFinalTime()); 1517 } 1518 if (action_ != com.google.devtools.clouddebugger.v2.Breakpoint.Action.CAPTURE.getNumber()) { 1519 size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, action_); 1520 } 1521 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logMessageFormat_)) { 1522 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, logMessageFormat_); 1523 } 1524 if (logLevel_ != com.google.devtools.clouddebugger.v2.Breakpoint.LogLevel.INFO.getNumber()) { 1525 size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, logLevel_); 1526 } 1527 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userEmail_)) { 1528 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, userEmail_); 1529 } 1530 for (java.util.Map.Entry<java.lang.String, java.lang.String> entry : 1531 internalGetLabels().getMap().entrySet()) { 1532 com.google.protobuf.MapEntry<java.lang.String, java.lang.String> labels__ = 1533 LabelsDefaultEntryHolder.defaultEntry 1534 .newBuilderForType() 1535 .setKey(entry.getKey()) 1536 .setValue(entry.getValue()) 1537 .build(); 1538 size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, labels__); 1539 } 1540 size += getUnknownFields().getSerializedSize(); 1541 memoizedSize = size; 1542 return size; 1543 } 1544 1545 @java.lang.Override equals(final java.lang.Object obj)1546 public boolean equals(final java.lang.Object obj) { 1547 if (obj == this) { 1548 return true; 1549 } 1550 if (!(obj instanceof com.google.devtools.clouddebugger.v2.Breakpoint)) { 1551 return super.equals(obj); 1552 } 1553 com.google.devtools.clouddebugger.v2.Breakpoint other = 1554 (com.google.devtools.clouddebugger.v2.Breakpoint) obj; 1555 1556 if (!getId().equals(other.getId())) return false; 1557 if (action_ != other.action_) return false; 1558 if (hasLocation() != other.hasLocation()) return false; 1559 if (hasLocation()) { 1560 if (!getLocation().equals(other.getLocation())) return false; 1561 } 1562 if (!getCondition().equals(other.getCondition())) return false; 1563 if (!getExpressionsList().equals(other.getExpressionsList())) return false; 1564 if (!getLogMessageFormat().equals(other.getLogMessageFormat())) return false; 1565 if (logLevel_ != other.logLevel_) return false; 1566 if (getIsFinalState() != other.getIsFinalState()) return false; 1567 if (hasCreateTime() != other.hasCreateTime()) return false; 1568 if (hasCreateTime()) { 1569 if (!getCreateTime().equals(other.getCreateTime())) return false; 1570 } 1571 if (hasFinalTime() != other.hasFinalTime()) return false; 1572 if (hasFinalTime()) { 1573 if (!getFinalTime().equals(other.getFinalTime())) return false; 1574 } 1575 if (!getUserEmail().equals(other.getUserEmail())) return false; 1576 if (hasStatus() != other.hasStatus()) return false; 1577 if (hasStatus()) { 1578 if (!getStatus().equals(other.getStatus())) return false; 1579 } 1580 if (!getStackFramesList().equals(other.getStackFramesList())) return false; 1581 if (!getEvaluatedExpressionsList().equals(other.getEvaluatedExpressionsList())) return false; 1582 if (!getVariableTableList().equals(other.getVariableTableList())) return false; 1583 if (!internalGetLabels().equals(other.internalGetLabels())) return false; 1584 if (!getUnknownFields().equals(other.getUnknownFields())) return false; 1585 return true; 1586 } 1587 1588 @java.lang.Override hashCode()1589 public int hashCode() { 1590 if (memoizedHashCode != 0) { 1591 return memoizedHashCode; 1592 } 1593 int hash = 41; 1594 hash = (19 * hash) + getDescriptor().hashCode(); 1595 hash = (37 * hash) + ID_FIELD_NUMBER; 1596 hash = (53 * hash) + getId().hashCode(); 1597 hash = (37 * hash) + ACTION_FIELD_NUMBER; 1598 hash = (53 * hash) + action_; 1599 if (hasLocation()) { 1600 hash = (37 * hash) + LOCATION_FIELD_NUMBER; 1601 hash = (53 * hash) + getLocation().hashCode(); 1602 } 1603 hash = (37 * hash) + CONDITION_FIELD_NUMBER; 1604 hash = (53 * hash) + getCondition().hashCode(); 1605 if (getExpressionsCount() > 0) { 1606 hash = (37 * hash) + EXPRESSIONS_FIELD_NUMBER; 1607 hash = (53 * hash) + getExpressionsList().hashCode(); 1608 } 1609 hash = (37 * hash) + LOG_MESSAGE_FORMAT_FIELD_NUMBER; 1610 hash = (53 * hash) + getLogMessageFormat().hashCode(); 1611 hash = (37 * hash) + LOG_LEVEL_FIELD_NUMBER; 1612 hash = (53 * hash) + logLevel_; 1613 hash = (37 * hash) + IS_FINAL_STATE_FIELD_NUMBER; 1614 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsFinalState()); 1615 if (hasCreateTime()) { 1616 hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; 1617 hash = (53 * hash) + getCreateTime().hashCode(); 1618 } 1619 if (hasFinalTime()) { 1620 hash = (37 * hash) + FINAL_TIME_FIELD_NUMBER; 1621 hash = (53 * hash) + getFinalTime().hashCode(); 1622 } 1623 hash = (37 * hash) + USER_EMAIL_FIELD_NUMBER; 1624 hash = (53 * hash) + getUserEmail().hashCode(); 1625 if (hasStatus()) { 1626 hash = (37 * hash) + STATUS_FIELD_NUMBER; 1627 hash = (53 * hash) + getStatus().hashCode(); 1628 } 1629 if (getStackFramesCount() > 0) { 1630 hash = (37 * hash) + STACK_FRAMES_FIELD_NUMBER; 1631 hash = (53 * hash) + getStackFramesList().hashCode(); 1632 } 1633 if (getEvaluatedExpressionsCount() > 0) { 1634 hash = (37 * hash) + EVALUATED_EXPRESSIONS_FIELD_NUMBER; 1635 hash = (53 * hash) + getEvaluatedExpressionsList().hashCode(); 1636 } 1637 if (getVariableTableCount() > 0) { 1638 hash = (37 * hash) + VARIABLE_TABLE_FIELD_NUMBER; 1639 hash = (53 * hash) + getVariableTableList().hashCode(); 1640 } 1641 if (!internalGetLabels().getMap().isEmpty()) { 1642 hash = (37 * hash) + LABELS_FIELD_NUMBER; 1643 hash = (53 * hash) + internalGetLabels().hashCode(); 1644 } 1645 hash = (29 * hash) + getUnknownFields().hashCode(); 1646 memoizedHashCode = hash; 1647 return hash; 1648 } 1649 parseFrom(java.nio.ByteBuffer data)1650 public static com.google.devtools.clouddebugger.v2.Breakpoint parseFrom(java.nio.ByteBuffer data) 1651 throws com.google.protobuf.InvalidProtocolBufferException { 1652 return PARSER.parseFrom(data); 1653 } 1654 parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1655 public static com.google.devtools.clouddebugger.v2.Breakpoint parseFrom( 1656 java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1657 throws com.google.protobuf.InvalidProtocolBufferException { 1658 return PARSER.parseFrom(data, extensionRegistry); 1659 } 1660 parseFrom( com.google.protobuf.ByteString data)1661 public static com.google.devtools.clouddebugger.v2.Breakpoint parseFrom( 1662 com.google.protobuf.ByteString data) 1663 throws com.google.protobuf.InvalidProtocolBufferException { 1664 return PARSER.parseFrom(data); 1665 } 1666 parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1667 public static com.google.devtools.clouddebugger.v2.Breakpoint parseFrom( 1668 com.google.protobuf.ByteString data, 1669 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1670 throws com.google.protobuf.InvalidProtocolBufferException { 1671 return PARSER.parseFrom(data, extensionRegistry); 1672 } 1673 parseFrom(byte[] data)1674 public static com.google.devtools.clouddebugger.v2.Breakpoint parseFrom(byte[] data) 1675 throws com.google.protobuf.InvalidProtocolBufferException { 1676 return PARSER.parseFrom(data); 1677 } 1678 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1679 public static com.google.devtools.clouddebugger.v2.Breakpoint parseFrom( 1680 byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1681 throws com.google.protobuf.InvalidProtocolBufferException { 1682 return PARSER.parseFrom(data, extensionRegistry); 1683 } 1684 parseFrom(java.io.InputStream input)1685 public static com.google.devtools.clouddebugger.v2.Breakpoint parseFrom(java.io.InputStream input) 1686 throws java.io.IOException { 1687 return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); 1688 } 1689 parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1690 public static com.google.devtools.clouddebugger.v2.Breakpoint parseFrom( 1691 java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1692 throws java.io.IOException { 1693 return com.google.protobuf.GeneratedMessageV3.parseWithIOException( 1694 PARSER, input, extensionRegistry); 1695 } 1696 parseDelimitedFrom( java.io.InputStream input)1697 public static com.google.devtools.clouddebugger.v2.Breakpoint parseDelimitedFrom( 1698 java.io.InputStream input) throws java.io.IOException { 1699 return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); 1700 } 1701 parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1702 public static com.google.devtools.clouddebugger.v2.Breakpoint parseDelimitedFrom( 1703 java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1704 throws java.io.IOException { 1705 return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( 1706 PARSER, input, extensionRegistry); 1707 } 1708 parseFrom( com.google.protobuf.CodedInputStream input)1709 public static com.google.devtools.clouddebugger.v2.Breakpoint parseFrom( 1710 com.google.protobuf.CodedInputStream input) throws java.io.IOException { 1711 return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); 1712 } 1713 parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1714 public static com.google.devtools.clouddebugger.v2.Breakpoint parseFrom( 1715 com.google.protobuf.CodedInputStream input, 1716 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1717 throws java.io.IOException { 1718 return com.google.protobuf.GeneratedMessageV3.parseWithIOException( 1719 PARSER, input, extensionRegistry); 1720 } 1721 1722 @java.lang.Override newBuilderForType()1723 public Builder newBuilderForType() { 1724 return newBuilder(); 1725 } 1726 newBuilder()1727 public static Builder newBuilder() { 1728 return DEFAULT_INSTANCE.toBuilder(); 1729 } 1730 newBuilder(com.google.devtools.clouddebugger.v2.Breakpoint prototype)1731 public static Builder newBuilder(com.google.devtools.clouddebugger.v2.Breakpoint prototype) { 1732 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 1733 } 1734 1735 @java.lang.Override toBuilder()1736 public Builder toBuilder() { 1737 return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); 1738 } 1739 1740 @java.lang.Override newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)1741 protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 1742 Builder builder = new Builder(parent); 1743 return builder; 1744 } 1745 /** 1746 * 1747 * 1748 * <pre> 1749 * Represents the breakpoint specification, status and results. 1750 * </pre> 1751 * 1752 * Protobuf type {@code google.devtools.clouddebugger.v2.Breakpoint} 1753 */ 1754 public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> 1755 implements 1756 // @@protoc_insertion_point(builder_implements:google.devtools.clouddebugger.v2.Breakpoint) 1757 com.google.devtools.clouddebugger.v2.BreakpointOrBuilder { getDescriptor()1758 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { 1759 return com.google.devtools.clouddebugger.v2.DataProto 1760 .internal_static_google_devtools_clouddebugger_v2_Breakpoint_descriptor; 1761 } 1762 1763 @SuppressWarnings({"rawtypes"}) internalGetMapField(int number)1764 protected com.google.protobuf.MapField internalGetMapField(int number) { 1765 switch (number) { 1766 case 17: 1767 return internalGetLabels(); 1768 default: 1769 throw new RuntimeException("Invalid map field number: " + number); 1770 } 1771 } 1772 1773 @SuppressWarnings({"rawtypes"}) internalGetMutableMapField(int number)1774 protected com.google.protobuf.MapField internalGetMutableMapField(int number) { 1775 switch (number) { 1776 case 17: 1777 return internalGetMutableLabels(); 1778 default: 1779 throw new RuntimeException("Invalid map field number: " + number); 1780 } 1781 } 1782 1783 @java.lang.Override 1784 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()1785 internalGetFieldAccessorTable() { 1786 return com.google.devtools.clouddebugger.v2.DataProto 1787 .internal_static_google_devtools_clouddebugger_v2_Breakpoint_fieldAccessorTable 1788 .ensureFieldAccessorsInitialized( 1789 com.google.devtools.clouddebugger.v2.Breakpoint.class, 1790 com.google.devtools.clouddebugger.v2.Breakpoint.Builder.class); 1791 } 1792 1793 // Construct using com.google.devtools.clouddebugger.v2.Breakpoint.newBuilder() Builder()1794 private Builder() {} 1795 Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)1796 private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 1797 super(parent); 1798 } 1799 1800 @java.lang.Override clear()1801 public Builder clear() { 1802 super.clear(); 1803 bitField0_ = 0; 1804 id_ = ""; 1805 action_ = 0; 1806 location_ = null; 1807 if (locationBuilder_ != null) { 1808 locationBuilder_.dispose(); 1809 locationBuilder_ = null; 1810 } 1811 condition_ = ""; 1812 expressions_ = com.google.protobuf.LazyStringArrayList.EMPTY; 1813 bitField0_ = (bitField0_ & ~0x00000010); 1814 logMessageFormat_ = ""; 1815 logLevel_ = 0; 1816 isFinalState_ = false; 1817 createTime_ = null; 1818 if (createTimeBuilder_ != null) { 1819 createTimeBuilder_.dispose(); 1820 createTimeBuilder_ = null; 1821 } 1822 finalTime_ = null; 1823 if (finalTimeBuilder_ != null) { 1824 finalTimeBuilder_.dispose(); 1825 finalTimeBuilder_ = null; 1826 } 1827 userEmail_ = ""; 1828 status_ = null; 1829 if (statusBuilder_ != null) { 1830 statusBuilder_.dispose(); 1831 statusBuilder_ = null; 1832 } 1833 if (stackFramesBuilder_ == null) { 1834 stackFrames_ = java.util.Collections.emptyList(); 1835 } else { 1836 stackFrames_ = null; 1837 stackFramesBuilder_.clear(); 1838 } 1839 bitField0_ = (bitField0_ & ~0x00001000); 1840 if (evaluatedExpressionsBuilder_ == null) { 1841 evaluatedExpressions_ = java.util.Collections.emptyList(); 1842 } else { 1843 evaluatedExpressions_ = null; 1844 evaluatedExpressionsBuilder_.clear(); 1845 } 1846 bitField0_ = (bitField0_ & ~0x00002000); 1847 if (variableTableBuilder_ == null) { 1848 variableTable_ = java.util.Collections.emptyList(); 1849 } else { 1850 variableTable_ = null; 1851 variableTableBuilder_.clear(); 1852 } 1853 bitField0_ = (bitField0_ & ~0x00004000); 1854 internalGetMutableLabels().clear(); 1855 return this; 1856 } 1857 1858 @java.lang.Override getDescriptorForType()1859 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 1860 return com.google.devtools.clouddebugger.v2.DataProto 1861 .internal_static_google_devtools_clouddebugger_v2_Breakpoint_descriptor; 1862 } 1863 1864 @java.lang.Override getDefaultInstanceForType()1865 public com.google.devtools.clouddebugger.v2.Breakpoint getDefaultInstanceForType() { 1866 return com.google.devtools.clouddebugger.v2.Breakpoint.getDefaultInstance(); 1867 } 1868 1869 @java.lang.Override build()1870 public com.google.devtools.clouddebugger.v2.Breakpoint build() { 1871 com.google.devtools.clouddebugger.v2.Breakpoint result = buildPartial(); 1872 if (!result.isInitialized()) { 1873 throw newUninitializedMessageException(result); 1874 } 1875 return result; 1876 } 1877 1878 @java.lang.Override buildPartial()1879 public com.google.devtools.clouddebugger.v2.Breakpoint buildPartial() { 1880 com.google.devtools.clouddebugger.v2.Breakpoint result = 1881 new com.google.devtools.clouddebugger.v2.Breakpoint(this); 1882 buildPartialRepeatedFields(result); 1883 if (bitField0_ != 0) { 1884 buildPartial0(result); 1885 } 1886 onBuilt(); 1887 return result; 1888 } 1889 buildPartialRepeatedFields( com.google.devtools.clouddebugger.v2.Breakpoint result)1890 private void buildPartialRepeatedFields( 1891 com.google.devtools.clouddebugger.v2.Breakpoint result) { 1892 if (((bitField0_ & 0x00000010) != 0)) { 1893 expressions_ = expressions_.getUnmodifiableView(); 1894 bitField0_ = (bitField0_ & ~0x00000010); 1895 } 1896 result.expressions_ = expressions_; 1897 if (stackFramesBuilder_ == null) { 1898 if (((bitField0_ & 0x00001000) != 0)) { 1899 stackFrames_ = java.util.Collections.unmodifiableList(stackFrames_); 1900 bitField0_ = (bitField0_ & ~0x00001000); 1901 } 1902 result.stackFrames_ = stackFrames_; 1903 } else { 1904 result.stackFrames_ = stackFramesBuilder_.build(); 1905 } 1906 if (evaluatedExpressionsBuilder_ == null) { 1907 if (((bitField0_ & 0x00002000) != 0)) { 1908 evaluatedExpressions_ = java.util.Collections.unmodifiableList(evaluatedExpressions_); 1909 bitField0_ = (bitField0_ & ~0x00002000); 1910 } 1911 result.evaluatedExpressions_ = evaluatedExpressions_; 1912 } else { 1913 result.evaluatedExpressions_ = evaluatedExpressionsBuilder_.build(); 1914 } 1915 if (variableTableBuilder_ == null) { 1916 if (((bitField0_ & 0x00004000) != 0)) { 1917 variableTable_ = java.util.Collections.unmodifiableList(variableTable_); 1918 bitField0_ = (bitField0_ & ~0x00004000); 1919 } 1920 result.variableTable_ = variableTable_; 1921 } else { 1922 result.variableTable_ = variableTableBuilder_.build(); 1923 } 1924 } 1925 buildPartial0(com.google.devtools.clouddebugger.v2.Breakpoint result)1926 private void buildPartial0(com.google.devtools.clouddebugger.v2.Breakpoint result) { 1927 int from_bitField0_ = bitField0_; 1928 if (((from_bitField0_ & 0x00000001) != 0)) { 1929 result.id_ = id_; 1930 } 1931 if (((from_bitField0_ & 0x00000002) != 0)) { 1932 result.action_ = action_; 1933 } 1934 if (((from_bitField0_ & 0x00000004) != 0)) { 1935 result.location_ = locationBuilder_ == null ? location_ : locationBuilder_.build(); 1936 } 1937 if (((from_bitField0_ & 0x00000008) != 0)) { 1938 result.condition_ = condition_; 1939 } 1940 if (((from_bitField0_ & 0x00000020) != 0)) { 1941 result.logMessageFormat_ = logMessageFormat_; 1942 } 1943 if (((from_bitField0_ & 0x00000040) != 0)) { 1944 result.logLevel_ = logLevel_; 1945 } 1946 if (((from_bitField0_ & 0x00000080) != 0)) { 1947 result.isFinalState_ = isFinalState_; 1948 } 1949 if (((from_bitField0_ & 0x00000100) != 0)) { 1950 result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); 1951 } 1952 if (((from_bitField0_ & 0x00000200) != 0)) { 1953 result.finalTime_ = finalTimeBuilder_ == null ? finalTime_ : finalTimeBuilder_.build(); 1954 } 1955 if (((from_bitField0_ & 0x00000400) != 0)) { 1956 result.userEmail_ = userEmail_; 1957 } 1958 if (((from_bitField0_ & 0x00000800) != 0)) { 1959 result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build(); 1960 } 1961 if (((from_bitField0_ & 0x00008000) != 0)) { 1962 result.labels_ = internalGetLabels(); 1963 result.labels_.makeImmutable(); 1964 } 1965 } 1966 1967 @java.lang.Override clone()1968 public Builder clone() { 1969 return super.clone(); 1970 } 1971 1972 @java.lang.Override setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)1973 public Builder setField( 1974 com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 1975 return super.setField(field, value); 1976 } 1977 1978 @java.lang.Override clearField(com.google.protobuf.Descriptors.FieldDescriptor field)1979 public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { 1980 return super.clearField(field); 1981 } 1982 1983 @java.lang.Override clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)1984 public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { 1985 return super.clearOneof(oneof); 1986 } 1987 1988 @java.lang.Override setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)1989 public Builder setRepeatedField( 1990 com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { 1991 return super.setRepeatedField(field, index, value); 1992 } 1993 1994 @java.lang.Override addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)1995 public Builder addRepeatedField( 1996 com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 1997 return super.addRepeatedField(field, value); 1998 } 1999 2000 @java.lang.Override mergeFrom(com.google.protobuf.Message other)2001 public Builder mergeFrom(com.google.protobuf.Message other) { 2002 if (other instanceof com.google.devtools.clouddebugger.v2.Breakpoint) { 2003 return mergeFrom((com.google.devtools.clouddebugger.v2.Breakpoint) other); 2004 } else { 2005 super.mergeFrom(other); 2006 return this; 2007 } 2008 } 2009 mergeFrom(com.google.devtools.clouddebugger.v2.Breakpoint other)2010 public Builder mergeFrom(com.google.devtools.clouddebugger.v2.Breakpoint other) { 2011 if (other == com.google.devtools.clouddebugger.v2.Breakpoint.getDefaultInstance()) 2012 return this; 2013 if (!other.getId().isEmpty()) { 2014 id_ = other.id_; 2015 bitField0_ |= 0x00000001; 2016 onChanged(); 2017 } 2018 if (other.action_ != 0) { 2019 setActionValue(other.getActionValue()); 2020 } 2021 if (other.hasLocation()) { 2022 mergeLocation(other.getLocation()); 2023 } 2024 if (!other.getCondition().isEmpty()) { 2025 condition_ = other.condition_; 2026 bitField0_ |= 0x00000008; 2027 onChanged(); 2028 } 2029 if (!other.expressions_.isEmpty()) { 2030 if (expressions_.isEmpty()) { 2031 expressions_ = other.expressions_; 2032 bitField0_ = (bitField0_ & ~0x00000010); 2033 } else { 2034 ensureExpressionsIsMutable(); 2035 expressions_.addAll(other.expressions_); 2036 } 2037 onChanged(); 2038 } 2039 if (!other.getLogMessageFormat().isEmpty()) { 2040 logMessageFormat_ = other.logMessageFormat_; 2041 bitField0_ |= 0x00000020; 2042 onChanged(); 2043 } 2044 if (other.logLevel_ != 0) { 2045 setLogLevelValue(other.getLogLevelValue()); 2046 } 2047 if (other.getIsFinalState() != false) { 2048 setIsFinalState(other.getIsFinalState()); 2049 } 2050 if (other.hasCreateTime()) { 2051 mergeCreateTime(other.getCreateTime()); 2052 } 2053 if (other.hasFinalTime()) { 2054 mergeFinalTime(other.getFinalTime()); 2055 } 2056 if (!other.getUserEmail().isEmpty()) { 2057 userEmail_ = other.userEmail_; 2058 bitField0_ |= 0x00000400; 2059 onChanged(); 2060 } 2061 if (other.hasStatus()) { 2062 mergeStatus(other.getStatus()); 2063 } 2064 if (stackFramesBuilder_ == null) { 2065 if (!other.stackFrames_.isEmpty()) { 2066 if (stackFrames_.isEmpty()) { 2067 stackFrames_ = other.stackFrames_; 2068 bitField0_ = (bitField0_ & ~0x00001000); 2069 } else { 2070 ensureStackFramesIsMutable(); 2071 stackFrames_.addAll(other.stackFrames_); 2072 } 2073 onChanged(); 2074 } 2075 } else { 2076 if (!other.stackFrames_.isEmpty()) { 2077 if (stackFramesBuilder_.isEmpty()) { 2078 stackFramesBuilder_.dispose(); 2079 stackFramesBuilder_ = null; 2080 stackFrames_ = other.stackFrames_; 2081 bitField0_ = (bitField0_ & ~0x00001000); 2082 stackFramesBuilder_ = 2083 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders 2084 ? getStackFramesFieldBuilder() 2085 : null; 2086 } else { 2087 stackFramesBuilder_.addAllMessages(other.stackFrames_); 2088 } 2089 } 2090 } 2091 if (evaluatedExpressionsBuilder_ == null) { 2092 if (!other.evaluatedExpressions_.isEmpty()) { 2093 if (evaluatedExpressions_.isEmpty()) { 2094 evaluatedExpressions_ = other.evaluatedExpressions_; 2095 bitField0_ = (bitField0_ & ~0x00002000); 2096 } else { 2097 ensureEvaluatedExpressionsIsMutable(); 2098 evaluatedExpressions_.addAll(other.evaluatedExpressions_); 2099 } 2100 onChanged(); 2101 } 2102 } else { 2103 if (!other.evaluatedExpressions_.isEmpty()) { 2104 if (evaluatedExpressionsBuilder_.isEmpty()) { 2105 evaluatedExpressionsBuilder_.dispose(); 2106 evaluatedExpressionsBuilder_ = null; 2107 evaluatedExpressions_ = other.evaluatedExpressions_; 2108 bitField0_ = (bitField0_ & ~0x00002000); 2109 evaluatedExpressionsBuilder_ = 2110 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders 2111 ? getEvaluatedExpressionsFieldBuilder() 2112 : null; 2113 } else { 2114 evaluatedExpressionsBuilder_.addAllMessages(other.evaluatedExpressions_); 2115 } 2116 } 2117 } 2118 if (variableTableBuilder_ == null) { 2119 if (!other.variableTable_.isEmpty()) { 2120 if (variableTable_.isEmpty()) { 2121 variableTable_ = other.variableTable_; 2122 bitField0_ = (bitField0_ & ~0x00004000); 2123 } else { 2124 ensureVariableTableIsMutable(); 2125 variableTable_.addAll(other.variableTable_); 2126 } 2127 onChanged(); 2128 } 2129 } else { 2130 if (!other.variableTable_.isEmpty()) { 2131 if (variableTableBuilder_.isEmpty()) { 2132 variableTableBuilder_.dispose(); 2133 variableTableBuilder_ = null; 2134 variableTable_ = other.variableTable_; 2135 bitField0_ = (bitField0_ & ~0x00004000); 2136 variableTableBuilder_ = 2137 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders 2138 ? getVariableTableFieldBuilder() 2139 : null; 2140 } else { 2141 variableTableBuilder_.addAllMessages(other.variableTable_); 2142 } 2143 } 2144 } 2145 internalGetMutableLabels().mergeFrom(other.internalGetLabels()); 2146 bitField0_ |= 0x00008000; 2147 this.mergeUnknownFields(other.getUnknownFields()); 2148 onChanged(); 2149 return this; 2150 } 2151 2152 @java.lang.Override isInitialized()2153 public final boolean isInitialized() { 2154 return true; 2155 } 2156 2157 @java.lang.Override mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)2158 public Builder mergeFrom( 2159 com.google.protobuf.CodedInputStream input, 2160 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2161 throws java.io.IOException { 2162 if (extensionRegistry == null) { 2163 throw new java.lang.NullPointerException(); 2164 } 2165 try { 2166 boolean done = false; 2167 while (!done) { 2168 int tag = input.readTag(); 2169 switch (tag) { 2170 case 0: 2171 done = true; 2172 break; 2173 case 10: 2174 { 2175 id_ = input.readStringRequireUtf8(); 2176 bitField0_ |= 0x00000001; 2177 break; 2178 } // case 10 2179 case 18: 2180 { 2181 input.readMessage(getLocationFieldBuilder().getBuilder(), extensionRegistry); 2182 bitField0_ |= 0x00000004; 2183 break; 2184 } // case 18 2185 case 26: 2186 { 2187 condition_ = input.readStringRequireUtf8(); 2188 bitField0_ |= 0x00000008; 2189 break; 2190 } // case 26 2191 case 34: 2192 { 2193 java.lang.String s = input.readStringRequireUtf8(); 2194 ensureExpressionsIsMutable(); 2195 expressions_.add(s); 2196 break; 2197 } // case 34 2198 case 40: 2199 { 2200 isFinalState_ = input.readBool(); 2201 bitField0_ |= 0x00000080; 2202 break; 2203 } // case 40 2204 case 58: 2205 { 2206 com.google.devtools.clouddebugger.v2.StackFrame m = 2207 input.readMessage( 2208 com.google.devtools.clouddebugger.v2.StackFrame.parser(), 2209 extensionRegistry); 2210 if (stackFramesBuilder_ == null) { 2211 ensureStackFramesIsMutable(); 2212 stackFrames_.add(m); 2213 } else { 2214 stackFramesBuilder_.addMessage(m); 2215 } 2216 break; 2217 } // case 58 2218 case 66: 2219 { 2220 com.google.devtools.clouddebugger.v2.Variable m = 2221 input.readMessage( 2222 com.google.devtools.clouddebugger.v2.Variable.parser(), extensionRegistry); 2223 if (evaluatedExpressionsBuilder_ == null) { 2224 ensureEvaluatedExpressionsIsMutable(); 2225 evaluatedExpressions_.add(m); 2226 } else { 2227 evaluatedExpressionsBuilder_.addMessage(m); 2228 } 2229 break; 2230 } // case 66 2231 case 74: 2232 { 2233 com.google.devtools.clouddebugger.v2.Variable m = 2234 input.readMessage( 2235 com.google.devtools.clouddebugger.v2.Variable.parser(), extensionRegistry); 2236 if (variableTableBuilder_ == null) { 2237 ensureVariableTableIsMutable(); 2238 variableTable_.add(m); 2239 } else { 2240 variableTableBuilder_.addMessage(m); 2241 } 2242 break; 2243 } // case 74 2244 case 82: 2245 { 2246 input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); 2247 bitField0_ |= 0x00000800; 2248 break; 2249 } // case 82 2250 case 90: 2251 { 2252 input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); 2253 bitField0_ |= 0x00000100; 2254 break; 2255 } // case 90 2256 case 98: 2257 { 2258 input.readMessage(getFinalTimeFieldBuilder().getBuilder(), extensionRegistry); 2259 bitField0_ |= 0x00000200; 2260 break; 2261 } // case 98 2262 case 104: 2263 { 2264 action_ = input.readEnum(); 2265 bitField0_ |= 0x00000002; 2266 break; 2267 } // case 104 2268 case 114: 2269 { 2270 logMessageFormat_ = input.readStringRequireUtf8(); 2271 bitField0_ |= 0x00000020; 2272 break; 2273 } // case 114 2274 case 120: 2275 { 2276 logLevel_ = input.readEnum(); 2277 bitField0_ |= 0x00000040; 2278 break; 2279 } // case 120 2280 case 130: 2281 { 2282 userEmail_ = input.readStringRequireUtf8(); 2283 bitField0_ |= 0x00000400; 2284 break; 2285 } // case 130 2286 case 138: 2287 { 2288 com.google.protobuf.MapEntry<java.lang.String, java.lang.String> labels__ = 2289 input.readMessage( 2290 LabelsDefaultEntryHolder.defaultEntry.getParserForType(), 2291 extensionRegistry); 2292 internalGetMutableLabels() 2293 .getMutableMap() 2294 .put(labels__.getKey(), labels__.getValue()); 2295 bitField0_ |= 0x00008000; 2296 break; 2297 } // case 138 2298 default: 2299 { 2300 if (!super.parseUnknownField(input, extensionRegistry, tag)) { 2301 done = true; // was an endgroup tag 2302 } 2303 break; 2304 } // default: 2305 } // switch (tag) 2306 } // while (!done) 2307 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 2308 throw e.unwrapIOException(); 2309 } finally { 2310 onChanged(); 2311 } // finally 2312 return this; 2313 } 2314 2315 private int bitField0_; 2316 2317 private java.lang.Object id_ = ""; 2318 /** 2319 * 2320 * 2321 * <pre> 2322 * Breakpoint identifier, unique in the scope of the debuggee. 2323 * </pre> 2324 * 2325 * <code>string id = 1;</code> 2326 * 2327 * @return The id. 2328 */ getId()2329 public java.lang.String getId() { 2330 java.lang.Object ref = id_; 2331 if (!(ref instanceof java.lang.String)) { 2332 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 2333 java.lang.String s = bs.toStringUtf8(); 2334 id_ = s; 2335 return s; 2336 } else { 2337 return (java.lang.String) ref; 2338 } 2339 } 2340 /** 2341 * 2342 * 2343 * <pre> 2344 * Breakpoint identifier, unique in the scope of the debuggee. 2345 * </pre> 2346 * 2347 * <code>string id = 1;</code> 2348 * 2349 * @return The bytes for id. 2350 */ getIdBytes()2351 public com.google.protobuf.ByteString getIdBytes() { 2352 java.lang.Object ref = id_; 2353 if (ref instanceof String) { 2354 com.google.protobuf.ByteString b = 2355 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 2356 id_ = b; 2357 return b; 2358 } else { 2359 return (com.google.protobuf.ByteString) ref; 2360 } 2361 } 2362 /** 2363 * 2364 * 2365 * <pre> 2366 * Breakpoint identifier, unique in the scope of the debuggee. 2367 * </pre> 2368 * 2369 * <code>string id = 1;</code> 2370 * 2371 * @param value The id to set. 2372 * @return This builder for chaining. 2373 */ setId(java.lang.String value)2374 public Builder setId(java.lang.String value) { 2375 if (value == null) { 2376 throw new NullPointerException(); 2377 } 2378 id_ = value; 2379 bitField0_ |= 0x00000001; 2380 onChanged(); 2381 return this; 2382 } 2383 /** 2384 * 2385 * 2386 * <pre> 2387 * Breakpoint identifier, unique in the scope of the debuggee. 2388 * </pre> 2389 * 2390 * <code>string id = 1;</code> 2391 * 2392 * @return This builder for chaining. 2393 */ clearId()2394 public Builder clearId() { 2395 id_ = getDefaultInstance().getId(); 2396 bitField0_ = (bitField0_ & ~0x00000001); 2397 onChanged(); 2398 return this; 2399 } 2400 /** 2401 * 2402 * 2403 * <pre> 2404 * Breakpoint identifier, unique in the scope of the debuggee. 2405 * </pre> 2406 * 2407 * <code>string id = 1;</code> 2408 * 2409 * @param value The bytes for id to set. 2410 * @return This builder for chaining. 2411 */ setIdBytes(com.google.protobuf.ByteString value)2412 public Builder setIdBytes(com.google.protobuf.ByteString value) { 2413 if (value == null) { 2414 throw new NullPointerException(); 2415 } 2416 checkByteStringIsUtf8(value); 2417 id_ = value; 2418 bitField0_ |= 0x00000001; 2419 onChanged(); 2420 return this; 2421 } 2422 2423 private int action_ = 0; 2424 /** 2425 * 2426 * 2427 * <pre> 2428 * Action that the agent should perform when the code at the 2429 * breakpoint location is hit. 2430 * </pre> 2431 * 2432 * <code>.google.devtools.clouddebugger.v2.Breakpoint.Action action = 13;</code> 2433 * 2434 * @return The enum numeric value on the wire for action. 2435 */ 2436 @java.lang.Override getActionValue()2437 public int getActionValue() { 2438 return action_; 2439 } 2440 /** 2441 * 2442 * 2443 * <pre> 2444 * Action that the agent should perform when the code at the 2445 * breakpoint location is hit. 2446 * </pre> 2447 * 2448 * <code>.google.devtools.clouddebugger.v2.Breakpoint.Action action = 13;</code> 2449 * 2450 * @param value The enum numeric value on the wire for action to set. 2451 * @return This builder for chaining. 2452 */ setActionValue(int value)2453 public Builder setActionValue(int value) { 2454 action_ = value; 2455 bitField0_ |= 0x00000002; 2456 onChanged(); 2457 return this; 2458 } 2459 /** 2460 * 2461 * 2462 * <pre> 2463 * Action that the agent should perform when the code at the 2464 * breakpoint location is hit. 2465 * </pre> 2466 * 2467 * <code>.google.devtools.clouddebugger.v2.Breakpoint.Action action = 13;</code> 2468 * 2469 * @return The action. 2470 */ 2471 @java.lang.Override getAction()2472 public com.google.devtools.clouddebugger.v2.Breakpoint.Action getAction() { 2473 com.google.devtools.clouddebugger.v2.Breakpoint.Action result = 2474 com.google.devtools.clouddebugger.v2.Breakpoint.Action.forNumber(action_); 2475 return result == null 2476 ? com.google.devtools.clouddebugger.v2.Breakpoint.Action.UNRECOGNIZED 2477 : result; 2478 } 2479 /** 2480 * 2481 * 2482 * <pre> 2483 * Action that the agent should perform when the code at the 2484 * breakpoint location is hit. 2485 * </pre> 2486 * 2487 * <code>.google.devtools.clouddebugger.v2.Breakpoint.Action action = 13;</code> 2488 * 2489 * @param value The action to set. 2490 * @return This builder for chaining. 2491 */ setAction(com.google.devtools.clouddebugger.v2.Breakpoint.Action value)2492 public Builder setAction(com.google.devtools.clouddebugger.v2.Breakpoint.Action value) { 2493 if (value == null) { 2494 throw new NullPointerException(); 2495 } 2496 bitField0_ |= 0x00000002; 2497 action_ = value.getNumber(); 2498 onChanged(); 2499 return this; 2500 } 2501 /** 2502 * 2503 * 2504 * <pre> 2505 * Action that the agent should perform when the code at the 2506 * breakpoint location is hit. 2507 * </pre> 2508 * 2509 * <code>.google.devtools.clouddebugger.v2.Breakpoint.Action action = 13;</code> 2510 * 2511 * @return This builder for chaining. 2512 */ clearAction()2513 public Builder clearAction() { 2514 bitField0_ = (bitField0_ & ~0x00000002); 2515 action_ = 0; 2516 onChanged(); 2517 return this; 2518 } 2519 2520 private com.google.devtools.clouddebugger.v2.SourceLocation location_; 2521 private com.google.protobuf.SingleFieldBuilderV3< 2522 com.google.devtools.clouddebugger.v2.SourceLocation, 2523 com.google.devtools.clouddebugger.v2.SourceLocation.Builder, 2524 com.google.devtools.clouddebugger.v2.SourceLocationOrBuilder> 2525 locationBuilder_; 2526 /** 2527 * 2528 * 2529 * <pre> 2530 * Breakpoint source location. 2531 * </pre> 2532 * 2533 * <code>.google.devtools.clouddebugger.v2.SourceLocation location = 2;</code> 2534 * 2535 * @return Whether the location field is set. 2536 */ hasLocation()2537 public boolean hasLocation() { 2538 return ((bitField0_ & 0x00000004) != 0); 2539 } 2540 /** 2541 * 2542 * 2543 * <pre> 2544 * Breakpoint source location. 2545 * </pre> 2546 * 2547 * <code>.google.devtools.clouddebugger.v2.SourceLocation location = 2;</code> 2548 * 2549 * @return The location. 2550 */ getLocation()2551 public com.google.devtools.clouddebugger.v2.SourceLocation getLocation() { 2552 if (locationBuilder_ == null) { 2553 return location_ == null 2554 ? com.google.devtools.clouddebugger.v2.SourceLocation.getDefaultInstance() 2555 : location_; 2556 } else { 2557 return locationBuilder_.getMessage(); 2558 } 2559 } 2560 /** 2561 * 2562 * 2563 * <pre> 2564 * Breakpoint source location. 2565 * </pre> 2566 * 2567 * <code>.google.devtools.clouddebugger.v2.SourceLocation location = 2;</code> 2568 */ setLocation(com.google.devtools.clouddebugger.v2.SourceLocation value)2569 public Builder setLocation(com.google.devtools.clouddebugger.v2.SourceLocation value) { 2570 if (locationBuilder_ == null) { 2571 if (value == null) { 2572 throw new NullPointerException(); 2573 } 2574 location_ = value; 2575 } else { 2576 locationBuilder_.setMessage(value); 2577 } 2578 bitField0_ |= 0x00000004; 2579 onChanged(); 2580 return this; 2581 } 2582 /** 2583 * 2584 * 2585 * <pre> 2586 * Breakpoint source location. 2587 * </pre> 2588 * 2589 * <code>.google.devtools.clouddebugger.v2.SourceLocation location = 2;</code> 2590 */ setLocation( com.google.devtools.clouddebugger.v2.SourceLocation.Builder builderForValue)2591 public Builder setLocation( 2592 com.google.devtools.clouddebugger.v2.SourceLocation.Builder builderForValue) { 2593 if (locationBuilder_ == null) { 2594 location_ = builderForValue.build(); 2595 } else { 2596 locationBuilder_.setMessage(builderForValue.build()); 2597 } 2598 bitField0_ |= 0x00000004; 2599 onChanged(); 2600 return this; 2601 } 2602 /** 2603 * 2604 * 2605 * <pre> 2606 * Breakpoint source location. 2607 * </pre> 2608 * 2609 * <code>.google.devtools.clouddebugger.v2.SourceLocation location = 2;</code> 2610 */ mergeLocation(com.google.devtools.clouddebugger.v2.SourceLocation value)2611 public Builder mergeLocation(com.google.devtools.clouddebugger.v2.SourceLocation value) { 2612 if (locationBuilder_ == null) { 2613 if (((bitField0_ & 0x00000004) != 0) 2614 && location_ != null 2615 && location_ 2616 != com.google.devtools.clouddebugger.v2.SourceLocation.getDefaultInstance()) { 2617 getLocationBuilder().mergeFrom(value); 2618 } else { 2619 location_ = value; 2620 } 2621 } else { 2622 locationBuilder_.mergeFrom(value); 2623 } 2624 bitField0_ |= 0x00000004; 2625 onChanged(); 2626 return this; 2627 } 2628 /** 2629 * 2630 * 2631 * <pre> 2632 * Breakpoint source location. 2633 * </pre> 2634 * 2635 * <code>.google.devtools.clouddebugger.v2.SourceLocation location = 2;</code> 2636 */ clearLocation()2637 public Builder clearLocation() { 2638 bitField0_ = (bitField0_ & ~0x00000004); 2639 location_ = null; 2640 if (locationBuilder_ != null) { 2641 locationBuilder_.dispose(); 2642 locationBuilder_ = null; 2643 } 2644 onChanged(); 2645 return this; 2646 } 2647 /** 2648 * 2649 * 2650 * <pre> 2651 * Breakpoint source location. 2652 * </pre> 2653 * 2654 * <code>.google.devtools.clouddebugger.v2.SourceLocation location = 2;</code> 2655 */ getLocationBuilder()2656 public com.google.devtools.clouddebugger.v2.SourceLocation.Builder getLocationBuilder() { 2657 bitField0_ |= 0x00000004; 2658 onChanged(); 2659 return getLocationFieldBuilder().getBuilder(); 2660 } 2661 /** 2662 * 2663 * 2664 * <pre> 2665 * Breakpoint source location. 2666 * </pre> 2667 * 2668 * <code>.google.devtools.clouddebugger.v2.SourceLocation location = 2;</code> 2669 */ getLocationOrBuilder()2670 public com.google.devtools.clouddebugger.v2.SourceLocationOrBuilder getLocationOrBuilder() { 2671 if (locationBuilder_ != null) { 2672 return locationBuilder_.getMessageOrBuilder(); 2673 } else { 2674 return location_ == null 2675 ? com.google.devtools.clouddebugger.v2.SourceLocation.getDefaultInstance() 2676 : location_; 2677 } 2678 } 2679 /** 2680 * 2681 * 2682 * <pre> 2683 * Breakpoint source location. 2684 * </pre> 2685 * 2686 * <code>.google.devtools.clouddebugger.v2.SourceLocation location = 2;</code> 2687 */ 2688 private com.google.protobuf.SingleFieldBuilderV3< 2689 com.google.devtools.clouddebugger.v2.SourceLocation, 2690 com.google.devtools.clouddebugger.v2.SourceLocation.Builder, 2691 com.google.devtools.clouddebugger.v2.SourceLocationOrBuilder> getLocationFieldBuilder()2692 getLocationFieldBuilder() { 2693 if (locationBuilder_ == null) { 2694 locationBuilder_ = 2695 new com.google.protobuf.SingleFieldBuilderV3< 2696 com.google.devtools.clouddebugger.v2.SourceLocation, 2697 com.google.devtools.clouddebugger.v2.SourceLocation.Builder, 2698 com.google.devtools.clouddebugger.v2.SourceLocationOrBuilder>( 2699 getLocation(), getParentForChildren(), isClean()); 2700 location_ = null; 2701 } 2702 return locationBuilder_; 2703 } 2704 2705 private java.lang.Object condition_ = ""; 2706 /** 2707 * 2708 * 2709 * <pre> 2710 * Condition that triggers the breakpoint. 2711 * The condition is a compound boolean expression composed using expressions 2712 * in a programming language at the source location. 2713 * </pre> 2714 * 2715 * <code>string condition = 3;</code> 2716 * 2717 * @return The condition. 2718 */ getCondition()2719 public java.lang.String getCondition() { 2720 java.lang.Object ref = condition_; 2721 if (!(ref instanceof java.lang.String)) { 2722 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 2723 java.lang.String s = bs.toStringUtf8(); 2724 condition_ = s; 2725 return s; 2726 } else { 2727 return (java.lang.String) ref; 2728 } 2729 } 2730 /** 2731 * 2732 * 2733 * <pre> 2734 * Condition that triggers the breakpoint. 2735 * The condition is a compound boolean expression composed using expressions 2736 * in a programming language at the source location. 2737 * </pre> 2738 * 2739 * <code>string condition = 3;</code> 2740 * 2741 * @return The bytes for condition. 2742 */ getConditionBytes()2743 public com.google.protobuf.ByteString getConditionBytes() { 2744 java.lang.Object ref = condition_; 2745 if (ref instanceof String) { 2746 com.google.protobuf.ByteString b = 2747 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 2748 condition_ = b; 2749 return b; 2750 } else { 2751 return (com.google.protobuf.ByteString) ref; 2752 } 2753 } 2754 /** 2755 * 2756 * 2757 * <pre> 2758 * Condition that triggers the breakpoint. 2759 * The condition is a compound boolean expression composed using expressions 2760 * in a programming language at the source location. 2761 * </pre> 2762 * 2763 * <code>string condition = 3;</code> 2764 * 2765 * @param value The condition to set. 2766 * @return This builder for chaining. 2767 */ setCondition(java.lang.String value)2768 public Builder setCondition(java.lang.String value) { 2769 if (value == null) { 2770 throw new NullPointerException(); 2771 } 2772 condition_ = value; 2773 bitField0_ |= 0x00000008; 2774 onChanged(); 2775 return this; 2776 } 2777 /** 2778 * 2779 * 2780 * <pre> 2781 * Condition that triggers the breakpoint. 2782 * The condition is a compound boolean expression composed using expressions 2783 * in a programming language at the source location. 2784 * </pre> 2785 * 2786 * <code>string condition = 3;</code> 2787 * 2788 * @return This builder for chaining. 2789 */ clearCondition()2790 public Builder clearCondition() { 2791 condition_ = getDefaultInstance().getCondition(); 2792 bitField0_ = (bitField0_ & ~0x00000008); 2793 onChanged(); 2794 return this; 2795 } 2796 /** 2797 * 2798 * 2799 * <pre> 2800 * Condition that triggers the breakpoint. 2801 * The condition is a compound boolean expression composed using expressions 2802 * in a programming language at the source location. 2803 * </pre> 2804 * 2805 * <code>string condition = 3;</code> 2806 * 2807 * @param value The bytes for condition to set. 2808 * @return This builder for chaining. 2809 */ setConditionBytes(com.google.protobuf.ByteString value)2810 public Builder setConditionBytes(com.google.protobuf.ByteString value) { 2811 if (value == null) { 2812 throw new NullPointerException(); 2813 } 2814 checkByteStringIsUtf8(value); 2815 condition_ = value; 2816 bitField0_ |= 0x00000008; 2817 onChanged(); 2818 return this; 2819 } 2820 2821 private com.google.protobuf.LazyStringList expressions_ = 2822 com.google.protobuf.LazyStringArrayList.EMPTY; 2823 ensureExpressionsIsMutable()2824 private void ensureExpressionsIsMutable() { 2825 if (!((bitField0_ & 0x00000010) != 0)) { 2826 expressions_ = new com.google.protobuf.LazyStringArrayList(expressions_); 2827 bitField0_ |= 0x00000010; 2828 } 2829 } 2830 /** 2831 * 2832 * 2833 * <pre> 2834 * List of read-only expressions to evaluate at the breakpoint location. 2835 * The expressions are composed using expressions in the programming language 2836 * at the source location. If the breakpoint action is `LOG`, the evaluated 2837 * expressions are included in log statements. 2838 * </pre> 2839 * 2840 * <code>repeated string expressions = 4;</code> 2841 * 2842 * @return A list containing the expressions. 2843 */ getExpressionsList()2844 public com.google.protobuf.ProtocolStringList getExpressionsList() { 2845 return expressions_.getUnmodifiableView(); 2846 } 2847 /** 2848 * 2849 * 2850 * <pre> 2851 * List of read-only expressions to evaluate at the breakpoint location. 2852 * The expressions are composed using expressions in the programming language 2853 * at the source location. If the breakpoint action is `LOG`, the evaluated 2854 * expressions are included in log statements. 2855 * </pre> 2856 * 2857 * <code>repeated string expressions = 4;</code> 2858 * 2859 * @return The count of expressions. 2860 */ getExpressionsCount()2861 public int getExpressionsCount() { 2862 return expressions_.size(); 2863 } 2864 /** 2865 * 2866 * 2867 * <pre> 2868 * List of read-only expressions to evaluate at the breakpoint location. 2869 * The expressions are composed using expressions in the programming language 2870 * at the source location. If the breakpoint action is `LOG`, the evaluated 2871 * expressions are included in log statements. 2872 * </pre> 2873 * 2874 * <code>repeated string expressions = 4;</code> 2875 * 2876 * @param index The index of the element to return. 2877 * @return The expressions at the given index. 2878 */ getExpressions(int index)2879 public java.lang.String getExpressions(int index) { 2880 return expressions_.get(index); 2881 } 2882 /** 2883 * 2884 * 2885 * <pre> 2886 * List of read-only expressions to evaluate at the breakpoint location. 2887 * The expressions are composed using expressions in the programming language 2888 * at the source location. If the breakpoint action is `LOG`, the evaluated 2889 * expressions are included in log statements. 2890 * </pre> 2891 * 2892 * <code>repeated string expressions = 4;</code> 2893 * 2894 * @param index The index of the value to return. 2895 * @return The bytes of the expressions at the given index. 2896 */ getExpressionsBytes(int index)2897 public com.google.protobuf.ByteString getExpressionsBytes(int index) { 2898 return expressions_.getByteString(index); 2899 } 2900 /** 2901 * 2902 * 2903 * <pre> 2904 * List of read-only expressions to evaluate at the breakpoint location. 2905 * The expressions are composed using expressions in the programming language 2906 * at the source location. If the breakpoint action is `LOG`, the evaluated 2907 * expressions are included in log statements. 2908 * </pre> 2909 * 2910 * <code>repeated string expressions = 4;</code> 2911 * 2912 * @param index The index to set the value at. 2913 * @param value The expressions to set. 2914 * @return This builder for chaining. 2915 */ setExpressions(int index, java.lang.String value)2916 public Builder setExpressions(int index, java.lang.String value) { 2917 if (value == null) { 2918 throw new NullPointerException(); 2919 } 2920 ensureExpressionsIsMutable(); 2921 expressions_.set(index, value); 2922 onChanged(); 2923 return this; 2924 } 2925 /** 2926 * 2927 * 2928 * <pre> 2929 * List of read-only expressions to evaluate at the breakpoint location. 2930 * The expressions are composed using expressions in the programming language 2931 * at the source location. If the breakpoint action is `LOG`, the evaluated 2932 * expressions are included in log statements. 2933 * </pre> 2934 * 2935 * <code>repeated string expressions = 4;</code> 2936 * 2937 * @param value The expressions to add. 2938 * @return This builder for chaining. 2939 */ addExpressions(java.lang.String value)2940 public Builder addExpressions(java.lang.String value) { 2941 if (value == null) { 2942 throw new NullPointerException(); 2943 } 2944 ensureExpressionsIsMutable(); 2945 expressions_.add(value); 2946 onChanged(); 2947 return this; 2948 } 2949 /** 2950 * 2951 * 2952 * <pre> 2953 * List of read-only expressions to evaluate at the breakpoint location. 2954 * The expressions are composed using expressions in the programming language 2955 * at the source location. If the breakpoint action is `LOG`, the evaluated 2956 * expressions are included in log statements. 2957 * </pre> 2958 * 2959 * <code>repeated string expressions = 4;</code> 2960 * 2961 * @param values The expressions to add. 2962 * @return This builder for chaining. 2963 */ addAllExpressions(java.lang.Iterable<java.lang.String> values)2964 public Builder addAllExpressions(java.lang.Iterable<java.lang.String> values) { 2965 ensureExpressionsIsMutable(); 2966 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, expressions_); 2967 onChanged(); 2968 return this; 2969 } 2970 /** 2971 * 2972 * 2973 * <pre> 2974 * List of read-only expressions to evaluate at the breakpoint location. 2975 * The expressions are composed using expressions in the programming language 2976 * at the source location. If the breakpoint action is `LOG`, the evaluated 2977 * expressions are included in log statements. 2978 * </pre> 2979 * 2980 * <code>repeated string expressions = 4;</code> 2981 * 2982 * @return This builder for chaining. 2983 */ clearExpressions()2984 public Builder clearExpressions() { 2985 expressions_ = com.google.protobuf.LazyStringArrayList.EMPTY; 2986 bitField0_ = (bitField0_ & ~0x00000010); 2987 onChanged(); 2988 return this; 2989 } 2990 /** 2991 * 2992 * 2993 * <pre> 2994 * List of read-only expressions to evaluate at the breakpoint location. 2995 * The expressions are composed using expressions in the programming language 2996 * at the source location. If the breakpoint action is `LOG`, the evaluated 2997 * expressions are included in log statements. 2998 * </pre> 2999 * 3000 * <code>repeated string expressions = 4;</code> 3001 * 3002 * @param value The bytes of the expressions to add. 3003 * @return This builder for chaining. 3004 */ addExpressionsBytes(com.google.protobuf.ByteString value)3005 public Builder addExpressionsBytes(com.google.protobuf.ByteString value) { 3006 if (value == null) { 3007 throw new NullPointerException(); 3008 } 3009 checkByteStringIsUtf8(value); 3010 ensureExpressionsIsMutable(); 3011 expressions_.add(value); 3012 onChanged(); 3013 return this; 3014 } 3015 3016 private java.lang.Object logMessageFormat_ = ""; 3017 /** 3018 * 3019 * 3020 * <pre> 3021 * Only relevant when action is `LOG`. Defines the message to log when 3022 * the breakpoint hits. The message may include parameter placeholders `$0`, 3023 * `$1`, etc. These placeholders are replaced with the evaluated value 3024 * of the appropriate expression. Expressions not referenced in 3025 * `log_message_format` are not logged. 3026 * Example: `Message received, id = $0, count = $1` with 3027 * `expressions` = `[ message.id, message.count ]`. 3028 * </pre> 3029 * 3030 * <code>string log_message_format = 14;</code> 3031 * 3032 * @return The logMessageFormat. 3033 */ getLogMessageFormat()3034 public java.lang.String getLogMessageFormat() { 3035 java.lang.Object ref = logMessageFormat_; 3036 if (!(ref instanceof java.lang.String)) { 3037 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 3038 java.lang.String s = bs.toStringUtf8(); 3039 logMessageFormat_ = s; 3040 return s; 3041 } else { 3042 return (java.lang.String) ref; 3043 } 3044 } 3045 /** 3046 * 3047 * 3048 * <pre> 3049 * Only relevant when action is `LOG`. Defines the message to log when 3050 * the breakpoint hits. The message may include parameter placeholders `$0`, 3051 * `$1`, etc. These placeholders are replaced with the evaluated value 3052 * of the appropriate expression. Expressions not referenced in 3053 * `log_message_format` are not logged. 3054 * Example: `Message received, id = $0, count = $1` with 3055 * `expressions` = `[ message.id, message.count ]`. 3056 * </pre> 3057 * 3058 * <code>string log_message_format = 14;</code> 3059 * 3060 * @return The bytes for logMessageFormat. 3061 */ getLogMessageFormatBytes()3062 public com.google.protobuf.ByteString getLogMessageFormatBytes() { 3063 java.lang.Object ref = logMessageFormat_; 3064 if (ref instanceof String) { 3065 com.google.protobuf.ByteString b = 3066 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 3067 logMessageFormat_ = b; 3068 return b; 3069 } else { 3070 return (com.google.protobuf.ByteString) ref; 3071 } 3072 } 3073 /** 3074 * 3075 * 3076 * <pre> 3077 * Only relevant when action is `LOG`. Defines the message to log when 3078 * the breakpoint hits. The message may include parameter placeholders `$0`, 3079 * `$1`, etc. These placeholders are replaced with the evaluated value 3080 * of the appropriate expression. Expressions not referenced in 3081 * `log_message_format` are not logged. 3082 * Example: `Message received, id = $0, count = $1` with 3083 * `expressions` = `[ message.id, message.count ]`. 3084 * </pre> 3085 * 3086 * <code>string log_message_format = 14;</code> 3087 * 3088 * @param value The logMessageFormat to set. 3089 * @return This builder for chaining. 3090 */ setLogMessageFormat(java.lang.String value)3091 public Builder setLogMessageFormat(java.lang.String value) { 3092 if (value == null) { 3093 throw new NullPointerException(); 3094 } 3095 logMessageFormat_ = value; 3096 bitField0_ |= 0x00000020; 3097 onChanged(); 3098 return this; 3099 } 3100 /** 3101 * 3102 * 3103 * <pre> 3104 * Only relevant when action is `LOG`. Defines the message to log when 3105 * the breakpoint hits. The message may include parameter placeholders `$0`, 3106 * `$1`, etc. These placeholders are replaced with the evaluated value 3107 * of the appropriate expression. Expressions not referenced in 3108 * `log_message_format` are not logged. 3109 * Example: `Message received, id = $0, count = $1` with 3110 * `expressions` = `[ message.id, message.count ]`. 3111 * </pre> 3112 * 3113 * <code>string log_message_format = 14;</code> 3114 * 3115 * @return This builder for chaining. 3116 */ clearLogMessageFormat()3117 public Builder clearLogMessageFormat() { 3118 logMessageFormat_ = getDefaultInstance().getLogMessageFormat(); 3119 bitField0_ = (bitField0_ & ~0x00000020); 3120 onChanged(); 3121 return this; 3122 } 3123 /** 3124 * 3125 * 3126 * <pre> 3127 * Only relevant when action is `LOG`. Defines the message to log when 3128 * the breakpoint hits. The message may include parameter placeholders `$0`, 3129 * `$1`, etc. These placeholders are replaced with the evaluated value 3130 * of the appropriate expression. Expressions not referenced in 3131 * `log_message_format` are not logged. 3132 * Example: `Message received, id = $0, count = $1` with 3133 * `expressions` = `[ message.id, message.count ]`. 3134 * </pre> 3135 * 3136 * <code>string log_message_format = 14;</code> 3137 * 3138 * @param value The bytes for logMessageFormat to set. 3139 * @return This builder for chaining. 3140 */ setLogMessageFormatBytes(com.google.protobuf.ByteString value)3141 public Builder setLogMessageFormatBytes(com.google.protobuf.ByteString value) { 3142 if (value == null) { 3143 throw new NullPointerException(); 3144 } 3145 checkByteStringIsUtf8(value); 3146 logMessageFormat_ = value; 3147 bitField0_ |= 0x00000020; 3148 onChanged(); 3149 return this; 3150 } 3151 3152 private int logLevel_ = 0; 3153 /** 3154 * 3155 * 3156 * <pre> 3157 * Indicates the severity of the log. Only relevant when action is `LOG`. 3158 * </pre> 3159 * 3160 * <code>.google.devtools.clouddebugger.v2.Breakpoint.LogLevel log_level = 15;</code> 3161 * 3162 * @return The enum numeric value on the wire for logLevel. 3163 */ 3164 @java.lang.Override getLogLevelValue()3165 public int getLogLevelValue() { 3166 return logLevel_; 3167 } 3168 /** 3169 * 3170 * 3171 * <pre> 3172 * Indicates the severity of the log. Only relevant when action is `LOG`. 3173 * </pre> 3174 * 3175 * <code>.google.devtools.clouddebugger.v2.Breakpoint.LogLevel log_level = 15;</code> 3176 * 3177 * @param value The enum numeric value on the wire for logLevel to set. 3178 * @return This builder for chaining. 3179 */ setLogLevelValue(int value)3180 public Builder setLogLevelValue(int value) { 3181 logLevel_ = value; 3182 bitField0_ |= 0x00000040; 3183 onChanged(); 3184 return this; 3185 } 3186 /** 3187 * 3188 * 3189 * <pre> 3190 * Indicates the severity of the log. Only relevant when action is `LOG`. 3191 * </pre> 3192 * 3193 * <code>.google.devtools.clouddebugger.v2.Breakpoint.LogLevel log_level = 15;</code> 3194 * 3195 * @return The logLevel. 3196 */ 3197 @java.lang.Override getLogLevel()3198 public com.google.devtools.clouddebugger.v2.Breakpoint.LogLevel getLogLevel() { 3199 com.google.devtools.clouddebugger.v2.Breakpoint.LogLevel result = 3200 com.google.devtools.clouddebugger.v2.Breakpoint.LogLevel.forNumber(logLevel_); 3201 return result == null 3202 ? com.google.devtools.clouddebugger.v2.Breakpoint.LogLevel.UNRECOGNIZED 3203 : result; 3204 } 3205 /** 3206 * 3207 * 3208 * <pre> 3209 * Indicates the severity of the log. Only relevant when action is `LOG`. 3210 * </pre> 3211 * 3212 * <code>.google.devtools.clouddebugger.v2.Breakpoint.LogLevel log_level = 15;</code> 3213 * 3214 * @param value The logLevel to set. 3215 * @return This builder for chaining. 3216 */ setLogLevel(com.google.devtools.clouddebugger.v2.Breakpoint.LogLevel value)3217 public Builder setLogLevel(com.google.devtools.clouddebugger.v2.Breakpoint.LogLevel value) { 3218 if (value == null) { 3219 throw new NullPointerException(); 3220 } 3221 bitField0_ |= 0x00000040; 3222 logLevel_ = value.getNumber(); 3223 onChanged(); 3224 return this; 3225 } 3226 /** 3227 * 3228 * 3229 * <pre> 3230 * Indicates the severity of the log. Only relevant when action is `LOG`. 3231 * </pre> 3232 * 3233 * <code>.google.devtools.clouddebugger.v2.Breakpoint.LogLevel log_level = 15;</code> 3234 * 3235 * @return This builder for chaining. 3236 */ clearLogLevel()3237 public Builder clearLogLevel() { 3238 bitField0_ = (bitField0_ & ~0x00000040); 3239 logLevel_ = 0; 3240 onChanged(); 3241 return this; 3242 } 3243 3244 private boolean isFinalState_; 3245 /** 3246 * 3247 * 3248 * <pre> 3249 * When true, indicates that this is a final result and the 3250 * breakpoint state will not change from here on. 3251 * </pre> 3252 * 3253 * <code>bool is_final_state = 5;</code> 3254 * 3255 * @return The isFinalState. 3256 */ 3257 @java.lang.Override getIsFinalState()3258 public boolean getIsFinalState() { 3259 return isFinalState_; 3260 } 3261 /** 3262 * 3263 * 3264 * <pre> 3265 * When true, indicates that this is a final result and the 3266 * breakpoint state will not change from here on. 3267 * </pre> 3268 * 3269 * <code>bool is_final_state = 5;</code> 3270 * 3271 * @param value The isFinalState to set. 3272 * @return This builder for chaining. 3273 */ setIsFinalState(boolean value)3274 public Builder setIsFinalState(boolean value) { 3275 3276 isFinalState_ = value; 3277 bitField0_ |= 0x00000080; 3278 onChanged(); 3279 return this; 3280 } 3281 /** 3282 * 3283 * 3284 * <pre> 3285 * When true, indicates that this is a final result and the 3286 * breakpoint state will not change from here on. 3287 * </pre> 3288 * 3289 * <code>bool is_final_state = 5;</code> 3290 * 3291 * @return This builder for chaining. 3292 */ clearIsFinalState()3293 public Builder clearIsFinalState() { 3294 bitField0_ = (bitField0_ & ~0x00000080); 3295 isFinalState_ = false; 3296 onChanged(); 3297 return this; 3298 } 3299 3300 private com.google.protobuf.Timestamp createTime_; 3301 private com.google.protobuf.SingleFieldBuilderV3< 3302 com.google.protobuf.Timestamp, 3303 com.google.protobuf.Timestamp.Builder, 3304 com.google.protobuf.TimestampOrBuilder> 3305 createTimeBuilder_; 3306 /** 3307 * 3308 * 3309 * <pre> 3310 * Time this breakpoint was created by the server in seconds resolution. 3311 * </pre> 3312 * 3313 * <code>.google.protobuf.Timestamp create_time = 11;</code> 3314 * 3315 * @return Whether the createTime field is set. 3316 */ hasCreateTime()3317 public boolean hasCreateTime() { 3318 return ((bitField0_ & 0x00000100) != 0); 3319 } 3320 /** 3321 * 3322 * 3323 * <pre> 3324 * Time this breakpoint was created by the server in seconds resolution. 3325 * </pre> 3326 * 3327 * <code>.google.protobuf.Timestamp create_time = 11;</code> 3328 * 3329 * @return The createTime. 3330 */ getCreateTime()3331 public com.google.protobuf.Timestamp getCreateTime() { 3332 if (createTimeBuilder_ == null) { 3333 return createTime_ == null 3334 ? com.google.protobuf.Timestamp.getDefaultInstance() 3335 : createTime_; 3336 } else { 3337 return createTimeBuilder_.getMessage(); 3338 } 3339 } 3340 /** 3341 * 3342 * 3343 * <pre> 3344 * Time this breakpoint was created by the server in seconds resolution. 3345 * </pre> 3346 * 3347 * <code>.google.protobuf.Timestamp create_time = 11;</code> 3348 */ setCreateTime(com.google.protobuf.Timestamp value)3349 public Builder setCreateTime(com.google.protobuf.Timestamp value) { 3350 if (createTimeBuilder_ == null) { 3351 if (value == null) { 3352 throw new NullPointerException(); 3353 } 3354 createTime_ = value; 3355 } else { 3356 createTimeBuilder_.setMessage(value); 3357 } 3358 bitField0_ |= 0x00000100; 3359 onChanged(); 3360 return this; 3361 } 3362 /** 3363 * 3364 * 3365 * <pre> 3366 * Time this breakpoint was created by the server in seconds resolution. 3367 * </pre> 3368 * 3369 * <code>.google.protobuf.Timestamp create_time = 11;</code> 3370 */ setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)3371 public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { 3372 if (createTimeBuilder_ == null) { 3373 createTime_ = builderForValue.build(); 3374 } else { 3375 createTimeBuilder_.setMessage(builderForValue.build()); 3376 } 3377 bitField0_ |= 0x00000100; 3378 onChanged(); 3379 return this; 3380 } 3381 /** 3382 * 3383 * 3384 * <pre> 3385 * Time this breakpoint was created by the server in seconds resolution. 3386 * </pre> 3387 * 3388 * <code>.google.protobuf.Timestamp create_time = 11;</code> 3389 */ mergeCreateTime(com.google.protobuf.Timestamp value)3390 public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { 3391 if (createTimeBuilder_ == null) { 3392 if (((bitField0_ & 0x00000100) != 0) 3393 && createTime_ != null 3394 && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { 3395 getCreateTimeBuilder().mergeFrom(value); 3396 } else { 3397 createTime_ = value; 3398 } 3399 } else { 3400 createTimeBuilder_.mergeFrom(value); 3401 } 3402 bitField0_ |= 0x00000100; 3403 onChanged(); 3404 return this; 3405 } 3406 /** 3407 * 3408 * 3409 * <pre> 3410 * Time this breakpoint was created by the server in seconds resolution. 3411 * </pre> 3412 * 3413 * <code>.google.protobuf.Timestamp create_time = 11;</code> 3414 */ clearCreateTime()3415 public Builder clearCreateTime() { 3416 bitField0_ = (bitField0_ & ~0x00000100); 3417 createTime_ = null; 3418 if (createTimeBuilder_ != null) { 3419 createTimeBuilder_.dispose(); 3420 createTimeBuilder_ = null; 3421 } 3422 onChanged(); 3423 return this; 3424 } 3425 /** 3426 * 3427 * 3428 * <pre> 3429 * Time this breakpoint was created by the server in seconds resolution. 3430 * </pre> 3431 * 3432 * <code>.google.protobuf.Timestamp create_time = 11;</code> 3433 */ getCreateTimeBuilder()3434 public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { 3435 bitField0_ |= 0x00000100; 3436 onChanged(); 3437 return getCreateTimeFieldBuilder().getBuilder(); 3438 } 3439 /** 3440 * 3441 * 3442 * <pre> 3443 * Time this breakpoint was created by the server in seconds resolution. 3444 * </pre> 3445 * 3446 * <code>.google.protobuf.Timestamp create_time = 11;</code> 3447 */ getCreateTimeOrBuilder()3448 public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 3449 if (createTimeBuilder_ != null) { 3450 return createTimeBuilder_.getMessageOrBuilder(); 3451 } else { 3452 return createTime_ == null 3453 ? com.google.protobuf.Timestamp.getDefaultInstance() 3454 : createTime_; 3455 } 3456 } 3457 /** 3458 * 3459 * 3460 * <pre> 3461 * Time this breakpoint was created by the server in seconds resolution. 3462 * </pre> 3463 * 3464 * <code>.google.protobuf.Timestamp create_time = 11;</code> 3465 */ 3466 private com.google.protobuf.SingleFieldBuilderV3< 3467 com.google.protobuf.Timestamp, 3468 com.google.protobuf.Timestamp.Builder, 3469 com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder()3470 getCreateTimeFieldBuilder() { 3471 if (createTimeBuilder_ == null) { 3472 createTimeBuilder_ = 3473 new com.google.protobuf.SingleFieldBuilderV3< 3474 com.google.protobuf.Timestamp, 3475 com.google.protobuf.Timestamp.Builder, 3476 com.google.protobuf.TimestampOrBuilder>( 3477 getCreateTime(), getParentForChildren(), isClean()); 3478 createTime_ = null; 3479 } 3480 return createTimeBuilder_; 3481 } 3482 3483 private com.google.protobuf.Timestamp finalTime_; 3484 private com.google.protobuf.SingleFieldBuilderV3< 3485 com.google.protobuf.Timestamp, 3486 com.google.protobuf.Timestamp.Builder, 3487 com.google.protobuf.TimestampOrBuilder> 3488 finalTimeBuilder_; 3489 /** 3490 * 3491 * 3492 * <pre> 3493 * Time this breakpoint was finalized as seen by the server in seconds 3494 * resolution. 3495 * </pre> 3496 * 3497 * <code>.google.protobuf.Timestamp final_time = 12;</code> 3498 * 3499 * @return Whether the finalTime field is set. 3500 */ hasFinalTime()3501 public boolean hasFinalTime() { 3502 return ((bitField0_ & 0x00000200) != 0); 3503 } 3504 /** 3505 * 3506 * 3507 * <pre> 3508 * Time this breakpoint was finalized as seen by the server in seconds 3509 * resolution. 3510 * </pre> 3511 * 3512 * <code>.google.protobuf.Timestamp final_time = 12;</code> 3513 * 3514 * @return The finalTime. 3515 */ getFinalTime()3516 public com.google.protobuf.Timestamp getFinalTime() { 3517 if (finalTimeBuilder_ == null) { 3518 return finalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finalTime_; 3519 } else { 3520 return finalTimeBuilder_.getMessage(); 3521 } 3522 } 3523 /** 3524 * 3525 * 3526 * <pre> 3527 * Time this breakpoint was finalized as seen by the server in seconds 3528 * resolution. 3529 * </pre> 3530 * 3531 * <code>.google.protobuf.Timestamp final_time = 12;</code> 3532 */ setFinalTime(com.google.protobuf.Timestamp value)3533 public Builder setFinalTime(com.google.protobuf.Timestamp value) { 3534 if (finalTimeBuilder_ == null) { 3535 if (value == null) { 3536 throw new NullPointerException(); 3537 } 3538 finalTime_ = value; 3539 } else { 3540 finalTimeBuilder_.setMessage(value); 3541 } 3542 bitField0_ |= 0x00000200; 3543 onChanged(); 3544 return this; 3545 } 3546 /** 3547 * 3548 * 3549 * <pre> 3550 * Time this breakpoint was finalized as seen by the server in seconds 3551 * resolution. 3552 * </pre> 3553 * 3554 * <code>.google.protobuf.Timestamp final_time = 12;</code> 3555 */ setFinalTime(com.google.protobuf.Timestamp.Builder builderForValue)3556 public Builder setFinalTime(com.google.protobuf.Timestamp.Builder builderForValue) { 3557 if (finalTimeBuilder_ == null) { 3558 finalTime_ = builderForValue.build(); 3559 } else { 3560 finalTimeBuilder_.setMessage(builderForValue.build()); 3561 } 3562 bitField0_ |= 0x00000200; 3563 onChanged(); 3564 return this; 3565 } 3566 /** 3567 * 3568 * 3569 * <pre> 3570 * Time this breakpoint was finalized as seen by the server in seconds 3571 * resolution. 3572 * </pre> 3573 * 3574 * <code>.google.protobuf.Timestamp final_time = 12;</code> 3575 */ mergeFinalTime(com.google.protobuf.Timestamp value)3576 public Builder mergeFinalTime(com.google.protobuf.Timestamp value) { 3577 if (finalTimeBuilder_ == null) { 3578 if (((bitField0_ & 0x00000200) != 0) 3579 && finalTime_ != null 3580 && finalTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { 3581 getFinalTimeBuilder().mergeFrom(value); 3582 } else { 3583 finalTime_ = value; 3584 } 3585 } else { 3586 finalTimeBuilder_.mergeFrom(value); 3587 } 3588 bitField0_ |= 0x00000200; 3589 onChanged(); 3590 return this; 3591 } 3592 /** 3593 * 3594 * 3595 * <pre> 3596 * Time this breakpoint was finalized as seen by the server in seconds 3597 * resolution. 3598 * </pre> 3599 * 3600 * <code>.google.protobuf.Timestamp final_time = 12;</code> 3601 */ clearFinalTime()3602 public Builder clearFinalTime() { 3603 bitField0_ = (bitField0_ & ~0x00000200); 3604 finalTime_ = null; 3605 if (finalTimeBuilder_ != null) { 3606 finalTimeBuilder_.dispose(); 3607 finalTimeBuilder_ = null; 3608 } 3609 onChanged(); 3610 return this; 3611 } 3612 /** 3613 * 3614 * 3615 * <pre> 3616 * Time this breakpoint was finalized as seen by the server in seconds 3617 * resolution. 3618 * </pre> 3619 * 3620 * <code>.google.protobuf.Timestamp final_time = 12;</code> 3621 */ getFinalTimeBuilder()3622 public com.google.protobuf.Timestamp.Builder getFinalTimeBuilder() { 3623 bitField0_ |= 0x00000200; 3624 onChanged(); 3625 return getFinalTimeFieldBuilder().getBuilder(); 3626 } 3627 /** 3628 * 3629 * 3630 * <pre> 3631 * Time this breakpoint was finalized as seen by the server in seconds 3632 * resolution. 3633 * </pre> 3634 * 3635 * <code>.google.protobuf.Timestamp final_time = 12;</code> 3636 */ getFinalTimeOrBuilder()3637 public com.google.protobuf.TimestampOrBuilder getFinalTimeOrBuilder() { 3638 if (finalTimeBuilder_ != null) { 3639 return finalTimeBuilder_.getMessageOrBuilder(); 3640 } else { 3641 return finalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finalTime_; 3642 } 3643 } 3644 /** 3645 * 3646 * 3647 * <pre> 3648 * Time this breakpoint was finalized as seen by the server in seconds 3649 * resolution. 3650 * </pre> 3651 * 3652 * <code>.google.protobuf.Timestamp final_time = 12;</code> 3653 */ 3654 private com.google.protobuf.SingleFieldBuilderV3< 3655 com.google.protobuf.Timestamp, 3656 com.google.protobuf.Timestamp.Builder, 3657 com.google.protobuf.TimestampOrBuilder> getFinalTimeFieldBuilder()3658 getFinalTimeFieldBuilder() { 3659 if (finalTimeBuilder_ == null) { 3660 finalTimeBuilder_ = 3661 new com.google.protobuf.SingleFieldBuilderV3< 3662 com.google.protobuf.Timestamp, 3663 com.google.protobuf.Timestamp.Builder, 3664 com.google.protobuf.TimestampOrBuilder>( 3665 getFinalTime(), getParentForChildren(), isClean()); 3666 finalTime_ = null; 3667 } 3668 return finalTimeBuilder_; 3669 } 3670 3671 private java.lang.Object userEmail_ = ""; 3672 /** 3673 * 3674 * 3675 * <pre> 3676 * E-mail address of the user that created this breakpoint 3677 * </pre> 3678 * 3679 * <code>string user_email = 16;</code> 3680 * 3681 * @return The userEmail. 3682 */ getUserEmail()3683 public java.lang.String getUserEmail() { 3684 java.lang.Object ref = userEmail_; 3685 if (!(ref instanceof java.lang.String)) { 3686 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 3687 java.lang.String s = bs.toStringUtf8(); 3688 userEmail_ = s; 3689 return s; 3690 } else { 3691 return (java.lang.String) ref; 3692 } 3693 } 3694 /** 3695 * 3696 * 3697 * <pre> 3698 * E-mail address of the user that created this breakpoint 3699 * </pre> 3700 * 3701 * <code>string user_email = 16;</code> 3702 * 3703 * @return The bytes for userEmail. 3704 */ getUserEmailBytes()3705 public com.google.protobuf.ByteString getUserEmailBytes() { 3706 java.lang.Object ref = userEmail_; 3707 if (ref instanceof String) { 3708 com.google.protobuf.ByteString b = 3709 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 3710 userEmail_ = b; 3711 return b; 3712 } else { 3713 return (com.google.protobuf.ByteString) ref; 3714 } 3715 } 3716 /** 3717 * 3718 * 3719 * <pre> 3720 * E-mail address of the user that created this breakpoint 3721 * </pre> 3722 * 3723 * <code>string user_email = 16;</code> 3724 * 3725 * @param value The userEmail to set. 3726 * @return This builder for chaining. 3727 */ setUserEmail(java.lang.String value)3728 public Builder setUserEmail(java.lang.String value) { 3729 if (value == null) { 3730 throw new NullPointerException(); 3731 } 3732 userEmail_ = value; 3733 bitField0_ |= 0x00000400; 3734 onChanged(); 3735 return this; 3736 } 3737 /** 3738 * 3739 * 3740 * <pre> 3741 * E-mail address of the user that created this breakpoint 3742 * </pre> 3743 * 3744 * <code>string user_email = 16;</code> 3745 * 3746 * @return This builder for chaining. 3747 */ clearUserEmail()3748 public Builder clearUserEmail() { 3749 userEmail_ = getDefaultInstance().getUserEmail(); 3750 bitField0_ = (bitField0_ & ~0x00000400); 3751 onChanged(); 3752 return this; 3753 } 3754 /** 3755 * 3756 * 3757 * <pre> 3758 * E-mail address of the user that created this breakpoint 3759 * </pre> 3760 * 3761 * <code>string user_email = 16;</code> 3762 * 3763 * @param value The bytes for userEmail to set. 3764 * @return This builder for chaining. 3765 */ setUserEmailBytes(com.google.protobuf.ByteString value)3766 public Builder setUserEmailBytes(com.google.protobuf.ByteString value) { 3767 if (value == null) { 3768 throw new NullPointerException(); 3769 } 3770 checkByteStringIsUtf8(value); 3771 userEmail_ = value; 3772 bitField0_ |= 0x00000400; 3773 onChanged(); 3774 return this; 3775 } 3776 3777 private com.google.devtools.clouddebugger.v2.StatusMessage status_; 3778 private com.google.protobuf.SingleFieldBuilderV3< 3779 com.google.devtools.clouddebugger.v2.StatusMessage, 3780 com.google.devtools.clouddebugger.v2.StatusMessage.Builder, 3781 com.google.devtools.clouddebugger.v2.StatusMessageOrBuilder> 3782 statusBuilder_; 3783 /** 3784 * 3785 * 3786 * <pre> 3787 * Breakpoint status. 3788 * The status includes an error flag and a human readable message. 3789 * This field is usually unset. The message can be either 3790 * informational or an error message. Regardless, clients should always 3791 * display the text message back to the user. 3792 * Error status indicates complete failure of the breakpoint. 3793 * Example (non-final state): `Still loading symbols...` 3794 * Examples (final state): 3795 * * `Invalid line number` referring to location 3796 * * `Field f not found in class C` referring to condition 3797 * </pre> 3798 * 3799 * <code>.google.devtools.clouddebugger.v2.StatusMessage status = 10;</code> 3800 * 3801 * @return Whether the status field is set. 3802 */ hasStatus()3803 public boolean hasStatus() { 3804 return ((bitField0_ & 0x00000800) != 0); 3805 } 3806 /** 3807 * 3808 * 3809 * <pre> 3810 * Breakpoint status. 3811 * The status includes an error flag and a human readable message. 3812 * This field is usually unset. The message can be either 3813 * informational or an error message. Regardless, clients should always 3814 * display the text message back to the user. 3815 * Error status indicates complete failure of the breakpoint. 3816 * Example (non-final state): `Still loading symbols...` 3817 * Examples (final state): 3818 * * `Invalid line number` referring to location 3819 * * `Field f not found in class C` referring to condition 3820 * </pre> 3821 * 3822 * <code>.google.devtools.clouddebugger.v2.StatusMessage status = 10;</code> 3823 * 3824 * @return The status. 3825 */ getStatus()3826 public com.google.devtools.clouddebugger.v2.StatusMessage getStatus() { 3827 if (statusBuilder_ == null) { 3828 return status_ == null 3829 ? com.google.devtools.clouddebugger.v2.StatusMessage.getDefaultInstance() 3830 : status_; 3831 } else { 3832 return statusBuilder_.getMessage(); 3833 } 3834 } 3835 /** 3836 * 3837 * 3838 * <pre> 3839 * Breakpoint status. 3840 * The status includes an error flag and a human readable message. 3841 * This field is usually unset. The message can be either 3842 * informational or an error message. Regardless, clients should always 3843 * display the text message back to the user. 3844 * Error status indicates complete failure of the breakpoint. 3845 * Example (non-final state): `Still loading symbols...` 3846 * Examples (final state): 3847 * * `Invalid line number` referring to location 3848 * * `Field f not found in class C` referring to condition 3849 * </pre> 3850 * 3851 * <code>.google.devtools.clouddebugger.v2.StatusMessage status = 10;</code> 3852 */ setStatus(com.google.devtools.clouddebugger.v2.StatusMessage value)3853 public Builder setStatus(com.google.devtools.clouddebugger.v2.StatusMessage value) { 3854 if (statusBuilder_ == null) { 3855 if (value == null) { 3856 throw new NullPointerException(); 3857 } 3858 status_ = value; 3859 } else { 3860 statusBuilder_.setMessage(value); 3861 } 3862 bitField0_ |= 0x00000800; 3863 onChanged(); 3864 return this; 3865 } 3866 /** 3867 * 3868 * 3869 * <pre> 3870 * Breakpoint status. 3871 * The status includes an error flag and a human readable message. 3872 * This field is usually unset. The message can be either 3873 * informational or an error message. Regardless, clients should always 3874 * display the text message back to the user. 3875 * Error status indicates complete failure of the breakpoint. 3876 * Example (non-final state): `Still loading symbols...` 3877 * Examples (final state): 3878 * * `Invalid line number` referring to location 3879 * * `Field f not found in class C` referring to condition 3880 * </pre> 3881 * 3882 * <code>.google.devtools.clouddebugger.v2.StatusMessage status = 10;</code> 3883 */ setStatus( com.google.devtools.clouddebugger.v2.StatusMessage.Builder builderForValue)3884 public Builder setStatus( 3885 com.google.devtools.clouddebugger.v2.StatusMessage.Builder builderForValue) { 3886 if (statusBuilder_ == null) { 3887 status_ = builderForValue.build(); 3888 } else { 3889 statusBuilder_.setMessage(builderForValue.build()); 3890 } 3891 bitField0_ |= 0x00000800; 3892 onChanged(); 3893 return this; 3894 } 3895 /** 3896 * 3897 * 3898 * <pre> 3899 * Breakpoint status. 3900 * The status includes an error flag and a human readable message. 3901 * This field is usually unset. The message can be either 3902 * informational or an error message. Regardless, clients should always 3903 * display the text message back to the user. 3904 * Error status indicates complete failure of the breakpoint. 3905 * Example (non-final state): `Still loading symbols...` 3906 * Examples (final state): 3907 * * `Invalid line number` referring to location 3908 * * `Field f not found in class C` referring to condition 3909 * </pre> 3910 * 3911 * <code>.google.devtools.clouddebugger.v2.StatusMessage status = 10;</code> 3912 */ mergeStatus(com.google.devtools.clouddebugger.v2.StatusMessage value)3913 public Builder mergeStatus(com.google.devtools.clouddebugger.v2.StatusMessage value) { 3914 if (statusBuilder_ == null) { 3915 if (((bitField0_ & 0x00000800) != 0) 3916 && status_ != null 3917 && status_ != com.google.devtools.clouddebugger.v2.StatusMessage.getDefaultInstance()) { 3918 getStatusBuilder().mergeFrom(value); 3919 } else { 3920 status_ = value; 3921 } 3922 } else { 3923 statusBuilder_.mergeFrom(value); 3924 } 3925 bitField0_ |= 0x00000800; 3926 onChanged(); 3927 return this; 3928 } 3929 /** 3930 * 3931 * 3932 * <pre> 3933 * Breakpoint status. 3934 * The status includes an error flag and a human readable message. 3935 * This field is usually unset. The message can be either 3936 * informational or an error message. Regardless, clients should always 3937 * display the text message back to the user. 3938 * Error status indicates complete failure of the breakpoint. 3939 * Example (non-final state): `Still loading symbols...` 3940 * Examples (final state): 3941 * * `Invalid line number` referring to location 3942 * * `Field f not found in class C` referring to condition 3943 * </pre> 3944 * 3945 * <code>.google.devtools.clouddebugger.v2.StatusMessage status = 10;</code> 3946 */ clearStatus()3947 public Builder clearStatus() { 3948 bitField0_ = (bitField0_ & ~0x00000800); 3949 status_ = null; 3950 if (statusBuilder_ != null) { 3951 statusBuilder_.dispose(); 3952 statusBuilder_ = null; 3953 } 3954 onChanged(); 3955 return this; 3956 } 3957 /** 3958 * 3959 * 3960 * <pre> 3961 * Breakpoint status. 3962 * The status includes an error flag and a human readable message. 3963 * This field is usually unset. The message can be either 3964 * informational or an error message. Regardless, clients should always 3965 * display the text message back to the user. 3966 * Error status indicates complete failure of the breakpoint. 3967 * Example (non-final state): `Still loading symbols...` 3968 * Examples (final state): 3969 * * `Invalid line number` referring to location 3970 * * `Field f not found in class C` referring to condition 3971 * </pre> 3972 * 3973 * <code>.google.devtools.clouddebugger.v2.StatusMessage status = 10;</code> 3974 */ getStatusBuilder()3975 public com.google.devtools.clouddebugger.v2.StatusMessage.Builder getStatusBuilder() { 3976 bitField0_ |= 0x00000800; 3977 onChanged(); 3978 return getStatusFieldBuilder().getBuilder(); 3979 } 3980 /** 3981 * 3982 * 3983 * <pre> 3984 * Breakpoint status. 3985 * The status includes an error flag and a human readable message. 3986 * This field is usually unset. The message can be either 3987 * informational or an error message. Regardless, clients should always 3988 * display the text message back to the user. 3989 * Error status indicates complete failure of the breakpoint. 3990 * Example (non-final state): `Still loading symbols...` 3991 * Examples (final state): 3992 * * `Invalid line number` referring to location 3993 * * `Field f not found in class C` referring to condition 3994 * </pre> 3995 * 3996 * <code>.google.devtools.clouddebugger.v2.StatusMessage status = 10;</code> 3997 */ getStatusOrBuilder()3998 public com.google.devtools.clouddebugger.v2.StatusMessageOrBuilder getStatusOrBuilder() { 3999 if (statusBuilder_ != null) { 4000 return statusBuilder_.getMessageOrBuilder(); 4001 } else { 4002 return status_ == null 4003 ? com.google.devtools.clouddebugger.v2.StatusMessage.getDefaultInstance() 4004 : status_; 4005 } 4006 } 4007 /** 4008 * 4009 * 4010 * <pre> 4011 * Breakpoint status. 4012 * The status includes an error flag and a human readable message. 4013 * This field is usually unset. The message can be either 4014 * informational or an error message. Regardless, clients should always 4015 * display the text message back to the user. 4016 * Error status indicates complete failure of the breakpoint. 4017 * Example (non-final state): `Still loading symbols...` 4018 * Examples (final state): 4019 * * `Invalid line number` referring to location 4020 * * `Field f not found in class C` referring to condition 4021 * </pre> 4022 * 4023 * <code>.google.devtools.clouddebugger.v2.StatusMessage status = 10;</code> 4024 */ 4025 private com.google.protobuf.SingleFieldBuilderV3< 4026 com.google.devtools.clouddebugger.v2.StatusMessage, 4027 com.google.devtools.clouddebugger.v2.StatusMessage.Builder, 4028 com.google.devtools.clouddebugger.v2.StatusMessageOrBuilder> getStatusFieldBuilder()4029 getStatusFieldBuilder() { 4030 if (statusBuilder_ == null) { 4031 statusBuilder_ = 4032 new com.google.protobuf.SingleFieldBuilderV3< 4033 com.google.devtools.clouddebugger.v2.StatusMessage, 4034 com.google.devtools.clouddebugger.v2.StatusMessage.Builder, 4035 com.google.devtools.clouddebugger.v2.StatusMessageOrBuilder>( 4036 getStatus(), getParentForChildren(), isClean()); 4037 status_ = null; 4038 } 4039 return statusBuilder_; 4040 } 4041 4042 private java.util.List<com.google.devtools.clouddebugger.v2.StackFrame> stackFrames_ = 4043 java.util.Collections.emptyList(); 4044 ensureStackFramesIsMutable()4045 private void ensureStackFramesIsMutable() { 4046 if (!((bitField0_ & 0x00001000) != 0)) { 4047 stackFrames_ = 4048 new java.util.ArrayList<com.google.devtools.clouddebugger.v2.StackFrame>(stackFrames_); 4049 bitField0_ |= 0x00001000; 4050 } 4051 } 4052 4053 private com.google.protobuf.RepeatedFieldBuilderV3< 4054 com.google.devtools.clouddebugger.v2.StackFrame, 4055 com.google.devtools.clouddebugger.v2.StackFrame.Builder, 4056 com.google.devtools.clouddebugger.v2.StackFrameOrBuilder> 4057 stackFramesBuilder_; 4058 4059 /** 4060 * 4061 * 4062 * <pre> 4063 * The stack at breakpoint time, where stack_frames[0] represents the most 4064 * recently entered function. 4065 * </pre> 4066 * 4067 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 4068 */ getStackFramesList()4069 public java.util.List<com.google.devtools.clouddebugger.v2.StackFrame> getStackFramesList() { 4070 if (stackFramesBuilder_ == null) { 4071 return java.util.Collections.unmodifiableList(stackFrames_); 4072 } else { 4073 return stackFramesBuilder_.getMessageList(); 4074 } 4075 } 4076 /** 4077 * 4078 * 4079 * <pre> 4080 * The stack at breakpoint time, where stack_frames[0] represents the most 4081 * recently entered function. 4082 * </pre> 4083 * 4084 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 4085 */ getStackFramesCount()4086 public int getStackFramesCount() { 4087 if (stackFramesBuilder_ == null) { 4088 return stackFrames_.size(); 4089 } else { 4090 return stackFramesBuilder_.getCount(); 4091 } 4092 } 4093 /** 4094 * 4095 * 4096 * <pre> 4097 * The stack at breakpoint time, where stack_frames[0] represents the most 4098 * recently entered function. 4099 * </pre> 4100 * 4101 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 4102 */ getStackFrames(int index)4103 public com.google.devtools.clouddebugger.v2.StackFrame getStackFrames(int index) { 4104 if (stackFramesBuilder_ == null) { 4105 return stackFrames_.get(index); 4106 } else { 4107 return stackFramesBuilder_.getMessage(index); 4108 } 4109 } 4110 /** 4111 * 4112 * 4113 * <pre> 4114 * The stack at breakpoint time, where stack_frames[0] represents the most 4115 * recently entered function. 4116 * </pre> 4117 * 4118 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 4119 */ setStackFrames( int index, com.google.devtools.clouddebugger.v2.StackFrame value)4120 public Builder setStackFrames( 4121 int index, com.google.devtools.clouddebugger.v2.StackFrame value) { 4122 if (stackFramesBuilder_ == null) { 4123 if (value == null) { 4124 throw new NullPointerException(); 4125 } 4126 ensureStackFramesIsMutable(); 4127 stackFrames_.set(index, value); 4128 onChanged(); 4129 } else { 4130 stackFramesBuilder_.setMessage(index, value); 4131 } 4132 return this; 4133 } 4134 /** 4135 * 4136 * 4137 * <pre> 4138 * The stack at breakpoint time, where stack_frames[0] represents the most 4139 * recently entered function. 4140 * </pre> 4141 * 4142 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 4143 */ setStackFrames( int index, com.google.devtools.clouddebugger.v2.StackFrame.Builder builderForValue)4144 public Builder setStackFrames( 4145 int index, com.google.devtools.clouddebugger.v2.StackFrame.Builder builderForValue) { 4146 if (stackFramesBuilder_ == null) { 4147 ensureStackFramesIsMutable(); 4148 stackFrames_.set(index, builderForValue.build()); 4149 onChanged(); 4150 } else { 4151 stackFramesBuilder_.setMessage(index, builderForValue.build()); 4152 } 4153 return this; 4154 } 4155 /** 4156 * 4157 * 4158 * <pre> 4159 * The stack at breakpoint time, where stack_frames[0] represents the most 4160 * recently entered function. 4161 * </pre> 4162 * 4163 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 4164 */ addStackFrames(com.google.devtools.clouddebugger.v2.StackFrame value)4165 public Builder addStackFrames(com.google.devtools.clouddebugger.v2.StackFrame value) { 4166 if (stackFramesBuilder_ == null) { 4167 if (value == null) { 4168 throw new NullPointerException(); 4169 } 4170 ensureStackFramesIsMutable(); 4171 stackFrames_.add(value); 4172 onChanged(); 4173 } else { 4174 stackFramesBuilder_.addMessage(value); 4175 } 4176 return this; 4177 } 4178 /** 4179 * 4180 * 4181 * <pre> 4182 * The stack at breakpoint time, where stack_frames[0] represents the most 4183 * recently entered function. 4184 * </pre> 4185 * 4186 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 4187 */ addStackFrames( int index, com.google.devtools.clouddebugger.v2.StackFrame value)4188 public Builder addStackFrames( 4189 int index, com.google.devtools.clouddebugger.v2.StackFrame value) { 4190 if (stackFramesBuilder_ == null) { 4191 if (value == null) { 4192 throw new NullPointerException(); 4193 } 4194 ensureStackFramesIsMutable(); 4195 stackFrames_.add(index, value); 4196 onChanged(); 4197 } else { 4198 stackFramesBuilder_.addMessage(index, value); 4199 } 4200 return this; 4201 } 4202 /** 4203 * 4204 * 4205 * <pre> 4206 * The stack at breakpoint time, where stack_frames[0] represents the most 4207 * recently entered function. 4208 * </pre> 4209 * 4210 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 4211 */ addStackFrames( com.google.devtools.clouddebugger.v2.StackFrame.Builder builderForValue)4212 public Builder addStackFrames( 4213 com.google.devtools.clouddebugger.v2.StackFrame.Builder builderForValue) { 4214 if (stackFramesBuilder_ == null) { 4215 ensureStackFramesIsMutable(); 4216 stackFrames_.add(builderForValue.build()); 4217 onChanged(); 4218 } else { 4219 stackFramesBuilder_.addMessage(builderForValue.build()); 4220 } 4221 return this; 4222 } 4223 /** 4224 * 4225 * 4226 * <pre> 4227 * The stack at breakpoint time, where stack_frames[0] represents the most 4228 * recently entered function. 4229 * </pre> 4230 * 4231 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 4232 */ addStackFrames( int index, com.google.devtools.clouddebugger.v2.StackFrame.Builder builderForValue)4233 public Builder addStackFrames( 4234 int index, com.google.devtools.clouddebugger.v2.StackFrame.Builder builderForValue) { 4235 if (stackFramesBuilder_ == null) { 4236 ensureStackFramesIsMutable(); 4237 stackFrames_.add(index, builderForValue.build()); 4238 onChanged(); 4239 } else { 4240 stackFramesBuilder_.addMessage(index, builderForValue.build()); 4241 } 4242 return this; 4243 } 4244 /** 4245 * 4246 * 4247 * <pre> 4248 * The stack at breakpoint time, where stack_frames[0] represents the most 4249 * recently entered function. 4250 * </pre> 4251 * 4252 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 4253 */ addAllStackFrames( java.lang.Iterable<? extends com.google.devtools.clouddebugger.v2.StackFrame> values)4254 public Builder addAllStackFrames( 4255 java.lang.Iterable<? extends com.google.devtools.clouddebugger.v2.StackFrame> values) { 4256 if (stackFramesBuilder_ == null) { 4257 ensureStackFramesIsMutable(); 4258 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, stackFrames_); 4259 onChanged(); 4260 } else { 4261 stackFramesBuilder_.addAllMessages(values); 4262 } 4263 return this; 4264 } 4265 /** 4266 * 4267 * 4268 * <pre> 4269 * The stack at breakpoint time, where stack_frames[0] represents the most 4270 * recently entered function. 4271 * </pre> 4272 * 4273 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 4274 */ clearStackFrames()4275 public Builder clearStackFrames() { 4276 if (stackFramesBuilder_ == null) { 4277 stackFrames_ = java.util.Collections.emptyList(); 4278 bitField0_ = (bitField0_ & ~0x00001000); 4279 onChanged(); 4280 } else { 4281 stackFramesBuilder_.clear(); 4282 } 4283 return this; 4284 } 4285 /** 4286 * 4287 * 4288 * <pre> 4289 * The stack at breakpoint time, where stack_frames[0] represents the most 4290 * recently entered function. 4291 * </pre> 4292 * 4293 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 4294 */ removeStackFrames(int index)4295 public Builder removeStackFrames(int index) { 4296 if (stackFramesBuilder_ == null) { 4297 ensureStackFramesIsMutable(); 4298 stackFrames_.remove(index); 4299 onChanged(); 4300 } else { 4301 stackFramesBuilder_.remove(index); 4302 } 4303 return this; 4304 } 4305 /** 4306 * 4307 * 4308 * <pre> 4309 * The stack at breakpoint time, where stack_frames[0] represents the most 4310 * recently entered function. 4311 * </pre> 4312 * 4313 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 4314 */ getStackFramesBuilder( int index)4315 public com.google.devtools.clouddebugger.v2.StackFrame.Builder getStackFramesBuilder( 4316 int index) { 4317 return getStackFramesFieldBuilder().getBuilder(index); 4318 } 4319 /** 4320 * 4321 * 4322 * <pre> 4323 * The stack at breakpoint time, where stack_frames[0] represents the most 4324 * recently entered function. 4325 * </pre> 4326 * 4327 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 4328 */ getStackFramesOrBuilder( int index)4329 public com.google.devtools.clouddebugger.v2.StackFrameOrBuilder getStackFramesOrBuilder( 4330 int index) { 4331 if (stackFramesBuilder_ == null) { 4332 return stackFrames_.get(index); 4333 } else { 4334 return stackFramesBuilder_.getMessageOrBuilder(index); 4335 } 4336 } 4337 /** 4338 * 4339 * 4340 * <pre> 4341 * The stack at breakpoint time, where stack_frames[0] represents the most 4342 * recently entered function. 4343 * </pre> 4344 * 4345 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 4346 */ 4347 public java.util.List<? extends com.google.devtools.clouddebugger.v2.StackFrameOrBuilder> getStackFramesOrBuilderList()4348 getStackFramesOrBuilderList() { 4349 if (stackFramesBuilder_ != null) { 4350 return stackFramesBuilder_.getMessageOrBuilderList(); 4351 } else { 4352 return java.util.Collections.unmodifiableList(stackFrames_); 4353 } 4354 } 4355 /** 4356 * 4357 * 4358 * <pre> 4359 * The stack at breakpoint time, where stack_frames[0] represents the most 4360 * recently entered function. 4361 * </pre> 4362 * 4363 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 4364 */ addStackFramesBuilder()4365 public com.google.devtools.clouddebugger.v2.StackFrame.Builder addStackFramesBuilder() { 4366 return getStackFramesFieldBuilder() 4367 .addBuilder(com.google.devtools.clouddebugger.v2.StackFrame.getDefaultInstance()); 4368 } 4369 /** 4370 * 4371 * 4372 * <pre> 4373 * The stack at breakpoint time, where stack_frames[0] represents the most 4374 * recently entered function. 4375 * </pre> 4376 * 4377 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 4378 */ addStackFramesBuilder( int index)4379 public com.google.devtools.clouddebugger.v2.StackFrame.Builder addStackFramesBuilder( 4380 int index) { 4381 return getStackFramesFieldBuilder() 4382 .addBuilder(index, com.google.devtools.clouddebugger.v2.StackFrame.getDefaultInstance()); 4383 } 4384 /** 4385 * 4386 * 4387 * <pre> 4388 * The stack at breakpoint time, where stack_frames[0] represents the most 4389 * recently entered function. 4390 * </pre> 4391 * 4392 * <code>repeated .google.devtools.clouddebugger.v2.StackFrame stack_frames = 7;</code> 4393 */ 4394 public java.util.List<com.google.devtools.clouddebugger.v2.StackFrame.Builder> getStackFramesBuilderList()4395 getStackFramesBuilderList() { 4396 return getStackFramesFieldBuilder().getBuilderList(); 4397 } 4398 4399 private com.google.protobuf.RepeatedFieldBuilderV3< 4400 com.google.devtools.clouddebugger.v2.StackFrame, 4401 com.google.devtools.clouddebugger.v2.StackFrame.Builder, 4402 com.google.devtools.clouddebugger.v2.StackFrameOrBuilder> getStackFramesFieldBuilder()4403 getStackFramesFieldBuilder() { 4404 if (stackFramesBuilder_ == null) { 4405 stackFramesBuilder_ = 4406 new com.google.protobuf.RepeatedFieldBuilderV3< 4407 com.google.devtools.clouddebugger.v2.StackFrame, 4408 com.google.devtools.clouddebugger.v2.StackFrame.Builder, 4409 com.google.devtools.clouddebugger.v2.StackFrameOrBuilder>( 4410 stackFrames_, ((bitField0_ & 0x00001000) != 0), getParentForChildren(), isClean()); 4411 stackFrames_ = null; 4412 } 4413 return stackFramesBuilder_; 4414 } 4415 4416 private java.util.List<com.google.devtools.clouddebugger.v2.Variable> evaluatedExpressions_ = 4417 java.util.Collections.emptyList(); 4418 ensureEvaluatedExpressionsIsMutable()4419 private void ensureEvaluatedExpressionsIsMutable() { 4420 if (!((bitField0_ & 0x00002000) != 0)) { 4421 evaluatedExpressions_ = 4422 new java.util.ArrayList<com.google.devtools.clouddebugger.v2.Variable>( 4423 evaluatedExpressions_); 4424 bitField0_ |= 0x00002000; 4425 } 4426 } 4427 4428 private com.google.protobuf.RepeatedFieldBuilderV3< 4429 com.google.devtools.clouddebugger.v2.Variable, 4430 com.google.devtools.clouddebugger.v2.Variable.Builder, 4431 com.google.devtools.clouddebugger.v2.VariableOrBuilder> 4432 evaluatedExpressionsBuilder_; 4433 4434 /** 4435 * 4436 * 4437 * <pre> 4438 * Values of evaluated expressions at breakpoint time. 4439 * The evaluated expressions appear in exactly the same order they 4440 * are listed in the `expressions` field. 4441 * The `name` field holds the original expression text, the `value` or 4442 * `members` field holds the result of the evaluated expression. 4443 * If the expression cannot be evaluated, the `status` inside the `Variable` 4444 * will indicate an error and contain the error text. 4445 * </pre> 4446 * 4447 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 4448 */ 4449 public java.util.List<com.google.devtools.clouddebugger.v2.Variable> getEvaluatedExpressionsList()4450 getEvaluatedExpressionsList() { 4451 if (evaluatedExpressionsBuilder_ == null) { 4452 return java.util.Collections.unmodifiableList(evaluatedExpressions_); 4453 } else { 4454 return evaluatedExpressionsBuilder_.getMessageList(); 4455 } 4456 } 4457 /** 4458 * 4459 * 4460 * <pre> 4461 * Values of evaluated expressions at breakpoint time. 4462 * The evaluated expressions appear in exactly the same order they 4463 * are listed in the `expressions` field. 4464 * The `name` field holds the original expression text, the `value` or 4465 * `members` field holds the result of the evaluated expression. 4466 * If the expression cannot be evaluated, the `status` inside the `Variable` 4467 * will indicate an error and contain the error text. 4468 * </pre> 4469 * 4470 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 4471 */ getEvaluatedExpressionsCount()4472 public int getEvaluatedExpressionsCount() { 4473 if (evaluatedExpressionsBuilder_ == null) { 4474 return evaluatedExpressions_.size(); 4475 } else { 4476 return evaluatedExpressionsBuilder_.getCount(); 4477 } 4478 } 4479 /** 4480 * 4481 * 4482 * <pre> 4483 * Values of evaluated expressions at breakpoint time. 4484 * The evaluated expressions appear in exactly the same order they 4485 * are listed in the `expressions` field. 4486 * The `name` field holds the original expression text, the `value` or 4487 * `members` field holds the result of the evaluated expression. 4488 * If the expression cannot be evaluated, the `status` inside the `Variable` 4489 * will indicate an error and contain the error text. 4490 * </pre> 4491 * 4492 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 4493 */ getEvaluatedExpressions(int index)4494 public com.google.devtools.clouddebugger.v2.Variable getEvaluatedExpressions(int index) { 4495 if (evaluatedExpressionsBuilder_ == null) { 4496 return evaluatedExpressions_.get(index); 4497 } else { 4498 return evaluatedExpressionsBuilder_.getMessage(index); 4499 } 4500 } 4501 /** 4502 * 4503 * 4504 * <pre> 4505 * Values of evaluated expressions at breakpoint time. 4506 * The evaluated expressions appear in exactly the same order they 4507 * are listed in the `expressions` field. 4508 * The `name` field holds the original expression text, the `value` or 4509 * `members` field holds the result of the evaluated expression. 4510 * If the expression cannot be evaluated, the `status` inside the `Variable` 4511 * will indicate an error and contain the error text. 4512 * </pre> 4513 * 4514 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 4515 */ setEvaluatedExpressions( int index, com.google.devtools.clouddebugger.v2.Variable value)4516 public Builder setEvaluatedExpressions( 4517 int index, com.google.devtools.clouddebugger.v2.Variable value) { 4518 if (evaluatedExpressionsBuilder_ == null) { 4519 if (value == null) { 4520 throw new NullPointerException(); 4521 } 4522 ensureEvaluatedExpressionsIsMutable(); 4523 evaluatedExpressions_.set(index, value); 4524 onChanged(); 4525 } else { 4526 evaluatedExpressionsBuilder_.setMessage(index, value); 4527 } 4528 return this; 4529 } 4530 /** 4531 * 4532 * 4533 * <pre> 4534 * Values of evaluated expressions at breakpoint time. 4535 * The evaluated expressions appear in exactly the same order they 4536 * are listed in the `expressions` field. 4537 * The `name` field holds the original expression text, the `value` or 4538 * `members` field holds the result of the evaluated expression. 4539 * If the expression cannot be evaluated, the `status` inside the `Variable` 4540 * will indicate an error and contain the error text. 4541 * </pre> 4542 * 4543 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 4544 */ setEvaluatedExpressions( int index, com.google.devtools.clouddebugger.v2.Variable.Builder builderForValue)4545 public Builder setEvaluatedExpressions( 4546 int index, com.google.devtools.clouddebugger.v2.Variable.Builder builderForValue) { 4547 if (evaluatedExpressionsBuilder_ == null) { 4548 ensureEvaluatedExpressionsIsMutable(); 4549 evaluatedExpressions_.set(index, builderForValue.build()); 4550 onChanged(); 4551 } else { 4552 evaluatedExpressionsBuilder_.setMessage(index, builderForValue.build()); 4553 } 4554 return this; 4555 } 4556 /** 4557 * 4558 * 4559 * <pre> 4560 * Values of evaluated expressions at breakpoint time. 4561 * The evaluated expressions appear in exactly the same order they 4562 * are listed in the `expressions` field. 4563 * The `name` field holds the original expression text, the `value` or 4564 * `members` field holds the result of the evaluated expression. 4565 * If the expression cannot be evaluated, the `status` inside the `Variable` 4566 * will indicate an error and contain the error text. 4567 * </pre> 4568 * 4569 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 4570 */ addEvaluatedExpressions(com.google.devtools.clouddebugger.v2.Variable value)4571 public Builder addEvaluatedExpressions(com.google.devtools.clouddebugger.v2.Variable value) { 4572 if (evaluatedExpressionsBuilder_ == null) { 4573 if (value == null) { 4574 throw new NullPointerException(); 4575 } 4576 ensureEvaluatedExpressionsIsMutable(); 4577 evaluatedExpressions_.add(value); 4578 onChanged(); 4579 } else { 4580 evaluatedExpressionsBuilder_.addMessage(value); 4581 } 4582 return this; 4583 } 4584 /** 4585 * 4586 * 4587 * <pre> 4588 * Values of evaluated expressions at breakpoint time. 4589 * The evaluated expressions appear in exactly the same order they 4590 * are listed in the `expressions` field. 4591 * The `name` field holds the original expression text, the `value` or 4592 * `members` field holds the result of the evaluated expression. 4593 * If the expression cannot be evaluated, the `status` inside the `Variable` 4594 * will indicate an error and contain the error text. 4595 * </pre> 4596 * 4597 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 4598 */ addEvaluatedExpressions( int index, com.google.devtools.clouddebugger.v2.Variable value)4599 public Builder addEvaluatedExpressions( 4600 int index, com.google.devtools.clouddebugger.v2.Variable value) { 4601 if (evaluatedExpressionsBuilder_ == null) { 4602 if (value == null) { 4603 throw new NullPointerException(); 4604 } 4605 ensureEvaluatedExpressionsIsMutable(); 4606 evaluatedExpressions_.add(index, value); 4607 onChanged(); 4608 } else { 4609 evaluatedExpressionsBuilder_.addMessage(index, value); 4610 } 4611 return this; 4612 } 4613 /** 4614 * 4615 * 4616 * <pre> 4617 * Values of evaluated expressions at breakpoint time. 4618 * The evaluated expressions appear in exactly the same order they 4619 * are listed in the `expressions` field. 4620 * The `name` field holds the original expression text, the `value` or 4621 * `members` field holds the result of the evaluated expression. 4622 * If the expression cannot be evaluated, the `status` inside the `Variable` 4623 * will indicate an error and contain the error text. 4624 * </pre> 4625 * 4626 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 4627 */ addEvaluatedExpressions( com.google.devtools.clouddebugger.v2.Variable.Builder builderForValue)4628 public Builder addEvaluatedExpressions( 4629 com.google.devtools.clouddebugger.v2.Variable.Builder builderForValue) { 4630 if (evaluatedExpressionsBuilder_ == null) { 4631 ensureEvaluatedExpressionsIsMutable(); 4632 evaluatedExpressions_.add(builderForValue.build()); 4633 onChanged(); 4634 } else { 4635 evaluatedExpressionsBuilder_.addMessage(builderForValue.build()); 4636 } 4637 return this; 4638 } 4639 /** 4640 * 4641 * 4642 * <pre> 4643 * Values of evaluated expressions at breakpoint time. 4644 * The evaluated expressions appear in exactly the same order they 4645 * are listed in the `expressions` field. 4646 * The `name` field holds the original expression text, the `value` or 4647 * `members` field holds the result of the evaluated expression. 4648 * If the expression cannot be evaluated, the `status` inside the `Variable` 4649 * will indicate an error and contain the error text. 4650 * </pre> 4651 * 4652 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 4653 */ addEvaluatedExpressions( int index, com.google.devtools.clouddebugger.v2.Variable.Builder builderForValue)4654 public Builder addEvaluatedExpressions( 4655 int index, com.google.devtools.clouddebugger.v2.Variable.Builder builderForValue) { 4656 if (evaluatedExpressionsBuilder_ == null) { 4657 ensureEvaluatedExpressionsIsMutable(); 4658 evaluatedExpressions_.add(index, builderForValue.build()); 4659 onChanged(); 4660 } else { 4661 evaluatedExpressionsBuilder_.addMessage(index, builderForValue.build()); 4662 } 4663 return this; 4664 } 4665 /** 4666 * 4667 * 4668 * <pre> 4669 * Values of evaluated expressions at breakpoint time. 4670 * The evaluated expressions appear in exactly the same order they 4671 * are listed in the `expressions` field. 4672 * The `name` field holds the original expression text, the `value` or 4673 * `members` field holds the result of the evaluated expression. 4674 * If the expression cannot be evaluated, the `status` inside the `Variable` 4675 * will indicate an error and contain the error text. 4676 * </pre> 4677 * 4678 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 4679 */ addAllEvaluatedExpressions( java.lang.Iterable<? extends com.google.devtools.clouddebugger.v2.Variable> values)4680 public Builder addAllEvaluatedExpressions( 4681 java.lang.Iterable<? extends com.google.devtools.clouddebugger.v2.Variable> values) { 4682 if (evaluatedExpressionsBuilder_ == null) { 4683 ensureEvaluatedExpressionsIsMutable(); 4684 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, evaluatedExpressions_); 4685 onChanged(); 4686 } else { 4687 evaluatedExpressionsBuilder_.addAllMessages(values); 4688 } 4689 return this; 4690 } 4691 /** 4692 * 4693 * 4694 * <pre> 4695 * Values of evaluated expressions at breakpoint time. 4696 * The evaluated expressions appear in exactly the same order they 4697 * are listed in the `expressions` field. 4698 * The `name` field holds the original expression text, the `value` or 4699 * `members` field holds the result of the evaluated expression. 4700 * If the expression cannot be evaluated, the `status` inside the `Variable` 4701 * will indicate an error and contain the error text. 4702 * </pre> 4703 * 4704 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 4705 */ clearEvaluatedExpressions()4706 public Builder clearEvaluatedExpressions() { 4707 if (evaluatedExpressionsBuilder_ == null) { 4708 evaluatedExpressions_ = java.util.Collections.emptyList(); 4709 bitField0_ = (bitField0_ & ~0x00002000); 4710 onChanged(); 4711 } else { 4712 evaluatedExpressionsBuilder_.clear(); 4713 } 4714 return this; 4715 } 4716 /** 4717 * 4718 * 4719 * <pre> 4720 * Values of evaluated expressions at breakpoint time. 4721 * The evaluated expressions appear in exactly the same order they 4722 * are listed in the `expressions` field. 4723 * The `name` field holds the original expression text, the `value` or 4724 * `members` field holds the result of the evaluated expression. 4725 * If the expression cannot be evaluated, the `status` inside the `Variable` 4726 * will indicate an error and contain the error text. 4727 * </pre> 4728 * 4729 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 4730 */ removeEvaluatedExpressions(int index)4731 public Builder removeEvaluatedExpressions(int index) { 4732 if (evaluatedExpressionsBuilder_ == null) { 4733 ensureEvaluatedExpressionsIsMutable(); 4734 evaluatedExpressions_.remove(index); 4735 onChanged(); 4736 } else { 4737 evaluatedExpressionsBuilder_.remove(index); 4738 } 4739 return this; 4740 } 4741 /** 4742 * 4743 * 4744 * <pre> 4745 * Values of evaluated expressions at breakpoint time. 4746 * The evaluated expressions appear in exactly the same order they 4747 * are listed in the `expressions` field. 4748 * The `name` field holds the original expression text, the `value` or 4749 * `members` field holds the result of the evaluated expression. 4750 * If the expression cannot be evaluated, the `status` inside the `Variable` 4751 * will indicate an error and contain the error text. 4752 * </pre> 4753 * 4754 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 4755 */ getEvaluatedExpressionsBuilder( int index)4756 public com.google.devtools.clouddebugger.v2.Variable.Builder getEvaluatedExpressionsBuilder( 4757 int index) { 4758 return getEvaluatedExpressionsFieldBuilder().getBuilder(index); 4759 } 4760 /** 4761 * 4762 * 4763 * <pre> 4764 * Values of evaluated expressions at breakpoint time. 4765 * The evaluated expressions appear in exactly the same order they 4766 * are listed in the `expressions` field. 4767 * The `name` field holds the original expression text, the `value` or 4768 * `members` field holds the result of the evaluated expression. 4769 * If the expression cannot be evaluated, the `status` inside the `Variable` 4770 * will indicate an error and contain the error text. 4771 * </pre> 4772 * 4773 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 4774 */ getEvaluatedExpressionsOrBuilder( int index)4775 public com.google.devtools.clouddebugger.v2.VariableOrBuilder getEvaluatedExpressionsOrBuilder( 4776 int index) { 4777 if (evaluatedExpressionsBuilder_ == null) { 4778 return evaluatedExpressions_.get(index); 4779 } else { 4780 return evaluatedExpressionsBuilder_.getMessageOrBuilder(index); 4781 } 4782 } 4783 /** 4784 * 4785 * 4786 * <pre> 4787 * Values of evaluated expressions at breakpoint time. 4788 * The evaluated expressions appear in exactly the same order they 4789 * are listed in the `expressions` field. 4790 * The `name` field holds the original expression text, the `value` or 4791 * `members` field holds the result of the evaluated expression. 4792 * If the expression cannot be evaluated, the `status` inside the `Variable` 4793 * will indicate an error and contain the error text. 4794 * </pre> 4795 * 4796 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 4797 */ 4798 public java.util.List<? extends com.google.devtools.clouddebugger.v2.VariableOrBuilder> getEvaluatedExpressionsOrBuilderList()4799 getEvaluatedExpressionsOrBuilderList() { 4800 if (evaluatedExpressionsBuilder_ != null) { 4801 return evaluatedExpressionsBuilder_.getMessageOrBuilderList(); 4802 } else { 4803 return java.util.Collections.unmodifiableList(evaluatedExpressions_); 4804 } 4805 } 4806 /** 4807 * 4808 * 4809 * <pre> 4810 * Values of evaluated expressions at breakpoint time. 4811 * The evaluated expressions appear in exactly the same order they 4812 * are listed in the `expressions` field. 4813 * The `name` field holds the original expression text, the `value` or 4814 * `members` field holds the result of the evaluated expression. 4815 * If the expression cannot be evaluated, the `status` inside the `Variable` 4816 * will indicate an error and contain the error text. 4817 * </pre> 4818 * 4819 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 4820 */ addEvaluatedExpressionsBuilder()4821 public com.google.devtools.clouddebugger.v2.Variable.Builder addEvaluatedExpressionsBuilder() { 4822 return getEvaluatedExpressionsFieldBuilder() 4823 .addBuilder(com.google.devtools.clouddebugger.v2.Variable.getDefaultInstance()); 4824 } 4825 /** 4826 * 4827 * 4828 * <pre> 4829 * Values of evaluated expressions at breakpoint time. 4830 * The evaluated expressions appear in exactly the same order they 4831 * are listed in the `expressions` field. 4832 * The `name` field holds the original expression text, the `value` or 4833 * `members` field holds the result of the evaluated expression. 4834 * If the expression cannot be evaluated, the `status` inside the `Variable` 4835 * will indicate an error and contain the error text. 4836 * </pre> 4837 * 4838 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 4839 */ addEvaluatedExpressionsBuilder( int index)4840 public com.google.devtools.clouddebugger.v2.Variable.Builder addEvaluatedExpressionsBuilder( 4841 int index) { 4842 return getEvaluatedExpressionsFieldBuilder() 4843 .addBuilder(index, com.google.devtools.clouddebugger.v2.Variable.getDefaultInstance()); 4844 } 4845 /** 4846 * 4847 * 4848 * <pre> 4849 * Values of evaluated expressions at breakpoint time. 4850 * The evaluated expressions appear in exactly the same order they 4851 * are listed in the `expressions` field. 4852 * The `name` field holds the original expression text, the `value` or 4853 * `members` field holds the result of the evaluated expression. 4854 * If the expression cannot be evaluated, the `status` inside the `Variable` 4855 * will indicate an error and contain the error text. 4856 * </pre> 4857 * 4858 * <code>repeated .google.devtools.clouddebugger.v2.Variable evaluated_expressions = 8;</code> 4859 */ 4860 public java.util.List<com.google.devtools.clouddebugger.v2.Variable.Builder> getEvaluatedExpressionsBuilderList()4861 getEvaluatedExpressionsBuilderList() { 4862 return getEvaluatedExpressionsFieldBuilder().getBuilderList(); 4863 } 4864 4865 private com.google.protobuf.RepeatedFieldBuilderV3< 4866 com.google.devtools.clouddebugger.v2.Variable, 4867 com.google.devtools.clouddebugger.v2.Variable.Builder, 4868 com.google.devtools.clouddebugger.v2.VariableOrBuilder> getEvaluatedExpressionsFieldBuilder()4869 getEvaluatedExpressionsFieldBuilder() { 4870 if (evaluatedExpressionsBuilder_ == null) { 4871 evaluatedExpressionsBuilder_ = 4872 new com.google.protobuf.RepeatedFieldBuilderV3< 4873 com.google.devtools.clouddebugger.v2.Variable, 4874 com.google.devtools.clouddebugger.v2.Variable.Builder, 4875 com.google.devtools.clouddebugger.v2.VariableOrBuilder>( 4876 evaluatedExpressions_, 4877 ((bitField0_ & 0x00002000) != 0), 4878 getParentForChildren(), 4879 isClean()); 4880 evaluatedExpressions_ = null; 4881 } 4882 return evaluatedExpressionsBuilder_; 4883 } 4884 4885 private java.util.List<com.google.devtools.clouddebugger.v2.Variable> variableTable_ = 4886 java.util.Collections.emptyList(); 4887 ensureVariableTableIsMutable()4888 private void ensureVariableTableIsMutable() { 4889 if (!((bitField0_ & 0x00004000) != 0)) { 4890 variableTable_ = 4891 new java.util.ArrayList<com.google.devtools.clouddebugger.v2.Variable>(variableTable_); 4892 bitField0_ |= 0x00004000; 4893 } 4894 } 4895 4896 private com.google.protobuf.RepeatedFieldBuilderV3< 4897 com.google.devtools.clouddebugger.v2.Variable, 4898 com.google.devtools.clouddebugger.v2.Variable.Builder, 4899 com.google.devtools.clouddebugger.v2.VariableOrBuilder> 4900 variableTableBuilder_; 4901 4902 /** 4903 * 4904 * 4905 * <pre> 4906 * The `variable_table` exists to aid with computation, memory and network 4907 * traffic optimization. It enables storing a variable once and reference 4908 * it from multiple variables, including variables stored in the 4909 * `variable_table` itself. 4910 * For example, the same `this` object, which may appear at many levels of 4911 * the stack, can have all of its data stored once in this table. The 4912 * stack frame variables then would hold only a reference to it. 4913 * The variable `var_table_index` field is an index into this repeated field. 4914 * The stored objects are nameless and get their name from the referencing 4915 * variable. The effective variable is a merge of the referencing variable 4916 * and the referenced variable. 4917 * </pre> 4918 * 4919 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 4920 */ getVariableTableList()4921 public java.util.List<com.google.devtools.clouddebugger.v2.Variable> getVariableTableList() { 4922 if (variableTableBuilder_ == null) { 4923 return java.util.Collections.unmodifiableList(variableTable_); 4924 } else { 4925 return variableTableBuilder_.getMessageList(); 4926 } 4927 } 4928 /** 4929 * 4930 * 4931 * <pre> 4932 * The `variable_table` exists to aid with computation, memory and network 4933 * traffic optimization. It enables storing a variable once and reference 4934 * it from multiple variables, including variables stored in the 4935 * `variable_table` itself. 4936 * For example, the same `this` object, which may appear at many levels of 4937 * the stack, can have all of its data stored once in this table. The 4938 * stack frame variables then would hold only a reference to it. 4939 * The variable `var_table_index` field is an index into this repeated field. 4940 * The stored objects are nameless and get their name from the referencing 4941 * variable. The effective variable is a merge of the referencing variable 4942 * and the referenced variable. 4943 * </pre> 4944 * 4945 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 4946 */ getVariableTableCount()4947 public int getVariableTableCount() { 4948 if (variableTableBuilder_ == null) { 4949 return variableTable_.size(); 4950 } else { 4951 return variableTableBuilder_.getCount(); 4952 } 4953 } 4954 /** 4955 * 4956 * 4957 * <pre> 4958 * The `variable_table` exists to aid with computation, memory and network 4959 * traffic optimization. It enables storing a variable once and reference 4960 * it from multiple variables, including variables stored in the 4961 * `variable_table` itself. 4962 * For example, the same `this` object, which may appear at many levels of 4963 * the stack, can have all of its data stored once in this table. The 4964 * stack frame variables then would hold only a reference to it. 4965 * The variable `var_table_index` field is an index into this repeated field. 4966 * The stored objects are nameless and get their name from the referencing 4967 * variable. The effective variable is a merge of the referencing variable 4968 * and the referenced variable. 4969 * </pre> 4970 * 4971 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 4972 */ getVariableTable(int index)4973 public com.google.devtools.clouddebugger.v2.Variable getVariableTable(int index) { 4974 if (variableTableBuilder_ == null) { 4975 return variableTable_.get(index); 4976 } else { 4977 return variableTableBuilder_.getMessage(index); 4978 } 4979 } 4980 /** 4981 * 4982 * 4983 * <pre> 4984 * The `variable_table` exists to aid with computation, memory and network 4985 * traffic optimization. It enables storing a variable once and reference 4986 * it from multiple variables, including variables stored in the 4987 * `variable_table` itself. 4988 * For example, the same `this` object, which may appear at many levels of 4989 * the stack, can have all of its data stored once in this table. The 4990 * stack frame variables then would hold only a reference to it. 4991 * The variable `var_table_index` field is an index into this repeated field. 4992 * The stored objects are nameless and get their name from the referencing 4993 * variable. The effective variable is a merge of the referencing variable 4994 * and the referenced variable. 4995 * </pre> 4996 * 4997 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 4998 */ setVariableTable( int index, com.google.devtools.clouddebugger.v2.Variable value)4999 public Builder setVariableTable( 5000 int index, com.google.devtools.clouddebugger.v2.Variable value) { 5001 if (variableTableBuilder_ == null) { 5002 if (value == null) { 5003 throw new NullPointerException(); 5004 } 5005 ensureVariableTableIsMutable(); 5006 variableTable_.set(index, value); 5007 onChanged(); 5008 } else { 5009 variableTableBuilder_.setMessage(index, value); 5010 } 5011 return this; 5012 } 5013 /** 5014 * 5015 * 5016 * <pre> 5017 * The `variable_table` exists to aid with computation, memory and network 5018 * traffic optimization. It enables storing a variable once and reference 5019 * it from multiple variables, including variables stored in the 5020 * `variable_table` itself. 5021 * For example, the same `this` object, which may appear at many levels of 5022 * the stack, can have all of its data stored once in this table. The 5023 * stack frame variables then would hold only a reference to it. 5024 * The variable `var_table_index` field is an index into this repeated field. 5025 * The stored objects are nameless and get their name from the referencing 5026 * variable. The effective variable is a merge of the referencing variable 5027 * and the referenced variable. 5028 * </pre> 5029 * 5030 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 5031 */ setVariableTable( int index, com.google.devtools.clouddebugger.v2.Variable.Builder builderForValue)5032 public Builder setVariableTable( 5033 int index, com.google.devtools.clouddebugger.v2.Variable.Builder builderForValue) { 5034 if (variableTableBuilder_ == null) { 5035 ensureVariableTableIsMutable(); 5036 variableTable_.set(index, builderForValue.build()); 5037 onChanged(); 5038 } else { 5039 variableTableBuilder_.setMessage(index, builderForValue.build()); 5040 } 5041 return this; 5042 } 5043 /** 5044 * 5045 * 5046 * <pre> 5047 * The `variable_table` exists to aid with computation, memory and network 5048 * traffic optimization. It enables storing a variable once and reference 5049 * it from multiple variables, including variables stored in the 5050 * `variable_table` itself. 5051 * For example, the same `this` object, which may appear at many levels of 5052 * the stack, can have all of its data stored once in this table. The 5053 * stack frame variables then would hold only a reference to it. 5054 * The variable `var_table_index` field is an index into this repeated field. 5055 * The stored objects are nameless and get their name from the referencing 5056 * variable. The effective variable is a merge of the referencing variable 5057 * and the referenced variable. 5058 * </pre> 5059 * 5060 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 5061 */ addVariableTable(com.google.devtools.clouddebugger.v2.Variable value)5062 public Builder addVariableTable(com.google.devtools.clouddebugger.v2.Variable value) { 5063 if (variableTableBuilder_ == null) { 5064 if (value == null) { 5065 throw new NullPointerException(); 5066 } 5067 ensureVariableTableIsMutable(); 5068 variableTable_.add(value); 5069 onChanged(); 5070 } else { 5071 variableTableBuilder_.addMessage(value); 5072 } 5073 return this; 5074 } 5075 /** 5076 * 5077 * 5078 * <pre> 5079 * The `variable_table` exists to aid with computation, memory and network 5080 * traffic optimization. It enables storing a variable once and reference 5081 * it from multiple variables, including variables stored in the 5082 * `variable_table` itself. 5083 * For example, the same `this` object, which may appear at many levels of 5084 * the stack, can have all of its data stored once in this table. The 5085 * stack frame variables then would hold only a reference to it. 5086 * The variable `var_table_index` field is an index into this repeated field. 5087 * The stored objects are nameless and get their name from the referencing 5088 * variable. The effective variable is a merge of the referencing variable 5089 * and the referenced variable. 5090 * </pre> 5091 * 5092 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 5093 */ addVariableTable( int index, com.google.devtools.clouddebugger.v2.Variable value)5094 public Builder addVariableTable( 5095 int index, com.google.devtools.clouddebugger.v2.Variable value) { 5096 if (variableTableBuilder_ == null) { 5097 if (value == null) { 5098 throw new NullPointerException(); 5099 } 5100 ensureVariableTableIsMutable(); 5101 variableTable_.add(index, value); 5102 onChanged(); 5103 } else { 5104 variableTableBuilder_.addMessage(index, value); 5105 } 5106 return this; 5107 } 5108 /** 5109 * 5110 * 5111 * <pre> 5112 * The `variable_table` exists to aid with computation, memory and network 5113 * traffic optimization. It enables storing a variable once and reference 5114 * it from multiple variables, including variables stored in the 5115 * `variable_table` itself. 5116 * For example, the same `this` object, which may appear at many levels of 5117 * the stack, can have all of its data stored once in this table. The 5118 * stack frame variables then would hold only a reference to it. 5119 * The variable `var_table_index` field is an index into this repeated field. 5120 * The stored objects are nameless and get their name from the referencing 5121 * variable. The effective variable is a merge of the referencing variable 5122 * and the referenced variable. 5123 * </pre> 5124 * 5125 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 5126 */ addVariableTable( com.google.devtools.clouddebugger.v2.Variable.Builder builderForValue)5127 public Builder addVariableTable( 5128 com.google.devtools.clouddebugger.v2.Variable.Builder builderForValue) { 5129 if (variableTableBuilder_ == null) { 5130 ensureVariableTableIsMutable(); 5131 variableTable_.add(builderForValue.build()); 5132 onChanged(); 5133 } else { 5134 variableTableBuilder_.addMessage(builderForValue.build()); 5135 } 5136 return this; 5137 } 5138 /** 5139 * 5140 * 5141 * <pre> 5142 * The `variable_table` exists to aid with computation, memory and network 5143 * traffic optimization. It enables storing a variable once and reference 5144 * it from multiple variables, including variables stored in the 5145 * `variable_table` itself. 5146 * For example, the same `this` object, which may appear at many levels of 5147 * the stack, can have all of its data stored once in this table. The 5148 * stack frame variables then would hold only a reference to it. 5149 * The variable `var_table_index` field is an index into this repeated field. 5150 * The stored objects are nameless and get their name from the referencing 5151 * variable. The effective variable is a merge of the referencing variable 5152 * and the referenced variable. 5153 * </pre> 5154 * 5155 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 5156 */ addVariableTable( int index, com.google.devtools.clouddebugger.v2.Variable.Builder builderForValue)5157 public Builder addVariableTable( 5158 int index, com.google.devtools.clouddebugger.v2.Variable.Builder builderForValue) { 5159 if (variableTableBuilder_ == null) { 5160 ensureVariableTableIsMutable(); 5161 variableTable_.add(index, builderForValue.build()); 5162 onChanged(); 5163 } else { 5164 variableTableBuilder_.addMessage(index, builderForValue.build()); 5165 } 5166 return this; 5167 } 5168 /** 5169 * 5170 * 5171 * <pre> 5172 * The `variable_table` exists to aid with computation, memory and network 5173 * traffic optimization. It enables storing a variable once and reference 5174 * it from multiple variables, including variables stored in the 5175 * `variable_table` itself. 5176 * For example, the same `this` object, which may appear at many levels of 5177 * the stack, can have all of its data stored once in this table. The 5178 * stack frame variables then would hold only a reference to it. 5179 * The variable `var_table_index` field is an index into this repeated field. 5180 * The stored objects are nameless and get their name from the referencing 5181 * variable. The effective variable is a merge of the referencing variable 5182 * and the referenced variable. 5183 * </pre> 5184 * 5185 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 5186 */ addAllVariableTable( java.lang.Iterable<? extends com.google.devtools.clouddebugger.v2.Variable> values)5187 public Builder addAllVariableTable( 5188 java.lang.Iterable<? extends com.google.devtools.clouddebugger.v2.Variable> values) { 5189 if (variableTableBuilder_ == null) { 5190 ensureVariableTableIsMutable(); 5191 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, variableTable_); 5192 onChanged(); 5193 } else { 5194 variableTableBuilder_.addAllMessages(values); 5195 } 5196 return this; 5197 } 5198 /** 5199 * 5200 * 5201 * <pre> 5202 * The `variable_table` exists to aid with computation, memory and network 5203 * traffic optimization. It enables storing a variable once and reference 5204 * it from multiple variables, including variables stored in the 5205 * `variable_table` itself. 5206 * For example, the same `this` object, which may appear at many levels of 5207 * the stack, can have all of its data stored once in this table. The 5208 * stack frame variables then would hold only a reference to it. 5209 * The variable `var_table_index` field is an index into this repeated field. 5210 * The stored objects are nameless and get their name from the referencing 5211 * variable. The effective variable is a merge of the referencing variable 5212 * and the referenced variable. 5213 * </pre> 5214 * 5215 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 5216 */ clearVariableTable()5217 public Builder clearVariableTable() { 5218 if (variableTableBuilder_ == null) { 5219 variableTable_ = java.util.Collections.emptyList(); 5220 bitField0_ = (bitField0_ & ~0x00004000); 5221 onChanged(); 5222 } else { 5223 variableTableBuilder_.clear(); 5224 } 5225 return this; 5226 } 5227 /** 5228 * 5229 * 5230 * <pre> 5231 * The `variable_table` exists to aid with computation, memory and network 5232 * traffic optimization. It enables storing a variable once and reference 5233 * it from multiple variables, including variables stored in the 5234 * `variable_table` itself. 5235 * For example, the same `this` object, which may appear at many levels of 5236 * the stack, can have all of its data stored once in this table. The 5237 * stack frame variables then would hold only a reference to it. 5238 * The variable `var_table_index` field is an index into this repeated field. 5239 * The stored objects are nameless and get their name from the referencing 5240 * variable. The effective variable is a merge of the referencing variable 5241 * and the referenced variable. 5242 * </pre> 5243 * 5244 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 5245 */ removeVariableTable(int index)5246 public Builder removeVariableTable(int index) { 5247 if (variableTableBuilder_ == null) { 5248 ensureVariableTableIsMutable(); 5249 variableTable_.remove(index); 5250 onChanged(); 5251 } else { 5252 variableTableBuilder_.remove(index); 5253 } 5254 return this; 5255 } 5256 /** 5257 * 5258 * 5259 * <pre> 5260 * The `variable_table` exists to aid with computation, memory and network 5261 * traffic optimization. It enables storing a variable once and reference 5262 * it from multiple variables, including variables stored in the 5263 * `variable_table` itself. 5264 * For example, the same `this` object, which may appear at many levels of 5265 * the stack, can have all of its data stored once in this table. The 5266 * stack frame variables then would hold only a reference to it. 5267 * The variable `var_table_index` field is an index into this repeated field. 5268 * The stored objects are nameless and get their name from the referencing 5269 * variable. The effective variable is a merge of the referencing variable 5270 * and the referenced variable. 5271 * </pre> 5272 * 5273 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 5274 */ getVariableTableBuilder( int index)5275 public com.google.devtools.clouddebugger.v2.Variable.Builder getVariableTableBuilder( 5276 int index) { 5277 return getVariableTableFieldBuilder().getBuilder(index); 5278 } 5279 /** 5280 * 5281 * 5282 * <pre> 5283 * The `variable_table` exists to aid with computation, memory and network 5284 * traffic optimization. It enables storing a variable once and reference 5285 * it from multiple variables, including variables stored in the 5286 * `variable_table` itself. 5287 * For example, the same `this` object, which may appear at many levels of 5288 * the stack, can have all of its data stored once in this table. The 5289 * stack frame variables then would hold only a reference to it. 5290 * The variable `var_table_index` field is an index into this repeated field. 5291 * The stored objects are nameless and get their name from the referencing 5292 * variable. The effective variable is a merge of the referencing variable 5293 * and the referenced variable. 5294 * </pre> 5295 * 5296 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 5297 */ getVariableTableOrBuilder( int index)5298 public com.google.devtools.clouddebugger.v2.VariableOrBuilder getVariableTableOrBuilder( 5299 int index) { 5300 if (variableTableBuilder_ == null) { 5301 return variableTable_.get(index); 5302 } else { 5303 return variableTableBuilder_.getMessageOrBuilder(index); 5304 } 5305 } 5306 /** 5307 * 5308 * 5309 * <pre> 5310 * The `variable_table` exists to aid with computation, memory and network 5311 * traffic optimization. It enables storing a variable once and reference 5312 * it from multiple variables, including variables stored in the 5313 * `variable_table` itself. 5314 * For example, the same `this` object, which may appear at many levels of 5315 * the stack, can have all of its data stored once in this table. The 5316 * stack frame variables then would hold only a reference to it. 5317 * The variable `var_table_index` field is an index into this repeated field. 5318 * The stored objects are nameless and get their name from the referencing 5319 * variable. The effective variable is a merge of the referencing variable 5320 * and the referenced variable. 5321 * </pre> 5322 * 5323 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 5324 */ 5325 public java.util.List<? extends com.google.devtools.clouddebugger.v2.VariableOrBuilder> getVariableTableOrBuilderList()5326 getVariableTableOrBuilderList() { 5327 if (variableTableBuilder_ != null) { 5328 return variableTableBuilder_.getMessageOrBuilderList(); 5329 } else { 5330 return java.util.Collections.unmodifiableList(variableTable_); 5331 } 5332 } 5333 /** 5334 * 5335 * 5336 * <pre> 5337 * The `variable_table` exists to aid with computation, memory and network 5338 * traffic optimization. It enables storing a variable once and reference 5339 * it from multiple variables, including variables stored in the 5340 * `variable_table` itself. 5341 * For example, the same `this` object, which may appear at many levels of 5342 * the stack, can have all of its data stored once in this table. The 5343 * stack frame variables then would hold only a reference to it. 5344 * The variable `var_table_index` field is an index into this repeated field. 5345 * The stored objects are nameless and get their name from the referencing 5346 * variable. The effective variable is a merge of the referencing variable 5347 * and the referenced variable. 5348 * </pre> 5349 * 5350 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 5351 */ addVariableTableBuilder()5352 public com.google.devtools.clouddebugger.v2.Variable.Builder addVariableTableBuilder() { 5353 return getVariableTableFieldBuilder() 5354 .addBuilder(com.google.devtools.clouddebugger.v2.Variable.getDefaultInstance()); 5355 } 5356 /** 5357 * 5358 * 5359 * <pre> 5360 * The `variable_table` exists to aid with computation, memory and network 5361 * traffic optimization. It enables storing a variable once and reference 5362 * it from multiple variables, including variables stored in the 5363 * `variable_table` itself. 5364 * For example, the same `this` object, which may appear at many levels of 5365 * the stack, can have all of its data stored once in this table. The 5366 * stack frame variables then would hold only a reference to it. 5367 * The variable `var_table_index` field is an index into this repeated field. 5368 * The stored objects are nameless and get their name from the referencing 5369 * variable. The effective variable is a merge of the referencing variable 5370 * and the referenced variable. 5371 * </pre> 5372 * 5373 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 5374 */ addVariableTableBuilder( int index)5375 public com.google.devtools.clouddebugger.v2.Variable.Builder addVariableTableBuilder( 5376 int index) { 5377 return getVariableTableFieldBuilder() 5378 .addBuilder(index, com.google.devtools.clouddebugger.v2.Variable.getDefaultInstance()); 5379 } 5380 /** 5381 * 5382 * 5383 * <pre> 5384 * The `variable_table` exists to aid with computation, memory and network 5385 * traffic optimization. It enables storing a variable once and reference 5386 * it from multiple variables, including variables stored in the 5387 * `variable_table` itself. 5388 * For example, the same `this` object, which may appear at many levels of 5389 * the stack, can have all of its data stored once in this table. The 5390 * stack frame variables then would hold only a reference to it. 5391 * The variable `var_table_index` field is an index into this repeated field. 5392 * The stored objects are nameless and get their name from the referencing 5393 * variable. The effective variable is a merge of the referencing variable 5394 * and the referenced variable. 5395 * </pre> 5396 * 5397 * <code>repeated .google.devtools.clouddebugger.v2.Variable variable_table = 9;</code> 5398 */ 5399 public java.util.List<com.google.devtools.clouddebugger.v2.Variable.Builder> getVariableTableBuilderList()5400 getVariableTableBuilderList() { 5401 return getVariableTableFieldBuilder().getBuilderList(); 5402 } 5403 5404 private com.google.protobuf.RepeatedFieldBuilderV3< 5405 com.google.devtools.clouddebugger.v2.Variable, 5406 com.google.devtools.clouddebugger.v2.Variable.Builder, 5407 com.google.devtools.clouddebugger.v2.VariableOrBuilder> getVariableTableFieldBuilder()5408 getVariableTableFieldBuilder() { 5409 if (variableTableBuilder_ == null) { 5410 variableTableBuilder_ = 5411 new com.google.protobuf.RepeatedFieldBuilderV3< 5412 com.google.devtools.clouddebugger.v2.Variable, 5413 com.google.devtools.clouddebugger.v2.Variable.Builder, 5414 com.google.devtools.clouddebugger.v2.VariableOrBuilder>( 5415 variableTable_, 5416 ((bitField0_ & 0x00004000) != 0), 5417 getParentForChildren(), 5418 isClean()); 5419 variableTable_ = null; 5420 } 5421 return variableTableBuilder_; 5422 } 5423 5424 private com.google.protobuf.MapField<java.lang.String, java.lang.String> labels_; 5425 internalGetLabels()5426 private com.google.protobuf.MapField<java.lang.String, java.lang.String> internalGetLabels() { 5427 if (labels_ == null) { 5428 return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); 5429 } 5430 return labels_; 5431 } 5432 5433 private com.google.protobuf.MapField<java.lang.String, java.lang.String> internalGetMutableLabels()5434 internalGetMutableLabels() { 5435 if (labels_ == null) { 5436 labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); 5437 } 5438 if (!labels_.isMutable()) { 5439 labels_ = labels_.copy(); 5440 } 5441 bitField0_ |= 0x00008000; 5442 onChanged(); 5443 return labels_; 5444 } 5445 getLabelsCount()5446 public int getLabelsCount() { 5447 return internalGetLabels().getMap().size(); 5448 } 5449 /** 5450 * 5451 * 5452 * <pre> 5453 * A set of custom breakpoint properties, populated by the agent, to be 5454 * displayed to the user. 5455 * </pre> 5456 * 5457 * <code>map<string, string> labels = 17;</code> 5458 */ 5459 @java.lang.Override containsLabels(java.lang.String key)5460 public boolean containsLabels(java.lang.String key) { 5461 if (key == null) { 5462 throw new NullPointerException("map key"); 5463 } 5464 return internalGetLabels().getMap().containsKey(key); 5465 } 5466 /** Use {@link #getLabelsMap()} instead. */ 5467 @java.lang.Override 5468 @java.lang.Deprecated getLabels()5469 public java.util.Map<java.lang.String, java.lang.String> getLabels() { 5470 return getLabelsMap(); 5471 } 5472 /** 5473 * 5474 * 5475 * <pre> 5476 * A set of custom breakpoint properties, populated by the agent, to be 5477 * displayed to the user. 5478 * </pre> 5479 * 5480 * <code>map<string, string> labels = 17;</code> 5481 */ 5482 @java.lang.Override getLabelsMap()5483 public java.util.Map<java.lang.String, java.lang.String> getLabelsMap() { 5484 return internalGetLabels().getMap(); 5485 } 5486 /** 5487 * 5488 * 5489 * <pre> 5490 * A set of custom breakpoint properties, populated by the agent, to be 5491 * displayed to the user. 5492 * </pre> 5493 * 5494 * <code>map<string, string> labels = 17;</code> 5495 */ 5496 @java.lang.Override getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue)5497 public /* nullable */ java.lang.String getLabelsOrDefault( 5498 java.lang.String key, 5499 /* nullable */ 5500 java.lang.String defaultValue) { 5501 if (key == null) { 5502 throw new NullPointerException("map key"); 5503 } 5504 java.util.Map<java.lang.String, java.lang.String> map = internalGetLabels().getMap(); 5505 return map.containsKey(key) ? map.get(key) : defaultValue; 5506 } 5507 /** 5508 * 5509 * 5510 * <pre> 5511 * A set of custom breakpoint properties, populated by the agent, to be 5512 * displayed to the user. 5513 * </pre> 5514 * 5515 * <code>map<string, string> labels = 17;</code> 5516 */ 5517 @java.lang.Override getLabelsOrThrow(java.lang.String key)5518 public java.lang.String getLabelsOrThrow(java.lang.String key) { 5519 if (key == null) { 5520 throw new NullPointerException("map key"); 5521 } 5522 java.util.Map<java.lang.String, java.lang.String> map = internalGetLabels().getMap(); 5523 if (!map.containsKey(key)) { 5524 throw new java.lang.IllegalArgumentException(); 5525 } 5526 return map.get(key); 5527 } 5528 clearLabels()5529 public Builder clearLabels() { 5530 bitField0_ = (bitField0_ & ~0x00008000); 5531 internalGetMutableLabels().getMutableMap().clear(); 5532 return this; 5533 } 5534 /** 5535 * 5536 * 5537 * <pre> 5538 * A set of custom breakpoint properties, populated by the agent, to be 5539 * displayed to the user. 5540 * </pre> 5541 * 5542 * <code>map<string, string> labels = 17;</code> 5543 */ removeLabels(java.lang.String key)5544 public Builder removeLabels(java.lang.String key) { 5545 if (key == null) { 5546 throw new NullPointerException("map key"); 5547 } 5548 internalGetMutableLabels().getMutableMap().remove(key); 5549 return this; 5550 } 5551 /** Use alternate mutation accessors instead. */ 5552 @java.lang.Deprecated getMutableLabels()5553 public java.util.Map<java.lang.String, java.lang.String> getMutableLabels() { 5554 bitField0_ |= 0x00008000; 5555 return internalGetMutableLabels().getMutableMap(); 5556 } 5557 /** 5558 * 5559 * 5560 * <pre> 5561 * A set of custom breakpoint properties, populated by the agent, to be 5562 * displayed to the user. 5563 * </pre> 5564 * 5565 * <code>map<string, string> labels = 17;</code> 5566 */ putLabels(java.lang.String key, java.lang.String value)5567 public Builder putLabels(java.lang.String key, java.lang.String value) { 5568 if (key == null) { 5569 throw new NullPointerException("map key"); 5570 } 5571 if (value == null) { 5572 throw new NullPointerException("map value"); 5573 } 5574 internalGetMutableLabels().getMutableMap().put(key, value); 5575 bitField0_ |= 0x00008000; 5576 return this; 5577 } 5578 /** 5579 * 5580 * 5581 * <pre> 5582 * A set of custom breakpoint properties, populated by the agent, to be 5583 * displayed to the user. 5584 * </pre> 5585 * 5586 * <code>map<string, string> labels = 17;</code> 5587 */ putAllLabels(java.util.Map<java.lang.String, java.lang.String> values)5588 public Builder putAllLabels(java.util.Map<java.lang.String, java.lang.String> values) { 5589 internalGetMutableLabels().getMutableMap().putAll(values); 5590 bitField0_ |= 0x00008000; 5591 return this; 5592 } 5593 5594 @java.lang.Override setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)5595 public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { 5596 return super.setUnknownFields(unknownFields); 5597 } 5598 5599 @java.lang.Override mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)5600 public final Builder mergeUnknownFields( 5601 final com.google.protobuf.UnknownFieldSet unknownFields) { 5602 return super.mergeUnknownFields(unknownFields); 5603 } 5604 5605 // @@protoc_insertion_point(builder_scope:google.devtools.clouddebugger.v2.Breakpoint) 5606 } 5607 5608 // @@protoc_insertion_point(class_scope:google.devtools.clouddebugger.v2.Breakpoint) 5609 private static final com.google.devtools.clouddebugger.v2.Breakpoint DEFAULT_INSTANCE; 5610 5611 static { 5612 DEFAULT_INSTANCE = new com.google.devtools.clouddebugger.v2.Breakpoint(); 5613 } 5614 getDefaultInstance()5615 public static com.google.devtools.clouddebugger.v2.Breakpoint getDefaultInstance() { 5616 return DEFAULT_INSTANCE; 5617 } 5618 5619 private static final com.google.protobuf.Parser<Breakpoint> PARSER = 5620 new com.google.protobuf.AbstractParser<Breakpoint>() { 5621 @java.lang.Override 5622 public Breakpoint parsePartialFrom( 5623 com.google.protobuf.CodedInputStream input, 5624 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5625 throws com.google.protobuf.InvalidProtocolBufferException { 5626 Builder builder = newBuilder(); 5627 try { 5628 builder.mergeFrom(input, extensionRegistry); 5629 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 5630 throw e.setUnfinishedMessage(builder.buildPartial()); 5631 } catch (com.google.protobuf.UninitializedMessageException e) { 5632 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); 5633 } catch (java.io.IOException e) { 5634 throw new com.google.protobuf.InvalidProtocolBufferException(e) 5635 .setUnfinishedMessage(builder.buildPartial()); 5636 } 5637 return builder.buildPartial(); 5638 } 5639 }; 5640 parser()5641 public static com.google.protobuf.Parser<Breakpoint> parser() { 5642 return PARSER; 5643 } 5644 5645 @java.lang.Override getParserForType()5646 public com.google.protobuf.Parser<Breakpoint> getParserForType() { 5647 return PARSER; 5648 } 5649 5650 @java.lang.Override getDefaultInstanceForType()5651 public com.google.devtools.clouddebugger.v2.Breakpoint getDefaultInstanceForType() { 5652 return DEFAULT_INSTANCE; 5653 } 5654 } 5655