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/analytics/admin/v1alpha/resources.proto 18 19 package com.google.analytics.admin.v1alpha; 20 21 /** 22 * 23 * 24 * <pre> 25 * A resource message representing a Google Analytics GA4 property. 26 * </pre> 27 * 28 * Protobuf type {@code google.analytics.admin.v1alpha.Property} 29 */ 30 public final class Property extends com.google.protobuf.GeneratedMessageV3 31 implements 32 // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.Property) 33 PropertyOrBuilder { 34 private static final long serialVersionUID = 0L; 35 // Use Property.newBuilder() to construct. Property(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)36 private Property(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 37 super(builder); 38 } 39 Property()40 private Property() { 41 name_ = ""; 42 propertyType_ = 0; 43 parent_ = ""; 44 displayName_ = ""; 45 industryCategory_ = 0; 46 timeZone_ = ""; 47 currencyCode_ = ""; 48 serviceLevel_ = 0; 49 account_ = ""; 50 } 51 52 @java.lang.Override 53 @SuppressWarnings({"unused"}) newInstance(UnusedPrivateParameter unused)54 protected java.lang.Object newInstance(UnusedPrivateParameter unused) { 55 return new Property(); 56 } 57 58 @java.lang.Override getUnknownFields()59 public final com.google.protobuf.UnknownFieldSet getUnknownFields() { 60 return this.unknownFields; 61 } 62 getDescriptor()63 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { 64 return com.google.analytics.admin.v1alpha.ResourcesProto 65 .internal_static_google_analytics_admin_v1alpha_Property_descriptor; 66 } 67 68 @java.lang.Override 69 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()70 internalGetFieldAccessorTable() { 71 return com.google.analytics.admin.v1alpha.ResourcesProto 72 .internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable 73 .ensureFieldAccessorsInitialized( 74 com.google.analytics.admin.v1alpha.Property.class, 75 com.google.analytics.admin.v1alpha.Property.Builder.class); 76 } 77 78 public static final int NAME_FIELD_NUMBER = 1; 79 80 @SuppressWarnings("serial") 81 private volatile java.lang.Object name_ = ""; 82 /** 83 * 84 * 85 * <pre> 86 * Output only. Resource name of this property. 87 * Format: properties/{property_id} 88 * Example: "properties/1000" 89 * </pre> 90 * 91 * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 92 * 93 * @return The name. 94 */ 95 @java.lang.Override getName()96 public java.lang.String getName() { 97 java.lang.Object ref = name_; 98 if (ref instanceof java.lang.String) { 99 return (java.lang.String) ref; 100 } else { 101 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 102 java.lang.String s = bs.toStringUtf8(); 103 name_ = s; 104 return s; 105 } 106 } 107 /** 108 * 109 * 110 * <pre> 111 * Output only. Resource name of this property. 112 * Format: properties/{property_id} 113 * Example: "properties/1000" 114 * </pre> 115 * 116 * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 117 * 118 * @return The bytes for name. 119 */ 120 @java.lang.Override getNameBytes()121 public com.google.protobuf.ByteString getNameBytes() { 122 java.lang.Object ref = name_; 123 if (ref instanceof java.lang.String) { 124 com.google.protobuf.ByteString b = 125 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 126 name_ = b; 127 return b; 128 } else { 129 return (com.google.protobuf.ByteString) ref; 130 } 131 } 132 133 public static final int PROPERTY_TYPE_FIELD_NUMBER = 14; 134 private int propertyType_ = 0; 135 /** 136 * 137 * 138 * <pre> 139 * Immutable. The property type for this Property resource. When creating a 140 * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then 141 * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" 142 * types cannot yet be created with the Google Analytics Admin API. 143 * </pre> 144 * 145 * <code> 146 * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; 147 * </code> 148 * 149 * @return The enum numeric value on the wire for propertyType. 150 */ 151 @java.lang.Override getPropertyTypeValue()152 public int getPropertyTypeValue() { 153 return propertyType_; 154 } 155 /** 156 * 157 * 158 * <pre> 159 * Immutable. The property type for this Property resource. When creating a 160 * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then 161 * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" 162 * types cannot yet be created with the Google Analytics Admin API. 163 * </pre> 164 * 165 * <code> 166 * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; 167 * </code> 168 * 169 * @return The propertyType. 170 */ 171 @java.lang.Override getPropertyType()172 public com.google.analytics.admin.v1alpha.PropertyType getPropertyType() { 173 com.google.analytics.admin.v1alpha.PropertyType result = 174 com.google.analytics.admin.v1alpha.PropertyType.forNumber(propertyType_); 175 return result == null ? com.google.analytics.admin.v1alpha.PropertyType.UNRECOGNIZED : result; 176 } 177 178 public static final int CREATE_TIME_FIELD_NUMBER = 3; 179 private com.google.protobuf.Timestamp createTime_; 180 /** 181 * 182 * 183 * <pre> 184 * Output only. Time when the entity was originally created. 185 * </pre> 186 * 187 * <code>.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 188 * </code> 189 * 190 * @return Whether the createTime field is set. 191 */ 192 @java.lang.Override hasCreateTime()193 public boolean hasCreateTime() { 194 return createTime_ != null; 195 } 196 /** 197 * 198 * 199 * <pre> 200 * Output only. Time when the entity was originally created. 201 * </pre> 202 * 203 * <code>.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 204 * </code> 205 * 206 * @return The createTime. 207 */ 208 @java.lang.Override getCreateTime()209 public com.google.protobuf.Timestamp getCreateTime() { 210 return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; 211 } 212 /** 213 * 214 * 215 * <pre> 216 * Output only. Time when the entity was originally created. 217 * </pre> 218 * 219 * <code>.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 220 * </code> 221 */ 222 @java.lang.Override getCreateTimeOrBuilder()223 public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 224 return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; 225 } 226 227 public static final int UPDATE_TIME_FIELD_NUMBER = 4; 228 private com.google.protobuf.Timestamp updateTime_; 229 /** 230 * 231 * 232 * <pre> 233 * Output only. Time when entity payload fields were last updated. 234 * </pre> 235 * 236 * <code>.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 237 * </code> 238 * 239 * @return Whether the updateTime field is set. 240 */ 241 @java.lang.Override hasUpdateTime()242 public boolean hasUpdateTime() { 243 return updateTime_ != null; 244 } 245 /** 246 * 247 * 248 * <pre> 249 * Output only. Time when entity payload fields were last updated. 250 * </pre> 251 * 252 * <code>.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 253 * </code> 254 * 255 * @return The updateTime. 256 */ 257 @java.lang.Override getUpdateTime()258 public com.google.protobuf.Timestamp getUpdateTime() { 259 return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; 260 } 261 /** 262 * 263 * 264 * <pre> 265 * Output only. Time when entity payload fields were last updated. 266 * </pre> 267 * 268 * <code>.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 269 * </code> 270 */ 271 @java.lang.Override getUpdateTimeOrBuilder()272 public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { 273 return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; 274 } 275 276 public static final int PARENT_FIELD_NUMBER = 2; 277 278 @SuppressWarnings("serial") 279 private volatile java.lang.Object parent_ = ""; 280 /** 281 * 282 * 283 * <pre> 284 * Immutable. Resource name of this property's logical parent. 285 * Note: The Property-Moving UI can be used to change the parent. 286 * Format: accounts/{account}, properties/{property} 287 * Example: "accounts/100", "properties/101" 288 * </pre> 289 * 290 * <code>string parent = 2 [(.google.api.field_behavior) = IMMUTABLE];</code> 291 * 292 * @return The parent. 293 */ 294 @java.lang.Override getParent()295 public java.lang.String getParent() { 296 java.lang.Object ref = parent_; 297 if (ref instanceof java.lang.String) { 298 return (java.lang.String) ref; 299 } else { 300 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 301 java.lang.String s = bs.toStringUtf8(); 302 parent_ = s; 303 return s; 304 } 305 } 306 /** 307 * 308 * 309 * <pre> 310 * Immutable. Resource name of this property's logical parent. 311 * Note: The Property-Moving UI can be used to change the parent. 312 * Format: accounts/{account}, properties/{property} 313 * Example: "accounts/100", "properties/101" 314 * </pre> 315 * 316 * <code>string parent = 2 [(.google.api.field_behavior) = IMMUTABLE];</code> 317 * 318 * @return The bytes for parent. 319 */ 320 @java.lang.Override getParentBytes()321 public com.google.protobuf.ByteString getParentBytes() { 322 java.lang.Object ref = parent_; 323 if (ref instanceof java.lang.String) { 324 com.google.protobuf.ByteString b = 325 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 326 parent_ = b; 327 return b; 328 } else { 329 return (com.google.protobuf.ByteString) ref; 330 } 331 } 332 333 public static final int DISPLAY_NAME_FIELD_NUMBER = 5; 334 335 @SuppressWarnings("serial") 336 private volatile java.lang.Object displayName_ = ""; 337 /** 338 * 339 * 340 * <pre> 341 * Required. Human-readable display name for this property. 342 * The max allowed display name length is 100 UTF-16 code units. 343 * </pre> 344 * 345 * <code>string display_name = 5 [(.google.api.field_behavior) = REQUIRED];</code> 346 * 347 * @return The displayName. 348 */ 349 @java.lang.Override getDisplayName()350 public java.lang.String getDisplayName() { 351 java.lang.Object ref = displayName_; 352 if (ref instanceof java.lang.String) { 353 return (java.lang.String) ref; 354 } else { 355 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 356 java.lang.String s = bs.toStringUtf8(); 357 displayName_ = s; 358 return s; 359 } 360 } 361 /** 362 * 363 * 364 * <pre> 365 * Required. Human-readable display name for this property. 366 * The max allowed display name length is 100 UTF-16 code units. 367 * </pre> 368 * 369 * <code>string display_name = 5 [(.google.api.field_behavior) = REQUIRED];</code> 370 * 371 * @return The bytes for displayName. 372 */ 373 @java.lang.Override getDisplayNameBytes()374 public com.google.protobuf.ByteString getDisplayNameBytes() { 375 java.lang.Object ref = displayName_; 376 if (ref instanceof java.lang.String) { 377 com.google.protobuf.ByteString b = 378 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 379 displayName_ = b; 380 return b; 381 } else { 382 return (com.google.protobuf.ByteString) ref; 383 } 384 } 385 386 public static final int INDUSTRY_CATEGORY_FIELD_NUMBER = 6; 387 private int industryCategory_ = 0; 388 /** 389 * 390 * 391 * <pre> 392 * Industry associated with this property 393 * Example: AUTOMOTIVE, FOOD_AND_DRINK 394 * </pre> 395 * 396 * <code>.google.analytics.admin.v1alpha.IndustryCategory industry_category = 6;</code> 397 * 398 * @return The enum numeric value on the wire for industryCategory. 399 */ 400 @java.lang.Override getIndustryCategoryValue()401 public int getIndustryCategoryValue() { 402 return industryCategory_; 403 } 404 /** 405 * 406 * 407 * <pre> 408 * Industry associated with this property 409 * Example: AUTOMOTIVE, FOOD_AND_DRINK 410 * </pre> 411 * 412 * <code>.google.analytics.admin.v1alpha.IndustryCategory industry_category = 6;</code> 413 * 414 * @return The industryCategory. 415 */ 416 @java.lang.Override getIndustryCategory()417 public com.google.analytics.admin.v1alpha.IndustryCategory getIndustryCategory() { 418 com.google.analytics.admin.v1alpha.IndustryCategory result = 419 com.google.analytics.admin.v1alpha.IndustryCategory.forNumber(industryCategory_); 420 return result == null 421 ? com.google.analytics.admin.v1alpha.IndustryCategory.UNRECOGNIZED 422 : result; 423 } 424 425 public static final int TIME_ZONE_FIELD_NUMBER = 7; 426 427 @SuppressWarnings("serial") 428 private volatile java.lang.Object timeZone_ = ""; 429 /** 430 * 431 * 432 * <pre> 433 * Required. Reporting Time Zone, used as the day boundary for reports, 434 * regardless of where the data originates. If the time zone honors DST, 435 * Analytics will automatically adjust for the changes. 436 * NOTE: Changing the time zone only affects data going forward, and is not 437 * applied retroactively. 438 * Format: https://www.iana.org/time-zones 439 * Example: "America/Los_Angeles" 440 * </pre> 441 * 442 * <code>string time_zone = 7 [(.google.api.field_behavior) = REQUIRED];</code> 443 * 444 * @return The timeZone. 445 */ 446 @java.lang.Override getTimeZone()447 public java.lang.String getTimeZone() { 448 java.lang.Object ref = timeZone_; 449 if (ref instanceof java.lang.String) { 450 return (java.lang.String) ref; 451 } else { 452 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 453 java.lang.String s = bs.toStringUtf8(); 454 timeZone_ = s; 455 return s; 456 } 457 } 458 /** 459 * 460 * 461 * <pre> 462 * Required. Reporting Time Zone, used as the day boundary for reports, 463 * regardless of where the data originates. If the time zone honors DST, 464 * Analytics will automatically adjust for the changes. 465 * NOTE: Changing the time zone only affects data going forward, and is not 466 * applied retroactively. 467 * Format: https://www.iana.org/time-zones 468 * Example: "America/Los_Angeles" 469 * </pre> 470 * 471 * <code>string time_zone = 7 [(.google.api.field_behavior) = REQUIRED];</code> 472 * 473 * @return The bytes for timeZone. 474 */ 475 @java.lang.Override getTimeZoneBytes()476 public com.google.protobuf.ByteString getTimeZoneBytes() { 477 java.lang.Object ref = timeZone_; 478 if (ref instanceof java.lang.String) { 479 com.google.protobuf.ByteString b = 480 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 481 timeZone_ = b; 482 return b; 483 } else { 484 return (com.google.protobuf.ByteString) ref; 485 } 486 } 487 488 public static final int CURRENCY_CODE_FIELD_NUMBER = 8; 489 490 @SuppressWarnings("serial") 491 private volatile java.lang.Object currencyCode_ = ""; 492 /** 493 * 494 * 495 * <pre> 496 * The currency type used in reports involving monetary values. 497 * Format: https://en.wikipedia.org/wiki/ISO_4217 498 * Examples: "USD", "EUR", "JPY" 499 * </pre> 500 * 501 * <code>string currency_code = 8;</code> 502 * 503 * @return The currencyCode. 504 */ 505 @java.lang.Override getCurrencyCode()506 public java.lang.String getCurrencyCode() { 507 java.lang.Object ref = currencyCode_; 508 if (ref instanceof java.lang.String) { 509 return (java.lang.String) ref; 510 } else { 511 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 512 java.lang.String s = bs.toStringUtf8(); 513 currencyCode_ = s; 514 return s; 515 } 516 } 517 /** 518 * 519 * 520 * <pre> 521 * The currency type used in reports involving monetary values. 522 * Format: https://en.wikipedia.org/wiki/ISO_4217 523 * Examples: "USD", "EUR", "JPY" 524 * </pre> 525 * 526 * <code>string currency_code = 8;</code> 527 * 528 * @return The bytes for currencyCode. 529 */ 530 @java.lang.Override getCurrencyCodeBytes()531 public com.google.protobuf.ByteString getCurrencyCodeBytes() { 532 java.lang.Object ref = currencyCode_; 533 if (ref instanceof java.lang.String) { 534 com.google.protobuf.ByteString b = 535 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 536 currencyCode_ = b; 537 return b; 538 } else { 539 return (com.google.protobuf.ByteString) ref; 540 } 541 } 542 543 public static final int SERVICE_LEVEL_FIELD_NUMBER = 10; 544 private int serviceLevel_ = 0; 545 /** 546 * 547 * 548 * <pre> 549 * Output only. The Google Analytics service level that applies to this 550 * property. 551 * </pre> 552 * 553 * <code> 554 * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; 555 * </code> 556 * 557 * @return The enum numeric value on the wire for serviceLevel. 558 */ 559 @java.lang.Override getServiceLevelValue()560 public int getServiceLevelValue() { 561 return serviceLevel_; 562 } 563 /** 564 * 565 * 566 * <pre> 567 * Output only. The Google Analytics service level that applies to this 568 * property. 569 * </pre> 570 * 571 * <code> 572 * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; 573 * </code> 574 * 575 * @return The serviceLevel. 576 */ 577 @java.lang.Override getServiceLevel()578 public com.google.analytics.admin.v1alpha.ServiceLevel getServiceLevel() { 579 com.google.analytics.admin.v1alpha.ServiceLevel result = 580 com.google.analytics.admin.v1alpha.ServiceLevel.forNumber(serviceLevel_); 581 return result == null ? com.google.analytics.admin.v1alpha.ServiceLevel.UNRECOGNIZED : result; 582 } 583 584 public static final int DELETE_TIME_FIELD_NUMBER = 11; 585 private com.google.protobuf.Timestamp deleteTime_; 586 /** 587 * 588 * 589 * <pre> 590 * Output only. If set, the time at which this property was trashed. If not 591 * set, then this property is not currently in the trash can. 592 * </pre> 593 * 594 * <code>.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; 595 * </code> 596 * 597 * @return Whether the deleteTime field is set. 598 */ 599 @java.lang.Override hasDeleteTime()600 public boolean hasDeleteTime() { 601 return deleteTime_ != null; 602 } 603 /** 604 * 605 * 606 * <pre> 607 * Output only. If set, the time at which this property was trashed. If not 608 * set, then this property is not currently in the trash can. 609 * </pre> 610 * 611 * <code>.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; 612 * </code> 613 * 614 * @return The deleteTime. 615 */ 616 @java.lang.Override getDeleteTime()617 public com.google.protobuf.Timestamp getDeleteTime() { 618 return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; 619 } 620 /** 621 * 622 * 623 * <pre> 624 * Output only. If set, the time at which this property was trashed. If not 625 * set, then this property is not currently in the trash can. 626 * </pre> 627 * 628 * <code>.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; 629 * </code> 630 */ 631 @java.lang.Override getDeleteTimeOrBuilder()632 public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { 633 return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; 634 } 635 636 public static final int EXPIRE_TIME_FIELD_NUMBER = 12; 637 private com.google.protobuf.Timestamp expireTime_; 638 /** 639 * 640 * 641 * <pre> 642 * Output only. If set, the time at which this trashed property will be 643 * permanently deleted. If not set, then this property is not currently in the 644 * trash can and is not slated to be deleted. 645 * </pre> 646 * 647 * <code>.google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; 648 * </code> 649 * 650 * @return Whether the expireTime field is set. 651 */ 652 @java.lang.Override hasExpireTime()653 public boolean hasExpireTime() { 654 return expireTime_ != null; 655 } 656 /** 657 * 658 * 659 * <pre> 660 * Output only. If set, the time at which this trashed property will be 661 * permanently deleted. If not set, then this property is not currently in the 662 * trash can and is not slated to be deleted. 663 * </pre> 664 * 665 * <code>.google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; 666 * </code> 667 * 668 * @return The expireTime. 669 */ 670 @java.lang.Override getExpireTime()671 public com.google.protobuf.Timestamp getExpireTime() { 672 return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; 673 } 674 /** 675 * 676 * 677 * <pre> 678 * Output only. If set, the time at which this trashed property will be 679 * permanently deleted. If not set, then this property is not currently in the 680 * trash can and is not slated to be deleted. 681 * </pre> 682 * 683 * <code>.google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; 684 * </code> 685 */ 686 @java.lang.Override getExpireTimeOrBuilder()687 public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { 688 return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; 689 } 690 691 public static final int ACCOUNT_FIELD_NUMBER = 13; 692 693 @SuppressWarnings("serial") 694 private volatile java.lang.Object account_ = ""; 695 /** 696 * 697 * 698 * <pre> 699 * Immutable. The resource name of the parent account 700 * Format: accounts/{account_id} 701 * Example: "accounts/123" 702 * </pre> 703 * 704 * <code> 705 * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } 706 * </code> 707 * 708 * @return The account. 709 */ 710 @java.lang.Override getAccount()711 public java.lang.String getAccount() { 712 java.lang.Object ref = account_; 713 if (ref instanceof java.lang.String) { 714 return (java.lang.String) ref; 715 } else { 716 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 717 java.lang.String s = bs.toStringUtf8(); 718 account_ = s; 719 return s; 720 } 721 } 722 /** 723 * 724 * 725 * <pre> 726 * Immutable. The resource name of the parent account 727 * Format: accounts/{account_id} 728 * Example: "accounts/123" 729 * </pre> 730 * 731 * <code> 732 * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } 733 * </code> 734 * 735 * @return The bytes for account. 736 */ 737 @java.lang.Override getAccountBytes()738 public com.google.protobuf.ByteString getAccountBytes() { 739 java.lang.Object ref = account_; 740 if (ref instanceof java.lang.String) { 741 com.google.protobuf.ByteString b = 742 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 743 account_ = b; 744 return b; 745 } else { 746 return (com.google.protobuf.ByteString) ref; 747 } 748 } 749 750 private byte memoizedIsInitialized = -1; 751 752 @java.lang.Override isInitialized()753 public final boolean isInitialized() { 754 byte isInitialized = memoizedIsInitialized; 755 if (isInitialized == 1) return true; 756 if (isInitialized == 0) return false; 757 758 memoizedIsInitialized = 1; 759 return true; 760 } 761 762 @java.lang.Override writeTo(com.google.protobuf.CodedOutputStream output)763 public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { 764 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { 765 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); 766 } 767 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { 768 com.google.protobuf.GeneratedMessageV3.writeString(output, 2, parent_); 769 } 770 if (createTime_ != null) { 771 output.writeMessage(3, getCreateTime()); 772 } 773 if (updateTime_ != null) { 774 output.writeMessage(4, getUpdateTime()); 775 } 776 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { 777 com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); 778 } 779 if (industryCategory_ 780 != com.google.analytics.admin.v1alpha.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED 781 .getNumber()) { 782 output.writeEnum(6, industryCategory_); 783 } 784 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeZone_)) { 785 com.google.protobuf.GeneratedMessageV3.writeString(output, 7, timeZone_); 786 } 787 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currencyCode_)) { 788 com.google.protobuf.GeneratedMessageV3.writeString(output, 8, currencyCode_); 789 } 790 if (serviceLevel_ 791 != com.google.analytics.admin.v1alpha.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { 792 output.writeEnum(10, serviceLevel_); 793 } 794 if (deleteTime_ != null) { 795 output.writeMessage(11, getDeleteTime()); 796 } 797 if (expireTime_ != null) { 798 output.writeMessage(12, getExpireTime()); 799 } 800 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { 801 com.google.protobuf.GeneratedMessageV3.writeString(output, 13, account_); 802 } 803 if (propertyType_ 804 != com.google.analytics.admin.v1alpha.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { 805 output.writeEnum(14, propertyType_); 806 } 807 getUnknownFields().writeTo(output); 808 } 809 810 @java.lang.Override getSerializedSize()811 public int getSerializedSize() { 812 int size = memoizedSize; 813 if (size != -1) return size; 814 815 size = 0; 816 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { 817 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); 818 } 819 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { 820 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parent_); 821 } 822 if (createTime_ != null) { 823 size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); 824 } 825 if (updateTime_ != null) { 826 size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); 827 } 828 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { 829 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); 830 } 831 if (industryCategory_ 832 != com.google.analytics.admin.v1alpha.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED 833 .getNumber()) { 834 size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, industryCategory_); 835 } 836 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeZone_)) { 837 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, timeZone_); 838 } 839 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currencyCode_)) { 840 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, currencyCode_); 841 } 842 if (serviceLevel_ 843 != com.google.analytics.admin.v1alpha.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { 844 size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, serviceLevel_); 845 } 846 if (deleteTime_ != null) { 847 size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getDeleteTime()); 848 } 849 if (expireTime_ != null) { 850 size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getExpireTime()); 851 } 852 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { 853 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, account_); 854 } 855 if (propertyType_ 856 != com.google.analytics.admin.v1alpha.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { 857 size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, propertyType_); 858 } 859 size += getUnknownFields().getSerializedSize(); 860 memoizedSize = size; 861 return size; 862 } 863 864 @java.lang.Override equals(final java.lang.Object obj)865 public boolean equals(final java.lang.Object obj) { 866 if (obj == this) { 867 return true; 868 } 869 if (!(obj instanceof com.google.analytics.admin.v1alpha.Property)) { 870 return super.equals(obj); 871 } 872 com.google.analytics.admin.v1alpha.Property other = 873 (com.google.analytics.admin.v1alpha.Property) obj; 874 875 if (!getName().equals(other.getName())) return false; 876 if (propertyType_ != other.propertyType_) return false; 877 if (hasCreateTime() != other.hasCreateTime()) return false; 878 if (hasCreateTime()) { 879 if (!getCreateTime().equals(other.getCreateTime())) return false; 880 } 881 if (hasUpdateTime() != other.hasUpdateTime()) return false; 882 if (hasUpdateTime()) { 883 if (!getUpdateTime().equals(other.getUpdateTime())) return false; 884 } 885 if (!getParent().equals(other.getParent())) return false; 886 if (!getDisplayName().equals(other.getDisplayName())) return false; 887 if (industryCategory_ != other.industryCategory_) return false; 888 if (!getTimeZone().equals(other.getTimeZone())) return false; 889 if (!getCurrencyCode().equals(other.getCurrencyCode())) return false; 890 if (serviceLevel_ != other.serviceLevel_) return false; 891 if (hasDeleteTime() != other.hasDeleteTime()) return false; 892 if (hasDeleteTime()) { 893 if (!getDeleteTime().equals(other.getDeleteTime())) return false; 894 } 895 if (hasExpireTime() != other.hasExpireTime()) return false; 896 if (hasExpireTime()) { 897 if (!getExpireTime().equals(other.getExpireTime())) return false; 898 } 899 if (!getAccount().equals(other.getAccount())) return false; 900 if (!getUnknownFields().equals(other.getUnknownFields())) return false; 901 return true; 902 } 903 904 @java.lang.Override hashCode()905 public int hashCode() { 906 if (memoizedHashCode != 0) { 907 return memoizedHashCode; 908 } 909 int hash = 41; 910 hash = (19 * hash) + getDescriptor().hashCode(); 911 hash = (37 * hash) + NAME_FIELD_NUMBER; 912 hash = (53 * hash) + getName().hashCode(); 913 hash = (37 * hash) + PROPERTY_TYPE_FIELD_NUMBER; 914 hash = (53 * hash) + propertyType_; 915 if (hasCreateTime()) { 916 hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; 917 hash = (53 * hash) + getCreateTime().hashCode(); 918 } 919 if (hasUpdateTime()) { 920 hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; 921 hash = (53 * hash) + getUpdateTime().hashCode(); 922 } 923 hash = (37 * hash) + PARENT_FIELD_NUMBER; 924 hash = (53 * hash) + getParent().hashCode(); 925 hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; 926 hash = (53 * hash) + getDisplayName().hashCode(); 927 hash = (37 * hash) + INDUSTRY_CATEGORY_FIELD_NUMBER; 928 hash = (53 * hash) + industryCategory_; 929 hash = (37 * hash) + TIME_ZONE_FIELD_NUMBER; 930 hash = (53 * hash) + getTimeZone().hashCode(); 931 hash = (37 * hash) + CURRENCY_CODE_FIELD_NUMBER; 932 hash = (53 * hash) + getCurrencyCode().hashCode(); 933 hash = (37 * hash) + SERVICE_LEVEL_FIELD_NUMBER; 934 hash = (53 * hash) + serviceLevel_; 935 if (hasDeleteTime()) { 936 hash = (37 * hash) + DELETE_TIME_FIELD_NUMBER; 937 hash = (53 * hash) + getDeleteTime().hashCode(); 938 } 939 if (hasExpireTime()) { 940 hash = (37 * hash) + EXPIRE_TIME_FIELD_NUMBER; 941 hash = (53 * hash) + getExpireTime().hashCode(); 942 } 943 hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; 944 hash = (53 * hash) + getAccount().hashCode(); 945 hash = (29 * hash) + getUnknownFields().hashCode(); 946 memoizedHashCode = hash; 947 return hash; 948 } 949 parseFrom(java.nio.ByteBuffer data)950 public static com.google.analytics.admin.v1alpha.Property parseFrom(java.nio.ByteBuffer data) 951 throws com.google.protobuf.InvalidProtocolBufferException { 952 return PARSER.parseFrom(data); 953 } 954 parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)955 public static com.google.analytics.admin.v1alpha.Property parseFrom( 956 java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 957 throws com.google.protobuf.InvalidProtocolBufferException { 958 return PARSER.parseFrom(data, extensionRegistry); 959 } 960 parseFrom( com.google.protobuf.ByteString data)961 public static com.google.analytics.admin.v1alpha.Property parseFrom( 962 com.google.protobuf.ByteString data) 963 throws com.google.protobuf.InvalidProtocolBufferException { 964 return PARSER.parseFrom(data); 965 } 966 parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)967 public static com.google.analytics.admin.v1alpha.Property parseFrom( 968 com.google.protobuf.ByteString data, 969 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 970 throws com.google.protobuf.InvalidProtocolBufferException { 971 return PARSER.parseFrom(data, extensionRegistry); 972 } 973 parseFrom(byte[] data)974 public static com.google.analytics.admin.v1alpha.Property parseFrom(byte[] data) 975 throws com.google.protobuf.InvalidProtocolBufferException { 976 return PARSER.parseFrom(data); 977 } 978 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)979 public static com.google.analytics.admin.v1alpha.Property parseFrom( 980 byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 981 throws com.google.protobuf.InvalidProtocolBufferException { 982 return PARSER.parseFrom(data, extensionRegistry); 983 } 984 parseFrom(java.io.InputStream input)985 public static com.google.analytics.admin.v1alpha.Property parseFrom(java.io.InputStream input) 986 throws java.io.IOException { 987 return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); 988 } 989 parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)990 public static com.google.analytics.admin.v1alpha.Property parseFrom( 991 java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 992 throws java.io.IOException { 993 return com.google.protobuf.GeneratedMessageV3.parseWithIOException( 994 PARSER, input, extensionRegistry); 995 } 996 parseDelimitedFrom( java.io.InputStream input)997 public static com.google.analytics.admin.v1alpha.Property parseDelimitedFrom( 998 java.io.InputStream input) throws java.io.IOException { 999 return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); 1000 } 1001 parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1002 public static com.google.analytics.admin.v1alpha.Property parseDelimitedFrom( 1003 java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1004 throws java.io.IOException { 1005 return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( 1006 PARSER, input, extensionRegistry); 1007 } 1008 parseFrom( com.google.protobuf.CodedInputStream input)1009 public static com.google.analytics.admin.v1alpha.Property parseFrom( 1010 com.google.protobuf.CodedInputStream input) throws java.io.IOException { 1011 return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); 1012 } 1013 parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1014 public static com.google.analytics.admin.v1alpha.Property parseFrom( 1015 com.google.protobuf.CodedInputStream input, 1016 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1017 throws java.io.IOException { 1018 return com.google.protobuf.GeneratedMessageV3.parseWithIOException( 1019 PARSER, input, extensionRegistry); 1020 } 1021 1022 @java.lang.Override newBuilderForType()1023 public Builder newBuilderForType() { 1024 return newBuilder(); 1025 } 1026 newBuilder()1027 public static Builder newBuilder() { 1028 return DEFAULT_INSTANCE.toBuilder(); 1029 } 1030 newBuilder(com.google.analytics.admin.v1alpha.Property prototype)1031 public static Builder newBuilder(com.google.analytics.admin.v1alpha.Property prototype) { 1032 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 1033 } 1034 1035 @java.lang.Override toBuilder()1036 public Builder toBuilder() { 1037 return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); 1038 } 1039 1040 @java.lang.Override newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)1041 protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 1042 Builder builder = new Builder(parent); 1043 return builder; 1044 } 1045 /** 1046 * 1047 * 1048 * <pre> 1049 * A resource message representing a Google Analytics GA4 property. 1050 * </pre> 1051 * 1052 * Protobuf type {@code google.analytics.admin.v1alpha.Property} 1053 */ 1054 public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> 1055 implements 1056 // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.Property) 1057 com.google.analytics.admin.v1alpha.PropertyOrBuilder { getDescriptor()1058 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { 1059 return com.google.analytics.admin.v1alpha.ResourcesProto 1060 .internal_static_google_analytics_admin_v1alpha_Property_descriptor; 1061 } 1062 1063 @java.lang.Override 1064 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()1065 internalGetFieldAccessorTable() { 1066 return com.google.analytics.admin.v1alpha.ResourcesProto 1067 .internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable 1068 .ensureFieldAccessorsInitialized( 1069 com.google.analytics.admin.v1alpha.Property.class, 1070 com.google.analytics.admin.v1alpha.Property.Builder.class); 1071 } 1072 1073 // Construct using com.google.analytics.admin.v1alpha.Property.newBuilder() Builder()1074 private Builder() {} 1075 Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)1076 private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 1077 super(parent); 1078 } 1079 1080 @java.lang.Override clear()1081 public Builder clear() { 1082 super.clear(); 1083 bitField0_ = 0; 1084 name_ = ""; 1085 propertyType_ = 0; 1086 createTime_ = null; 1087 if (createTimeBuilder_ != null) { 1088 createTimeBuilder_.dispose(); 1089 createTimeBuilder_ = null; 1090 } 1091 updateTime_ = null; 1092 if (updateTimeBuilder_ != null) { 1093 updateTimeBuilder_.dispose(); 1094 updateTimeBuilder_ = null; 1095 } 1096 parent_ = ""; 1097 displayName_ = ""; 1098 industryCategory_ = 0; 1099 timeZone_ = ""; 1100 currencyCode_ = ""; 1101 serviceLevel_ = 0; 1102 deleteTime_ = null; 1103 if (deleteTimeBuilder_ != null) { 1104 deleteTimeBuilder_.dispose(); 1105 deleteTimeBuilder_ = null; 1106 } 1107 expireTime_ = null; 1108 if (expireTimeBuilder_ != null) { 1109 expireTimeBuilder_.dispose(); 1110 expireTimeBuilder_ = null; 1111 } 1112 account_ = ""; 1113 return this; 1114 } 1115 1116 @java.lang.Override getDescriptorForType()1117 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 1118 return com.google.analytics.admin.v1alpha.ResourcesProto 1119 .internal_static_google_analytics_admin_v1alpha_Property_descriptor; 1120 } 1121 1122 @java.lang.Override getDefaultInstanceForType()1123 public com.google.analytics.admin.v1alpha.Property getDefaultInstanceForType() { 1124 return com.google.analytics.admin.v1alpha.Property.getDefaultInstance(); 1125 } 1126 1127 @java.lang.Override build()1128 public com.google.analytics.admin.v1alpha.Property build() { 1129 com.google.analytics.admin.v1alpha.Property result = buildPartial(); 1130 if (!result.isInitialized()) { 1131 throw newUninitializedMessageException(result); 1132 } 1133 return result; 1134 } 1135 1136 @java.lang.Override buildPartial()1137 public com.google.analytics.admin.v1alpha.Property buildPartial() { 1138 com.google.analytics.admin.v1alpha.Property result = 1139 new com.google.analytics.admin.v1alpha.Property(this); 1140 if (bitField0_ != 0) { 1141 buildPartial0(result); 1142 } 1143 onBuilt(); 1144 return result; 1145 } 1146 buildPartial0(com.google.analytics.admin.v1alpha.Property result)1147 private void buildPartial0(com.google.analytics.admin.v1alpha.Property result) { 1148 int from_bitField0_ = bitField0_; 1149 if (((from_bitField0_ & 0x00000001) != 0)) { 1150 result.name_ = name_; 1151 } 1152 if (((from_bitField0_ & 0x00000002) != 0)) { 1153 result.propertyType_ = propertyType_; 1154 } 1155 if (((from_bitField0_ & 0x00000004) != 0)) { 1156 result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); 1157 } 1158 if (((from_bitField0_ & 0x00000008) != 0)) { 1159 result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); 1160 } 1161 if (((from_bitField0_ & 0x00000010) != 0)) { 1162 result.parent_ = parent_; 1163 } 1164 if (((from_bitField0_ & 0x00000020) != 0)) { 1165 result.displayName_ = displayName_; 1166 } 1167 if (((from_bitField0_ & 0x00000040) != 0)) { 1168 result.industryCategory_ = industryCategory_; 1169 } 1170 if (((from_bitField0_ & 0x00000080) != 0)) { 1171 result.timeZone_ = timeZone_; 1172 } 1173 if (((from_bitField0_ & 0x00000100) != 0)) { 1174 result.currencyCode_ = currencyCode_; 1175 } 1176 if (((from_bitField0_ & 0x00000200) != 0)) { 1177 result.serviceLevel_ = serviceLevel_; 1178 } 1179 if (((from_bitField0_ & 0x00000400) != 0)) { 1180 result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build(); 1181 } 1182 if (((from_bitField0_ & 0x00000800) != 0)) { 1183 result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); 1184 } 1185 if (((from_bitField0_ & 0x00001000) != 0)) { 1186 result.account_ = account_; 1187 } 1188 } 1189 1190 @java.lang.Override clone()1191 public Builder clone() { 1192 return super.clone(); 1193 } 1194 1195 @java.lang.Override setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)1196 public Builder setField( 1197 com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 1198 return super.setField(field, value); 1199 } 1200 1201 @java.lang.Override clearField(com.google.protobuf.Descriptors.FieldDescriptor field)1202 public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { 1203 return super.clearField(field); 1204 } 1205 1206 @java.lang.Override clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)1207 public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { 1208 return super.clearOneof(oneof); 1209 } 1210 1211 @java.lang.Override setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)1212 public Builder setRepeatedField( 1213 com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { 1214 return super.setRepeatedField(field, index, value); 1215 } 1216 1217 @java.lang.Override addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)1218 public Builder addRepeatedField( 1219 com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 1220 return super.addRepeatedField(field, value); 1221 } 1222 1223 @java.lang.Override mergeFrom(com.google.protobuf.Message other)1224 public Builder mergeFrom(com.google.protobuf.Message other) { 1225 if (other instanceof com.google.analytics.admin.v1alpha.Property) { 1226 return mergeFrom((com.google.analytics.admin.v1alpha.Property) other); 1227 } else { 1228 super.mergeFrom(other); 1229 return this; 1230 } 1231 } 1232 mergeFrom(com.google.analytics.admin.v1alpha.Property other)1233 public Builder mergeFrom(com.google.analytics.admin.v1alpha.Property other) { 1234 if (other == com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) return this; 1235 if (!other.getName().isEmpty()) { 1236 name_ = other.name_; 1237 bitField0_ |= 0x00000001; 1238 onChanged(); 1239 } 1240 if (other.propertyType_ != 0) { 1241 setPropertyTypeValue(other.getPropertyTypeValue()); 1242 } 1243 if (other.hasCreateTime()) { 1244 mergeCreateTime(other.getCreateTime()); 1245 } 1246 if (other.hasUpdateTime()) { 1247 mergeUpdateTime(other.getUpdateTime()); 1248 } 1249 if (!other.getParent().isEmpty()) { 1250 parent_ = other.parent_; 1251 bitField0_ |= 0x00000010; 1252 onChanged(); 1253 } 1254 if (!other.getDisplayName().isEmpty()) { 1255 displayName_ = other.displayName_; 1256 bitField0_ |= 0x00000020; 1257 onChanged(); 1258 } 1259 if (other.industryCategory_ != 0) { 1260 setIndustryCategoryValue(other.getIndustryCategoryValue()); 1261 } 1262 if (!other.getTimeZone().isEmpty()) { 1263 timeZone_ = other.timeZone_; 1264 bitField0_ |= 0x00000080; 1265 onChanged(); 1266 } 1267 if (!other.getCurrencyCode().isEmpty()) { 1268 currencyCode_ = other.currencyCode_; 1269 bitField0_ |= 0x00000100; 1270 onChanged(); 1271 } 1272 if (other.serviceLevel_ != 0) { 1273 setServiceLevelValue(other.getServiceLevelValue()); 1274 } 1275 if (other.hasDeleteTime()) { 1276 mergeDeleteTime(other.getDeleteTime()); 1277 } 1278 if (other.hasExpireTime()) { 1279 mergeExpireTime(other.getExpireTime()); 1280 } 1281 if (!other.getAccount().isEmpty()) { 1282 account_ = other.account_; 1283 bitField0_ |= 0x00001000; 1284 onChanged(); 1285 } 1286 this.mergeUnknownFields(other.getUnknownFields()); 1287 onChanged(); 1288 return this; 1289 } 1290 1291 @java.lang.Override isInitialized()1292 public final boolean isInitialized() { 1293 return true; 1294 } 1295 1296 @java.lang.Override mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1297 public Builder mergeFrom( 1298 com.google.protobuf.CodedInputStream input, 1299 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1300 throws java.io.IOException { 1301 if (extensionRegistry == null) { 1302 throw new java.lang.NullPointerException(); 1303 } 1304 try { 1305 boolean done = false; 1306 while (!done) { 1307 int tag = input.readTag(); 1308 switch (tag) { 1309 case 0: 1310 done = true; 1311 break; 1312 case 10: 1313 { 1314 name_ = input.readStringRequireUtf8(); 1315 bitField0_ |= 0x00000001; 1316 break; 1317 } // case 10 1318 case 18: 1319 { 1320 parent_ = input.readStringRequireUtf8(); 1321 bitField0_ |= 0x00000010; 1322 break; 1323 } // case 18 1324 case 26: 1325 { 1326 input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); 1327 bitField0_ |= 0x00000004; 1328 break; 1329 } // case 26 1330 case 34: 1331 { 1332 input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); 1333 bitField0_ |= 0x00000008; 1334 break; 1335 } // case 34 1336 case 42: 1337 { 1338 displayName_ = input.readStringRequireUtf8(); 1339 bitField0_ |= 0x00000020; 1340 break; 1341 } // case 42 1342 case 48: 1343 { 1344 industryCategory_ = input.readEnum(); 1345 bitField0_ |= 0x00000040; 1346 break; 1347 } // case 48 1348 case 58: 1349 { 1350 timeZone_ = input.readStringRequireUtf8(); 1351 bitField0_ |= 0x00000080; 1352 break; 1353 } // case 58 1354 case 66: 1355 { 1356 currencyCode_ = input.readStringRequireUtf8(); 1357 bitField0_ |= 0x00000100; 1358 break; 1359 } // case 66 1360 case 80: 1361 { 1362 serviceLevel_ = input.readEnum(); 1363 bitField0_ |= 0x00000200; 1364 break; 1365 } // case 80 1366 case 90: 1367 { 1368 input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry); 1369 bitField0_ |= 0x00000400; 1370 break; 1371 } // case 90 1372 case 98: 1373 { 1374 input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); 1375 bitField0_ |= 0x00000800; 1376 break; 1377 } // case 98 1378 case 106: 1379 { 1380 account_ = input.readStringRequireUtf8(); 1381 bitField0_ |= 0x00001000; 1382 break; 1383 } // case 106 1384 case 112: 1385 { 1386 propertyType_ = input.readEnum(); 1387 bitField0_ |= 0x00000002; 1388 break; 1389 } // case 112 1390 default: 1391 { 1392 if (!super.parseUnknownField(input, extensionRegistry, tag)) { 1393 done = true; // was an endgroup tag 1394 } 1395 break; 1396 } // default: 1397 } // switch (tag) 1398 } // while (!done) 1399 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 1400 throw e.unwrapIOException(); 1401 } finally { 1402 onChanged(); 1403 } // finally 1404 return this; 1405 } 1406 1407 private int bitField0_; 1408 1409 private java.lang.Object name_ = ""; 1410 /** 1411 * 1412 * 1413 * <pre> 1414 * Output only. Resource name of this property. 1415 * Format: properties/{property_id} 1416 * Example: "properties/1000" 1417 * </pre> 1418 * 1419 * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 1420 * 1421 * @return The name. 1422 */ getName()1423 public java.lang.String getName() { 1424 java.lang.Object ref = name_; 1425 if (!(ref instanceof java.lang.String)) { 1426 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 1427 java.lang.String s = bs.toStringUtf8(); 1428 name_ = s; 1429 return s; 1430 } else { 1431 return (java.lang.String) ref; 1432 } 1433 } 1434 /** 1435 * 1436 * 1437 * <pre> 1438 * Output only. Resource name of this property. 1439 * Format: properties/{property_id} 1440 * Example: "properties/1000" 1441 * </pre> 1442 * 1443 * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 1444 * 1445 * @return The bytes for name. 1446 */ getNameBytes()1447 public com.google.protobuf.ByteString getNameBytes() { 1448 java.lang.Object ref = name_; 1449 if (ref instanceof String) { 1450 com.google.protobuf.ByteString b = 1451 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 1452 name_ = b; 1453 return b; 1454 } else { 1455 return (com.google.protobuf.ByteString) ref; 1456 } 1457 } 1458 /** 1459 * 1460 * 1461 * <pre> 1462 * Output only. Resource name of this property. 1463 * Format: properties/{property_id} 1464 * Example: "properties/1000" 1465 * </pre> 1466 * 1467 * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 1468 * 1469 * @param value The name to set. 1470 * @return This builder for chaining. 1471 */ setName(java.lang.String value)1472 public Builder setName(java.lang.String value) { 1473 if (value == null) { 1474 throw new NullPointerException(); 1475 } 1476 name_ = value; 1477 bitField0_ |= 0x00000001; 1478 onChanged(); 1479 return this; 1480 } 1481 /** 1482 * 1483 * 1484 * <pre> 1485 * Output only. Resource name of this property. 1486 * Format: properties/{property_id} 1487 * Example: "properties/1000" 1488 * </pre> 1489 * 1490 * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 1491 * 1492 * @return This builder for chaining. 1493 */ clearName()1494 public Builder clearName() { 1495 name_ = getDefaultInstance().getName(); 1496 bitField0_ = (bitField0_ & ~0x00000001); 1497 onChanged(); 1498 return this; 1499 } 1500 /** 1501 * 1502 * 1503 * <pre> 1504 * Output only. Resource name of this property. 1505 * Format: properties/{property_id} 1506 * Example: "properties/1000" 1507 * </pre> 1508 * 1509 * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 1510 * 1511 * @param value The bytes for name to set. 1512 * @return This builder for chaining. 1513 */ setNameBytes(com.google.protobuf.ByteString value)1514 public Builder setNameBytes(com.google.protobuf.ByteString value) { 1515 if (value == null) { 1516 throw new NullPointerException(); 1517 } 1518 checkByteStringIsUtf8(value); 1519 name_ = value; 1520 bitField0_ |= 0x00000001; 1521 onChanged(); 1522 return this; 1523 } 1524 1525 private int propertyType_ = 0; 1526 /** 1527 * 1528 * 1529 * <pre> 1530 * Immutable. The property type for this Property resource. When creating a 1531 * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then 1532 * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" 1533 * types cannot yet be created with the Google Analytics Admin API. 1534 * </pre> 1535 * 1536 * <code> 1537 * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; 1538 * </code> 1539 * 1540 * @return The enum numeric value on the wire for propertyType. 1541 */ 1542 @java.lang.Override getPropertyTypeValue()1543 public int getPropertyTypeValue() { 1544 return propertyType_; 1545 } 1546 /** 1547 * 1548 * 1549 * <pre> 1550 * Immutable. The property type for this Property resource. When creating a 1551 * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then 1552 * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" 1553 * types cannot yet be created with the Google Analytics Admin API. 1554 * </pre> 1555 * 1556 * <code> 1557 * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; 1558 * </code> 1559 * 1560 * @param value The enum numeric value on the wire for propertyType to set. 1561 * @return This builder for chaining. 1562 */ setPropertyTypeValue(int value)1563 public Builder setPropertyTypeValue(int value) { 1564 propertyType_ = value; 1565 bitField0_ |= 0x00000002; 1566 onChanged(); 1567 return this; 1568 } 1569 /** 1570 * 1571 * 1572 * <pre> 1573 * Immutable. The property type for this Property resource. When creating a 1574 * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then 1575 * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" 1576 * types cannot yet be created with the Google Analytics Admin API. 1577 * </pre> 1578 * 1579 * <code> 1580 * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; 1581 * </code> 1582 * 1583 * @return The propertyType. 1584 */ 1585 @java.lang.Override getPropertyType()1586 public com.google.analytics.admin.v1alpha.PropertyType getPropertyType() { 1587 com.google.analytics.admin.v1alpha.PropertyType result = 1588 com.google.analytics.admin.v1alpha.PropertyType.forNumber(propertyType_); 1589 return result == null ? com.google.analytics.admin.v1alpha.PropertyType.UNRECOGNIZED : result; 1590 } 1591 /** 1592 * 1593 * 1594 * <pre> 1595 * Immutable. The property type for this Property resource. When creating a 1596 * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then 1597 * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" 1598 * types cannot yet be created with the Google Analytics Admin API. 1599 * </pre> 1600 * 1601 * <code> 1602 * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; 1603 * </code> 1604 * 1605 * @param value The propertyType to set. 1606 * @return This builder for chaining. 1607 */ setPropertyType(com.google.analytics.admin.v1alpha.PropertyType value)1608 public Builder setPropertyType(com.google.analytics.admin.v1alpha.PropertyType value) { 1609 if (value == null) { 1610 throw new NullPointerException(); 1611 } 1612 bitField0_ |= 0x00000002; 1613 propertyType_ = value.getNumber(); 1614 onChanged(); 1615 return this; 1616 } 1617 /** 1618 * 1619 * 1620 * <pre> 1621 * Immutable. The property type for this Property resource. When creating a 1622 * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then 1623 * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" 1624 * types cannot yet be created with the Google Analytics Admin API. 1625 * </pre> 1626 * 1627 * <code> 1628 * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; 1629 * </code> 1630 * 1631 * @return This builder for chaining. 1632 */ clearPropertyType()1633 public Builder clearPropertyType() { 1634 bitField0_ = (bitField0_ & ~0x00000002); 1635 propertyType_ = 0; 1636 onChanged(); 1637 return this; 1638 } 1639 1640 private com.google.protobuf.Timestamp createTime_; 1641 private com.google.protobuf.SingleFieldBuilderV3< 1642 com.google.protobuf.Timestamp, 1643 com.google.protobuf.Timestamp.Builder, 1644 com.google.protobuf.TimestampOrBuilder> 1645 createTimeBuilder_; 1646 /** 1647 * 1648 * 1649 * <pre> 1650 * Output only. Time when the entity was originally created. 1651 * </pre> 1652 * 1653 * <code> 1654 * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 1655 * </code> 1656 * 1657 * @return Whether the createTime field is set. 1658 */ hasCreateTime()1659 public boolean hasCreateTime() { 1660 return ((bitField0_ & 0x00000004) != 0); 1661 } 1662 /** 1663 * 1664 * 1665 * <pre> 1666 * Output only. Time when the entity was originally created. 1667 * </pre> 1668 * 1669 * <code> 1670 * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 1671 * </code> 1672 * 1673 * @return The createTime. 1674 */ getCreateTime()1675 public com.google.protobuf.Timestamp getCreateTime() { 1676 if (createTimeBuilder_ == null) { 1677 return createTime_ == null 1678 ? com.google.protobuf.Timestamp.getDefaultInstance() 1679 : createTime_; 1680 } else { 1681 return createTimeBuilder_.getMessage(); 1682 } 1683 } 1684 /** 1685 * 1686 * 1687 * <pre> 1688 * Output only. Time when the entity was originally created. 1689 * </pre> 1690 * 1691 * <code> 1692 * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 1693 * </code> 1694 */ setCreateTime(com.google.protobuf.Timestamp value)1695 public Builder setCreateTime(com.google.protobuf.Timestamp value) { 1696 if (createTimeBuilder_ == null) { 1697 if (value == null) { 1698 throw new NullPointerException(); 1699 } 1700 createTime_ = value; 1701 } else { 1702 createTimeBuilder_.setMessage(value); 1703 } 1704 bitField0_ |= 0x00000004; 1705 onChanged(); 1706 return this; 1707 } 1708 /** 1709 * 1710 * 1711 * <pre> 1712 * Output only. Time when the entity was originally created. 1713 * </pre> 1714 * 1715 * <code> 1716 * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 1717 * </code> 1718 */ setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)1719 public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { 1720 if (createTimeBuilder_ == null) { 1721 createTime_ = builderForValue.build(); 1722 } else { 1723 createTimeBuilder_.setMessage(builderForValue.build()); 1724 } 1725 bitField0_ |= 0x00000004; 1726 onChanged(); 1727 return this; 1728 } 1729 /** 1730 * 1731 * 1732 * <pre> 1733 * Output only. Time when the entity was originally created. 1734 * </pre> 1735 * 1736 * <code> 1737 * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 1738 * </code> 1739 */ mergeCreateTime(com.google.protobuf.Timestamp value)1740 public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { 1741 if (createTimeBuilder_ == null) { 1742 if (((bitField0_ & 0x00000004) != 0) 1743 && createTime_ != null 1744 && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { 1745 getCreateTimeBuilder().mergeFrom(value); 1746 } else { 1747 createTime_ = value; 1748 } 1749 } else { 1750 createTimeBuilder_.mergeFrom(value); 1751 } 1752 bitField0_ |= 0x00000004; 1753 onChanged(); 1754 return this; 1755 } 1756 /** 1757 * 1758 * 1759 * <pre> 1760 * Output only. Time when the entity was originally created. 1761 * </pre> 1762 * 1763 * <code> 1764 * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 1765 * </code> 1766 */ clearCreateTime()1767 public Builder clearCreateTime() { 1768 bitField0_ = (bitField0_ & ~0x00000004); 1769 createTime_ = null; 1770 if (createTimeBuilder_ != null) { 1771 createTimeBuilder_.dispose(); 1772 createTimeBuilder_ = null; 1773 } 1774 onChanged(); 1775 return this; 1776 } 1777 /** 1778 * 1779 * 1780 * <pre> 1781 * Output only. Time when the entity was originally created. 1782 * </pre> 1783 * 1784 * <code> 1785 * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 1786 * </code> 1787 */ getCreateTimeBuilder()1788 public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { 1789 bitField0_ |= 0x00000004; 1790 onChanged(); 1791 return getCreateTimeFieldBuilder().getBuilder(); 1792 } 1793 /** 1794 * 1795 * 1796 * <pre> 1797 * Output only. Time when the entity was originally created. 1798 * </pre> 1799 * 1800 * <code> 1801 * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 1802 * </code> 1803 */ getCreateTimeOrBuilder()1804 public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 1805 if (createTimeBuilder_ != null) { 1806 return createTimeBuilder_.getMessageOrBuilder(); 1807 } else { 1808 return createTime_ == null 1809 ? com.google.protobuf.Timestamp.getDefaultInstance() 1810 : createTime_; 1811 } 1812 } 1813 /** 1814 * 1815 * 1816 * <pre> 1817 * Output only. Time when the entity was originally created. 1818 * </pre> 1819 * 1820 * <code> 1821 * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 1822 * </code> 1823 */ 1824 private com.google.protobuf.SingleFieldBuilderV3< 1825 com.google.protobuf.Timestamp, 1826 com.google.protobuf.Timestamp.Builder, 1827 com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder()1828 getCreateTimeFieldBuilder() { 1829 if (createTimeBuilder_ == null) { 1830 createTimeBuilder_ = 1831 new com.google.protobuf.SingleFieldBuilderV3< 1832 com.google.protobuf.Timestamp, 1833 com.google.protobuf.Timestamp.Builder, 1834 com.google.protobuf.TimestampOrBuilder>( 1835 getCreateTime(), getParentForChildren(), isClean()); 1836 createTime_ = null; 1837 } 1838 return createTimeBuilder_; 1839 } 1840 1841 private com.google.protobuf.Timestamp updateTime_; 1842 private com.google.protobuf.SingleFieldBuilderV3< 1843 com.google.protobuf.Timestamp, 1844 com.google.protobuf.Timestamp.Builder, 1845 com.google.protobuf.TimestampOrBuilder> 1846 updateTimeBuilder_; 1847 /** 1848 * 1849 * 1850 * <pre> 1851 * Output only. Time when entity payload fields were last updated. 1852 * </pre> 1853 * 1854 * <code> 1855 * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 1856 * </code> 1857 * 1858 * @return Whether the updateTime field is set. 1859 */ hasUpdateTime()1860 public boolean hasUpdateTime() { 1861 return ((bitField0_ & 0x00000008) != 0); 1862 } 1863 /** 1864 * 1865 * 1866 * <pre> 1867 * Output only. Time when entity payload fields were last updated. 1868 * </pre> 1869 * 1870 * <code> 1871 * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 1872 * </code> 1873 * 1874 * @return The updateTime. 1875 */ getUpdateTime()1876 public com.google.protobuf.Timestamp getUpdateTime() { 1877 if (updateTimeBuilder_ == null) { 1878 return updateTime_ == null 1879 ? com.google.protobuf.Timestamp.getDefaultInstance() 1880 : updateTime_; 1881 } else { 1882 return updateTimeBuilder_.getMessage(); 1883 } 1884 } 1885 /** 1886 * 1887 * 1888 * <pre> 1889 * Output only. Time when entity payload fields were last updated. 1890 * </pre> 1891 * 1892 * <code> 1893 * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 1894 * </code> 1895 */ setUpdateTime(com.google.protobuf.Timestamp value)1896 public Builder setUpdateTime(com.google.protobuf.Timestamp value) { 1897 if (updateTimeBuilder_ == null) { 1898 if (value == null) { 1899 throw new NullPointerException(); 1900 } 1901 updateTime_ = value; 1902 } else { 1903 updateTimeBuilder_.setMessage(value); 1904 } 1905 bitField0_ |= 0x00000008; 1906 onChanged(); 1907 return this; 1908 } 1909 /** 1910 * 1911 * 1912 * <pre> 1913 * Output only. Time when entity payload fields were last updated. 1914 * </pre> 1915 * 1916 * <code> 1917 * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 1918 * </code> 1919 */ setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)1920 public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { 1921 if (updateTimeBuilder_ == null) { 1922 updateTime_ = builderForValue.build(); 1923 } else { 1924 updateTimeBuilder_.setMessage(builderForValue.build()); 1925 } 1926 bitField0_ |= 0x00000008; 1927 onChanged(); 1928 return this; 1929 } 1930 /** 1931 * 1932 * 1933 * <pre> 1934 * Output only. Time when entity payload fields were last updated. 1935 * </pre> 1936 * 1937 * <code> 1938 * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 1939 * </code> 1940 */ mergeUpdateTime(com.google.protobuf.Timestamp value)1941 public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { 1942 if (updateTimeBuilder_ == null) { 1943 if (((bitField0_ & 0x00000008) != 0) 1944 && updateTime_ != null 1945 && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { 1946 getUpdateTimeBuilder().mergeFrom(value); 1947 } else { 1948 updateTime_ = value; 1949 } 1950 } else { 1951 updateTimeBuilder_.mergeFrom(value); 1952 } 1953 bitField0_ |= 0x00000008; 1954 onChanged(); 1955 return this; 1956 } 1957 /** 1958 * 1959 * 1960 * <pre> 1961 * Output only. Time when entity payload fields were last updated. 1962 * </pre> 1963 * 1964 * <code> 1965 * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 1966 * </code> 1967 */ clearUpdateTime()1968 public Builder clearUpdateTime() { 1969 bitField0_ = (bitField0_ & ~0x00000008); 1970 updateTime_ = null; 1971 if (updateTimeBuilder_ != null) { 1972 updateTimeBuilder_.dispose(); 1973 updateTimeBuilder_ = null; 1974 } 1975 onChanged(); 1976 return this; 1977 } 1978 /** 1979 * 1980 * 1981 * <pre> 1982 * Output only. Time when entity payload fields were last updated. 1983 * </pre> 1984 * 1985 * <code> 1986 * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 1987 * </code> 1988 */ getUpdateTimeBuilder()1989 public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { 1990 bitField0_ |= 0x00000008; 1991 onChanged(); 1992 return getUpdateTimeFieldBuilder().getBuilder(); 1993 } 1994 /** 1995 * 1996 * 1997 * <pre> 1998 * Output only. Time when entity payload fields were last updated. 1999 * </pre> 2000 * 2001 * <code> 2002 * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2003 * </code> 2004 */ getUpdateTimeOrBuilder()2005 public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { 2006 if (updateTimeBuilder_ != null) { 2007 return updateTimeBuilder_.getMessageOrBuilder(); 2008 } else { 2009 return updateTime_ == null 2010 ? com.google.protobuf.Timestamp.getDefaultInstance() 2011 : updateTime_; 2012 } 2013 } 2014 /** 2015 * 2016 * 2017 * <pre> 2018 * Output only. Time when entity payload fields were last updated. 2019 * </pre> 2020 * 2021 * <code> 2022 * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2023 * </code> 2024 */ 2025 private com.google.protobuf.SingleFieldBuilderV3< 2026 com.google.protobuf.Timestamp, 2027 com.google.protobuf.Timestamp.Builder, 2028 com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder()2029 getUpdateTimeFieldBuilder() { 2030 if (updateTimeBuilder_ == null) { 2031 updateTimeBuilder_ = 2032 new com.google.protobuf.SingleFieldBuilderV3< 2033 com.google.protobuf.Timestamp, 2034 com.google.protobuf.Timestamp.Builder, 2035 com.google.protobuf.TimestampOrBuilder>( 2036 getUpdateTime(), getParentForChildren(), isClean()); 2037 updateTime_ = null; 2038 } 2039 return updateTimeBuilder_; 2040 } 2041 2042 private java.lang.Object parent_ = ""; 2043 /** 2044 * 2045 * 2046 * <pre> 2047 * Immutable. Resource name of this property's logical parent. 2048 * Note: The Property-Moving UI can be used to change the parent. 2049 * Format: accounts/{account}, properties/{property} 2050 * Example: "accounts/100", "properties/101" 2051 * </pre> 2052 * 2053 * <code>string parent = 2 [(.google.api.field_behavior) = IMMUTABLE];</code> 2054 * 2055 * @return The parent. 2056 */ getParent()2057 public java.lang.String getParent() { 2058 java.lang.Object ref = parent_; 2059 if (!(ref instanceof java.lang.String)) { 2060 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 2061 java.lang.String s = bs.toStringUtf8(); 2062 parent_ = s; 2063 return s; 2064 } else { 2065 return (java.lang.String) ref; 2066 } 2067 } 2068 /** 2069 * 2070 * 2071 * <pre> 2072 * Immutable. Resource name of this property's logical parent. 2073 * Note: The Property-Moving UI can be used to change the parent. 2074 * Format: accounts/{account}, properties/{property} 2075 * Example: "accounts/100", "properties/101" 2076 * </pre> 2077 * 2078 * <code>string parent = 2 [(.google.api.field_behavior) = IMMUTABLE];</code> 2079 * 2080 * @return The bytes for parent. 2081 */ getParentBytes()2082 public com.google.protobuf.ByteString getParentBytes() { 2083 java.lang.Object ref = parent_; 2084 if (ref instanceof String) { 2085 com.google.protobuf.ByteString b = 2086 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 2087 parent_ = b; 2088 return b; 2089 } else { 2090 return (com.google.protobuf.ByteString) ref; 2091 } 2092 } 2093 /** 2094 * 2095 * 2096 * <pre> 2097 * Immutable. Resource name of this property's logical parent. 2098 * Note: The Property-Moving UI can be used to change the parent. 2099 * Format: accounts/{account}, properties/{property} 2100 * Example: "accounts/100", "properties/101" 2101 * </pre> 2102 * 2103 * <code>string parent = 2 [(.google.api.field_behavior) = IMMUTABLE];</code> 2104 * 2105 * @param value The parent to set. 2106 * @return This builder for chaining. 2107 */ setParent(java.lang.String value)2108 public Builder setParent(java.lang.String value) { 2109 if (value == null) { 2110 throw new NullPointerException(); 2111 } 2112 parent_ = value; 2113 bitField0_ |= 0x00000010; 2114 onChanged(); 2115 return this; 2116 } 2117 /** 2118 * 2119 * 2120 * <pre> 2121 * Immutable. Resource name of this property's logical parent. 2122 * Note: The Property-Moving UI can be used to change the parent. 2123 * Format: accounts/{account}, properties/{property} 2124 * Example: "accounts/100", "properties/101" 2125 * </pre> 2126 * 2127 * <code>string parent = 2 [(.google.api.field_behavior) = IMMUTABLE];</code> 2128 * 2129 * @return This builder for chaining. 2130 */ clearParent()2131 public Builder clearParent() { 2132 parent_ = getDefaultInstance().getParent(); 2133 bitField0_ = (bitField0_ & ~0x00000010); 2134 onChanged(); 2135 return this; 2136 } 2137 /** 2138 * 2139 * 2140 * <pre> 2141 * Immutable. Resource name of this property's logical parent. 2142 * Note: The Property-Moving UI can be used to change the parent. 2143 * Format: accounts/{account}, properties/{property} 2144 * Example: "accounts/100", "properties/101" 2145 * </pre> 2146 * 2147 * <code>string parent = 2 [(.google.api.field_behavior) = IMMUTABLE];</code> 2148 * 2149 * @param value The bytes for parent to set. 2150 * @return This builder for chaining. 2151 */ setParentBytes(com.google.protobuf.ByteString value)2152 public Builder setParentBytes(com.google.protobuf.ByteString value) { 2153 if (value == null) { 2154 throw new NullPointerException(); 2155 } 2156 checkByteStringIsUtf8(value); 2157 parent_ = value; 2158 bitField0_ |= 0x00000010; 2159 onChanged(); 2160 return this; 2161 } 2162 2163 private java.lang.Object displayName_ = ""; 2164 /** 2165 * 2166 * 2167 * <pre> 2168 * Required. Human-readable display name for this property. 2169 * The max allowed display name length is 100 UTF-16 code units. 2170 * </pre> 2171 * 2172 * <code>string display_name = 5 [(.google.api.field_behavior) = REQUIRED];</code> 2173 * 2174 * @return The displayName. 2175 */ getDisplayName()2176 public java.lang.String getDisplayName() { 2177 java.lang.Object ref = displayName_; 2178 if (!(ref instanceof java.lang.String)) { 2179 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 2180 java.lang.String s = bs.toStringUtf8(); 2181 displayName_ = s; 2182 return s; 2183 } else { 2184 return (java.lang.String) ref; 2185 } 2186 } 2187 /** 2188 * 2189 * 2190 * <pre> 2191 * Required. Human-readable display name for this property. 2192 * The max allowed display name length is 100 UTF-16 code units. 2193 * </pre> 2194 * 2195 * <code>string display_name = 5 [(.google.api.field_behavior) = REQUIRED];</code> 2196 * 2197 * @return The bytes for displayName. 2198 */ getDisplayNameBytes()2199 public com.google.protobuf.ByteString getDisplayNameBytes() { 2200 java.lang.Object ref = displayName_; 2201 if (ref instanceof String) { 2202 com.google.protobuf.ByteString b = 2203 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 2204 displayName_ = b; 2205 return b; 2206 } else { 2207 return (com.google.protobuf.ByteString) ref; 2208 } 2209 } 2210 /** 2211 * 2212 * 2213 * <pre> 2214 * Required. Human-readable display name for this property. 2215 * The max allowed display name length is 100 UTF-16 code units. 2216 * </pre> 2217 * 2218 * <code>string display_name = 5 [(.google.api.field_behavior) = REQUIRED];</code> 2219 * 2220 * @param value The displayName to set. 2221 * @return This builder for chaining. 2222 */ setDisplayName(java.lang.String value)2223 public Builder setDisplayName(java.lang.String value) { 2224 if (value == null) { 2225 throw new NullPointerException(); 2226 } 2227 displayName_ = value; 2228 bitField0_ |= 0x00000020; 2229 onChanged(); 2230 return this; 2231 } 2232 /** 2233 * 2234 * 2235 * <pre> 2236 * Required. Human-readable display name for this property. 2237 * The max allowed display name length is 100 UTF-16 code units. 2238 * </pre> 2239 * 2240 * <code>string display_name = 5 [(.google.api.field_behavior) = REQUIRED];</code> 2241 * 2242 * @return This builder for chaining. 2243 */ clearDisplayName()2244 public Builder clearDisplayName() { 2245 displayName_ = getDefaultInstance().getDisplayName(); 2246 bitField0_ = (bitField0_ & ~0x00000020); 2247 onChanged(); 2248 return this; 2249 } 2250 /** 2251 * 2252 * 2253 * <pre> 2254 * Required. Human-readable display name for this property. 2255 * The max allowed display name length is 100 UTF-16 code units. 2256 * </pre> 2257 * 2258 * <code>string display_name = 5 [(.google.api.field_behavior) = REQUIRED];</code> 2259 * 2260 * @param value The bytes for displayName to set. 2261 * @return This builder for chaining. 2262 */ setDisplayNameBytes(com.google.protobuf.ByteString value)2263 public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { 2264 if (value == null) { 2265 throw new NullPointerException(); 2266 } 2267 checkByteStringIsUtf8(value); 2268 displayName_ = value; 2269 bitField0_ |= 0x00000020; 2270 onChanged(); 2271 return this; 2272 } 2273 2274 private int industryCategory_ = 0; 2275 /** 2276 * 2277 * 2278 * <pre> 2279 * Industry associated with this property 2280 * Example: AUTOMOTIVE, FOOD_AND_DRINK 2281 * </pre> 2282 * 2283 * <code>.google.analytics.admin.v1alpha.IndustryCategory industry_category = 6;</code> 2284 * 2285 * @return The enum numeric value on the wire for industryCategory. 2286 */ 2287 @java.lang.Override getIndustryCategoryValue()2288 public int getIndustryCategoryValue() { 2289 return industryCategory_; 2290 } 2291 /** 2292 * 2293 * 2294 * <pre> 2295 * Industry associated with this property 2296 * Example: AUTOMOTIVE, FOOD_AND_DRINK 2297 * </pre> 2298 * 2299 * <code>.google.analytics.admin.v1alpha.IndustryCategory industry_category = 6;</code> 2300 * 2301 * @param value The enum numeric value on the wire for industryCategory to set. 2302 * @return This builder for chaining. 2303 */ setIndustryCategoryValue(int value)2304 public Builder setIndustryCategoryValue(int value) { 2305 industryCategory_ = value; 2306 bitField0_ |= 0x00000040; 2307 onChanged(); 2308 return this; 2309 } 2310 /** 2311 * 2312 * 2313 * <pre> 2314 * Industry associated with this property 2315 * Example: AUTOMOTIVE, FOOD_AND_DRINK 2316 * </pre> 2317 * 2318 * <code>.google.analytics.admin.v1alpha.IndustryCategory industry_category = 6;</code> 2319 * 2320 * @return The industryCategory. 2321 */ 2322 @java.lang.Override getIndustryCategory()2323 public com.google.analytics.admin.v1alpha.IndustryCategory getIndustryCategory() { 2324 com.google.analytics.admin.v1alpha.IndustryCategory result = 2325 com.google.analytics.admin.v1alpha.IndustryCategory.forNumber(industryCategory_); 2326 return result == null 2327 ? com.google.analytics.admin.v1alpha.IndustryCategory.UNRECOGNIZED 2328 : result; 2329 } 2330 /** 2331 * 2332 * 2333 * <pre> 2334 * Industry associated with this property 2335 * Example: AUTOMOTIVE, FOOD_AND_DRINK 2336 * </pre> 2337 * 2338 * <code>.google.analytics.admin.v1alpha.IndustryCategory industry_category = 6;</code> 2339 * 2340 * @param value The industryCategory to set. 2341 * @return This builder for chaining. 2342 */ setIndustryCategory(com.google.analytics.admin.v1alpha.IndustryCategory value)2343 public Builder setIndustryCategory(com.google.analytics.admin.v1alpha.IndustryCategory value) { 2344 if (value == null) { 2345 throw new NullPointerException(); 2346 } 2347 bitField0_ |= 0x00000040; 2348 industryCategory_ = value.getNumber(); 2349 onChanged(); 2350 return this; 2351 } 2352 /** 2353 * 2354 * 2355 * <pre> 2356 * Industry associated with this property 2357 * Example: AUTOMOTIVE, FOOD_AND_DRINK 2358 * </pre> 2359 * 2360 * <code>.google.analytics.admin.v1alpha.IndustryCategory industry_category = 6;</code> 2361 * 2362 * @return This builder for chaining. 2363 */ clearIndustryCategory()2364 public Builder clearIndustryCategory() { 2365 bitField0_ = (bitField0_ & ~0x00000040); 2366 industryCategory_ = 0; 2367 onChanged(); 2368 return this; 2369 } 2370 2371 private java.lang.Object timeZone_ = ""; 2372 /** 2373 * 2374 * 2375 * <pre> 2376 * Required. Reporting Time Zone, used as the day boundary for reports, 2377 * regardless of where the data originates. If the time zone honors DST, 2378 * Analytics will automatically adjust for the changes. 2379 * NOTE: Changing the time zone only affects data going forward, and is not 2380 * applied retroactively. 2381 * Format: https://www.iana.org/time-zones 2382 * Example: "America/Los_Angeles" 2383 * </pre> 2384 * 2385 * <code>string time_zone = 7 [(.google.api.field_behavior) = REQUIRED];</code> 2386 * 2387 * @return The timeZone. 2388 */ getTimeZone()2389 public java.lang.String getTimeZone() { 2390 java.lang.Object ref = timeZone_; 2391 if (!(ref instanceof java.lang.String)) { 2392 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 2393 java.lang.String s = bs.toStringUtf8(); 2394 timeZone_ = s; 2395 return s; 2396 } else { 2397 return (java.lang.String) ref; 2398 } 2399 } 2400 /** 2401 * 2402 * 2403 * <pre> 2404 * Required. Reporting Time Zone, used as the day boundary for reports, 2405 * regardless of where the data originates. If the time zone honors DST, 2406 * Analytics will automatically adjust for the changes. 2407 * NOTE: Changing the time zone only affects data going forward, and is not 2408 * applied retroactively. 2409 * Format: https://www.iana.org/time-zones 2410 * Example: "America/Los_Angeles" 2411 * </pre> 2412 * 2413 * <code>string time_zone = 7 [(.google.api.field_behavior) = REQUIRED];</code> 2414 * 2415 * @return The bytes for timeZone. 2416 */ getTimeZoneBytes()2417 public com.google.protobuf.ByteString getTimeZoneBytes() { 2418 java.lang.Object ref = timeZone_; 2419 if (ref instanceof String) { 2420 com.google.protobuf.ByteString b = 2421 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 2422 timeZone_ = b; 2423 return b; 2424 } else { 2425 return (com.google.protobuf.ByteString) ref; 2426 } 2427 } 2428 /** 2429 * 2430 * 2431 * <pre> 2432 * Required. Reporting Time Zone, used as the day boundary for reports, 2433 * regardless of where the data originates. If the time zone honors DST, 2434 * Analytics will automatically adjust for the changes. 2435 * NOTE: Changing the time zone only affects data going forward, and is not 2436 * applied retroactively. 2437 * Format: https://www.iana.org/time-zones 2438 * Example: "America/Los_Angeles" 2439 * </pre> 2440 * 2441 * <code>string time_zone = 7 [(.google.api.field_behavior) = REQUIRED];</code> 2442 * 2443 * @param value The timeZone to set. 2444 * @return This builder for chaining. 2445 */ setTimeZone(java.lang.String value)2446 public Builder setTimeZone(java.lang.String value) { 2447 if (value == null) { 2448 throw new NullPointerException(); 2449 } 2450 timeZone_ = value; 2451 bitField0_ |= 0x00000080; 2452 onChanged(); 2453 return this; 2454 } 2455 /** 2456 * 2457 * 2458 * <pre> 2459 * Required. Reporting Time Zone, used as the day boundary for reports, 2460 * regardless of where the data originates. If the time zone honors DST, 2461 * Analytics will automatically adjust for the changes. 2462 * NOTE: Changing the time zone only affects data going forward, and is not 2463 * applied retroactively. 2464 * Format: https://www.iana.org/time-zones 2465 * Example: "America/Los_Angeles" 2466 * </pre> 2467 * 2468 * <code>string time_zone = 7 [(.google.api.field_behavior) = REQUIRED];</code> 2469 * 2470 * @return This builder for chaining. 2471 */ clearTimeZone()2472 public Builder clearTimeZone() { 2473 timeZone_ = getDefaultInstance().getTimeZone(); 2474 bitField0_ = (bitField0_ & ~0x00000080); 2475 onChanged(); 2476 return this; 2477 } 2478 /** 2479 * 2480 * 2481 * <pre> 2482 * Required. Reporting Time Zone, used as the day boundary for reports, 2483 * regardless of where the data originates. If the time zone honors DST, 2484 * Analytics will automatically adjust for the changes. 2485 * NOTE: Changing the time zone only affects data going forward, and is not 2486 * applied retroactively. 2487 * Format: https://www.iana.org/time-zones 2488 * Example: "America/Los_Angeles" 2489 * </pre> 2490 * 2491 * <code>string time_zone = 7 [(.google.api.field_behavior) = REQUIRED];</code> 2492 * 2493 * @param value The bytes for timeZone to set. 2494 * @return This builder for chaining. 2495 */ setTimeZoneBytes(com.google.protobuf.ByteString value)2496 public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { 2497 if (value == null) { 2498 throw new NullPointerException(); 2499 } 2500 checkByteStringIsUtf8(value); 2501 timeZone_ = value; 2502 bitField0_ |= 0x00000080; 2503 onChanged(); 2504 return this; 2505 } 2506 2507 private java.lang.Object currencyCode_ = ""; 2508 /** 2509 * 2510 * 2511 * <pre> 2512 * The currency type used in reports involving monetary values. 2513 * Format: https://en.wikipedia.org/wiki/ISO_4217 2514 * Examples: "USD", "EUR", "JPY" 2515 * </pre> 2516 * 2517 * <code>string currency_code = 8;</code> 2518 * 2519 * @return The currencyCode. 2520 */ getCurrencyCode()2521 public java.lang.String getCurrencyCode() { 2522 java.lang.Object ref = currencyCode_; 2523 if (!(ref instanceof java.lang.String)) { 2524 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 2525 java.lang.String s = bs.toStringUtf8(); 2526 currencyCode_ = s; 2527 return s; 2528 } else { 2529 return (java.lang.String) ref; 2530 } 2531 } 2532 /** 2533 * 2534 * 2535 * <pre> 2536 * The currency type used in reports involving monetary values. 2537 * Format: https://en.wikipedia.org/wiki/ISO_4217 2538 * Examples: "USD", "EUR", "JPY" 2539 * </pre> 2540 * 2541 * <code>string currency_code = 8;</code> 2542 * 2543 * @return The bytes for currencyCode. 2544 */ getCurrencyCodeBytes()2545 public com.google.protobuf.ByteString getCurrencyCodeBytes() { 2546 java.lang.Object ref = currencyCode_; 2547 if (ref instanceof String) { 2548 com.google.protobuf.ByteString b = 2549 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 2550 currencyCode_ = b; 2551 return b; 2552 } else { 2553 return (com.google.protobuf.ByteString) ref; 2554 } 2555 } 2556 /** 2557 * 2558 * 2559 * <pre> 2560 * The currency type used in reports involving monetary values. 2561 * Format: https://en.wikipedia.org/wiki/ISO_4217 2562 * Examples: "USD", "EUR", "JPY" 2563 * </pre> 2564 * 2565 * <code>string currency_code = 8;</code> 2566 * 2567 * @param value The currencyCode to set. 2568 * @return This builder for chaining. 2569 */ setCurrencyCode(java.lang.String value)2570 public Builder setCurrencyCode(java.lang.String value) { 2571 if (value == null) { 2572 throw new NullPointerException(); 2573 } 2574 currencyCode_ = value; 2575 bitField0_ |= 0x00000100; 2576 onChanged(); 2577 return this; 2578 } 2579 /** 2580 * 2581 * 2582 * <pre> 2583 * The currency type used in reports involving monetary values. 2584 * Format: https://en.wikipedia.org/wiki/ISO_4217 2585 * Examples: "USD", "EUR", "JPY" 2586 * </pre> 2587 * 2588 * <code>string currency_code = 8;</code> 2589 * 2590 * @return This builder for chaining. 2591 */ clearCurrencyCode()2592 public Builder clearCurrencyCode() { 2593 currencyCode_ = getDefaultInstance().getCurrencyCode(); 2594 bitField0_ = (bitField0_ & ~0x00000100); 2595 onChanged(); 2596 return this; 2597 } 2598 /** 2599 * 2600 * 2601 * <pre> 2602 * The currency type used in reports involving monetary values. 2603 * Format: https://en.wikipedia.org/wiki/ISO_4217 2604 * Examples: "USD", "EUR", "JPY" 2605 * </pre> 2606 * 2607 * <code>string currency_code = 8;</code> 2608 * 2609 * @param value The bytes for currencyCode to set. 2610 * @return This builder for chaining. 2611 */ setCurrencyCodeBytes(com.google.protobuf.ByteString value)2612 public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { 2613 if (value == null) { 2614 throw new NullPointerException(); 2615 } 2616 checkByteStringIsUtf8(value); 2617 currencyCode_ = value; 2618 bitField0_ |= 0x00000100; 2619 onChanged(); 2620 return this; 2621 } 2622 2623 private int serviceLevel_ = 0; 2624 /** 2625 * 2626 * 2627 * <pre> 2628 * Output only. The Google Analytics service level that applies to this 2629 * property. 2630 * </pre> 2631 * 2632 * <code> 2633 * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2634 * </code> 2635 * 2636 * @return The enum numeric value on the wire for serviceLevel. 2637 */ 2638 @java.lang.Override getServiceLevelValue()2639 public int getServiceLevelValue() { 2640 return serviceLevel_; 2641 } 2642 /** 2643 * 2644 * 2645 * <pre> 2646 * Output only. The Google Analytics service level that applies to this 2647 * property. 2648 * </pre> 2649 * 2650 * <code> 2651 * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2652 * </code> 2653 * 2654 * @param value The enum numeric value on the wire for serviceLevel to set. 2655 * @return This builder for chaining. 2656 */ setServiceLevelValue(int value)2657 public Builder setServiceLevelValue(int value) { 2658 serviceLevel_ = value; 2659 bitField0_ |= 0x00000200; 2660 onChanged(); 2661 return this; 2662 } 2663 /** 2664 * 2665 * 2666 * <pre> 2667 * Output only. The Google Analytics service level that applies to this 2668 * property. 2669 * </pre> 2670 * 2671 * <code> 2672 * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2673 * </code> 2674 * 2675 * @return The serviceLevel. 2676 */ 2677 @java.lang.Override getServiceLevel()2678 public com.google.analytics.admin.v1alpha.ServiceLevel getServiceLevel() { 2679 com.google.analytics.admin.v1alpha.ServiceLevel result = 2680 com.google.analytics.admin.v1alpha.ServiceLevel.forNumber(serviceLevel_); 2681 return result == null ? com.google.analytics.admin.v1alpha.ServiceLevel.UNRECOGNIZED : result; 2682 } 2683 /** 2684 * 2685 * 2686 * <pre> 2687 * Output only. The Google Analytics service level that applies to this 2688 * property. 2689 * </pre> 2690 * 2691 * <code> 2692 * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2693 * </code> 2694 * 2695 * @param value The serviceLevel to set. 2696 * @return This builder for chaining. 2697 */ setServiceLevel(com.google.analytics.admin.v1alpha.ServiceLevel value)2698 public Builder setServiceLevel(com.google.analytics.admin.v1alpha.ServiceLevel value) { 2699 if (value == null) { 2700 throw new NullPointerException(); 2701 } 2702 bitField0_ |= 0x00000200; 2703 serviceLevel_ = value.getNumber(); 2704 onChanged(); 2705 return this; 2706 } 2707 /** 2708 * 2709 * 2710 * <pre> 2711 * Output only. The Google Analytics service level that applies to this 2712 * property. 2713 * </pre> 2714 * 2715 * <code> 2716 * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2717 * </code> 2718 * 2719 * @return This builder for chaining. 2720 */ clearServiceLevel()2721 public Builder clearServiceLevel() { 2722 bitField0_ = (bitField0_ & ~0x00000200); 2723 serviceLevel_ = 0; 2724 onChanged(); 2725 return this; 2726 } 2727 2728 private com.google.protobuf.Timestamp deleteTime_; 2729 private com.google.protobuf.SingleFieldBuilderV3< 2730 com.google.protobuf.Timestamp, 2731 com.google.protobuf.Timestamp.Builder, 2732 com.google.protobuf.TimestampOrBuilder> 2733 deleteTimeBuilder_; 2734 /** 2735 * 2736 * 2737 * <pre> 2738 * Output only. If set, the time at which this property was trashed. If not 2739 * set, then this property is not currently in the trash can. 2740 * </pre> 2741 * 2742 * <code> 2743 * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2744 * </code> 2745 * 2746 * @return Whether the deleteTime field is set. 2747 */ hasDeleteTime()2748 public boolean hasDeleteTime() { 2749 return ((bitField0_ & 0x00000400) != 0); 2750 } 2751 /** 2752 * 2753 * 2754 * <pre> 2755 * Output only. If set, the time at which this property was trashed. If not 2756 * set, then this property is not currently in the trash can. 2757 * </pre> 2758 * 2759 * <code> 2760 * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2761 * </code> 2762 * 2763 * @return The deleteTime. 2764 */ getDeleteTime()2765 public com.google.protobuf.Timestamp getDeleteTime() { 2766 if (deleteTimeBuilder_ == null) { 2767 return deleteTime_ == null 2768 ? com.google.protobuf.Timestamp.getDefaultInstance() 2769 : deleteTime_; 2770 } else { 2771 return deleteTimeBuilder_.getMessage(); 2772 } 2773 } 2774 /** 2775 * 2776 * 2777 * <pre> 2778 * Output only. If set, the time at which this property was trashed. If not 2779 * set, then this property is not currently in the trash can. 2780 * </pre> 2781 * 2782 * <code> 2783 * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2784 * </code> 2785 */ setDeleteTime(com.google.protobuf.Timestamp value)2786 public Builder setDeleteTime(com.google.protobuf.Timestamp value) { 2787 if (deleteTimeBuilder_ == null) { 2788 if (value == null) { 2789 throw new NullPointerException(); 2790 } 2791 deleteTime_ = value; 2792 } else { 2793 deleteTimeBuilder_.setMessage(value); 2794 } 2795 bitField0_ |= 0x00000400; 2796 onChanged(); 2797 return this; 2798 } 2799 /** 2800 * 2801 * 2802 * <pre> 2803 * Output only. If set, the time at which this property was trashed. If not 2804 * set, then this property is not currently in the trash can. 2805 * </pre> 2806 * 2807 * <code> 2808 * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2809 * </code> 2810 */ setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)2811 public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { 2812 if (deleteTimeBuilder_ == null) { 2813 deleteTime_ = builderForValue.build(); 2814 } else { 2815 deleteTimeBuilder_.setMessage(builderForValue.build()); 2816 } 2817 bitField0_ |= 0x00000400; 2818 onChanged(); 2819 return this; 2820 } 2821 /** 2822 * 2823 * 2824 * <pre> 2825 * Output only. If set, the time at which this property was trashed. If not 2826 * set, then this property is not currently in the trash can. 2827 * </pre> 2828 * 2829 * <code> 2830 * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2831 * </code> 2832 */ mergeDeleteTime(com.google.protobuf.Timestamp value)2833 public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { 2834 if (deleteTimeBuilder_ == null) { 2835 if (((bitField0_ & 0x00000400) != 0) 2836 && deleteTime_ != null 2837 && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { 2838 getDeleteTimeBuilder().mergeFrom(value); 2839 } else { 2840 deleteTime_ = value; 2841 } 2842 } else { 2843 deleteTimeBuilder_.mergeFrom(value); 2844 } 2845 bitField0_ |= 0x00000400; 2846 onChanged(); 2847 return this; 2848 } 2849 /** 2850 * 2851 * 2852 * <pre> 2853 * Output only. If set, the time at which this property was trashed. If not 2854 * set, then this property is not currently in the trash can. 2855 * </pre> 2856 * 2857 * <code> 2858 * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2859 * </code> 2860 */ clearDeleteTime()2861 public Builder clearDeleteTime() { 2862 bitField0_ = (bitField0_ & ~0x00000400); 2863 deleteTime_ = null; 2864 if (deleteTimeBuilder_ != null) { 2865 deleteTimeBuilder_.dispose(); 2866 deleteTimeBuilder_ = null; 2867 } 2868 onChanged(); 2869 return this; 2870 } 2871 /** 2872 * 2873 * 2874 * <pre> 2875 * Output only. If set, the time at which this property was trashed. If not 2876 * set, then this property is not currently in the trash can. 2877 * </pre> 2878 * 2879 * <code> 2880 * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2881 * </code> 2882 */ getDeleteTimeBuilder()2883 public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { 2884 bitField0_ |= 0x00000400; 2885 onChanged(); 2886 return getDeleteTimeFieldBuilder().getBuilder(); 2887 } 2888 /** 2889 * 2890 * 2891 * <pre> 2892 * Output only. If set, the time at which this property was trashed. If not 2893 * set, then this property is not currently in the trash can. 2894 * </pre> 2895 * 2896 * <code> 2897 * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2898 * </code> 2899 */ getDeleteTimeOrBuilder()2900 public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { 2901 if (deleteTimeBuilder_ != null) { 2902 return deleteTimeBuilder_.getMessageOrBuilder(); 2903 } else { 2904 return deleteTime_ == null 2905 ? com.google.protobuf.Timestamp.getDefaultInstance() 2906 : deleteTime_; 2907 } 2908 } 2909 /** 2910 * 2911 * 2912 * <pre> 2913 * Output only. If set, the time at which this property was trashed. If not 2914 * set, then this property is not currently in the trash can. 2915 * </pre> 2916 * 2917 * <code> 2918 * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2919 * </code> 2920 */ 2921 private com.google.protobuf.SingleFieldBuilderV3< 2922 com.google.protobuf.Timestamp, 2923 com.google.protobuf.Timestamp.Builder, 2924 com.google.protobuf.TimestampOrBuilder> getDeleteTimeFieldBuilder()2925 getDeleteTimeFieldBuilder() { 2926 if (deleteTimeBuilder_ == null) { 2927 deleteTimeBuilder_ = 2928 new com.google.protobuf.SingleFieldBuilderV3< 2929 com.google.protobuf.Timestamp, 2930 com.google.protobuf.Timestamp.Builder, 2931 com.google.protobuf.TimestampOrBuilder>( 2932 getDeleteTime(), getParentForChildren(), isClean()); 2933 deleteTime_ = null; 2934 } 2935 return deleteTimeBuilder_; 2936 } 2937 2938 private com.google.protobuf.Timestamp expireTime_; 2939 private com.google.protobuf.SingleFieldBuilderV3< 2940 com.google.protobuf.Timestamp, 2941 com.google.protobuf.Timestamp.Builder, 2942 com.google.protobuf.TimestampOrBuilder> 2943 expireTimeBuilder_; 2944 /** 2945 * 2946 * 2947 * <pre> 2948 * Output only. If set, the time at which this trashed property will be 2949 * permanently deleted. If not set, then this property is not currently in the 2950 * trash can and is not slated to be deleted. 2951 * </pre> 2952 * 2953 * <code> 2954 * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2955 * </code> 2956 * 2957 * @return Whether the expireTime field is set. 2958 */ hasExpireTime()2959 public boolean hasExpireTime() { 2960 return ((bitField0_ & 0x00000800) != 0); 2961 } 2962 /** 2963 * 2964 * 2965 * <pre> 2966 * Output only. If set, the time at which this trashed property will be 2967 * permanently deleted. If not set, then this property is not currently in the 2968 * trash can and is not slated to be deleted. 2969 * </pre> 2970 * 2971 * <code> 2972 * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2973 * </code> 2974 * 2975 * @return The expireTime. 2976 */ getExpireTime()2977 public com.google.protobuf.Timestamp getExpireTime() { 2978 if (expireTimeBuilder_ == null) { 2979 return expireTime_ == null 2980 ? com.google.protobuf.Timestamp.getDefaultInstance() 2981 : expireTime_; 2982 } else { 2983 return expireTimeBuilder_.getMessage(); 2984 } 2985 } 2986 /** 2987 * 2988 * 2989 * <pre> 2990 * Output only. If set, the time at which this trashed property will be 2991 * permanently deleted. If not set, then this property is not currently in the 2992 * trash can and is not slated to be deleted. 2993 * </pre> 2994 * 2995 * <code> 2996 * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; 2997 * </code> 2998 */ setExpireTime(com.google.protobuf.Timestamp value)2999 public Builder setExpireTime(com.google.protobuf.Timestamp value) { 3000 if (expireTimeBuilder_ == null) { 3001 if (value == null) { 3002 throw new NullPointerException(); 3003 } 3004 expireTime_ = value; 3005 } else { 3006 expireTimeBuilder_.setMessage(value); 3007 } 3008 bitField0_ |= 0x00000800; 3009 onChanged(); 3010 return this; 3011 } 3012 /** 3013 * 3014 * 3015 * <pre> 3016 * Output only. If set, the time at which this trashed property will be 3017 * permanently deleted. If not set, then this property is not currently in the 3018 * trash can and is not slated to be deleted. 3019 * </pre> 3020 * 3021 * <code> 3022 * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; 3023 * </code> 3024 */ setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)3025 public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { 3026 if (expireTimeBuilder_ == null) { 3027 expireTime_ = builderForValue.build(); 3028 } else { 3029 expireTimeBuilder_.setMessage(builderForValue.build()); 3030 } 3031 bitField0_ |= 0x00000800; 3032 onChanged(); 3033 return this; 3034 } 3035 /** 3036 * 3037 * 3038 * <pre> 3039 * Output only. If set, the time at which this trashed property will be 3040 * permanently deleted. If not set, then this property is not currently in the 3041 * trash can and is not slated to be deleted. 3042 * </pre> 3043 * 3044 * <code> 3045 * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; 3046 * </code> 3047 */ mergeExpireTime(com.google.protobuf.Timestamp value)3048 public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { 3049 if (expireTimeBuilder_ == null) { 3050 if (((bitField0_ & 0x00000800) != 0) 3051 && expireTime_ != null 3052 && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { 3053 getExpireTimeBuilder().mergeFrom(value); 3054 } else { 3055 expireTime_ = value; 3056 } 3057 } else { 3058 expireTimeBuilder_.mergeFrom(value); 3059 } 3060 bitField0_ |= 0x00000800; 3061 onChanged(); 3062 return this; 3063 } 3064 /** 3065 * 3066 * 3067 * <pre> 3068 * Output only. If set, the time at which this trashed property will be 3069 * permanently deleted. If not set, then this property is not currently in the 3070 * trash can and is not slated to be deleted. 3071 * </pre> 3072 * 3073 * <code> 3074 * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; 3075 * </code> 3076 */ clearExpireTime()3077 public Builder clearExpireTime() { 3078 bitField0_ = (bitField0_ & ~0x00000800); 3079 expireTime_ = null; 3080 if (expireTimeBuilder_ != null) { 3081 expireTimeBuilder_.dispose(); 3082 expireTimeBuilder_ = null; 3083 } 3084 onChanged(); 3085 return this; 3086 } 3087 /** 3088 * 3089 * 3090 * <pre> 3091 * Output only. If set, the time at which this trashed property will be 3092 * permanently deleted. If not set, then this property is not currently in the 3093 * trash can and is not slated to be deleted. 3094 * </pre> 3095 * 3096 * <code> 3097 * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; 3098 * </code> 3099 */ getExpireTimeBuilder()3100 public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { 3101 bitField0_ |= 0x00000800; 3102 onChanged(); 3103 return getExpireTimeFieldBuilder().getBuilder(); 3104 } 3105 /** 3106 * 3107 * 3108 * <pre> 3109 * Output only. If set, the time at which this trashed property will be 3110 * permanently deleted. If not set, then this property is not currently in the 3111 * trash can and is not slated to be deleted. 3112 * </pre> 3113 * 3114 * <code> 3115 * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; 3116 * </code> 3117 */ getExpireTimeOrBuilder()3118 public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { 3119 if (expireTimeBuilder_ != null) { 3120 return expireTimeBuilder_.getMessageOrBuilder(); 3121 } else { 3122 return expireTime_ == null 3123 ? com.google.protobuf.Timestamp.getDefaultInstance() 3124 : expireTime_; 3125 } 3126 } 3127 /** 3128 * 3129 * 3130 * <pre> 3131 * Output only. If set, the time at which this trashed property will be 3132 * permanently deleted. If not set, then this property is not currently in the 3133 * trash can and is not slated to be deleted. 3134 * </pre> 3135 * 3136 * <code> 3137 * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; 3138 * </code> 3139 */ 3140 private com.google.protobuf.SingleFieldBuilderV3< 3141 com.google.protobuf.Timestamp, 3142 com.google.protobuf.Timestamp.Builder, 3143 com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder()3144 getExpireTimeFieldBuilder() { 3145 if (expireTimeBuilder_ == null) { 3146 expireTimeBuilder_ = 3147 new com.google.protobuf.SingleFieldBuilderV3< 3148 com.google.protobuf.Timestamp, 3149 com.google.protobuf.Timestamp.Builder, 3150 com.google.protobuf.TimestampOrBuilder>( 3151 getExpireTime(), getParentForChildren(), isClean()); 3152 expireTime_ = null; 3153 } 3154 return expireTimeBuilder_; 3155 } 3156 3157 private java.lang.Object account_ = ""; 3158 /** 3159 * 3160 * 3161 * <pre> 3162 * Immutable. The resource name of the parent account 3163 * Format: accounts/{account_id} 3164 * Example: "accounts/123" 3165 * </pre> 3166 * 3167 * <code> 3168 * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } 3169 * </code> 3170 * 3171 * @return The account. 3172 */ getAccount()3173 public java.lang.String getAccount() { 3174 java.lang.Object ref = account_; 3175 if (!(ref instanceof java.lang.String)) { 3176 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 3177 java.lang.String s = bs.toStringUtf8(); 3178 account_ = s; 3179 return s; 3180 } else { 3181 return (java.lang.String) ref; 3182 } 3183 } 3184 /** 3185 * 3186 * 3187 * <pre> 3188 * Immutable. The resource name of the parent account 3189 * Format: accounts/{account_id} 3190 * Example: "accounts/123" 3191 * </pre> 3192 * 3193 * <code> 3194 * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } 3195 * </code> 3196 * 3197 * @return The bytes for account. 3198 */ getAccountBytes()3199 public com.google.protobuf.ByteString getAccountBytes() { 3200 java.lang.Object ref = account_; 3201 if (ref instanceof String) { 3202 com.google.protobuf.ByteString b = 3203 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 3204 account_ = b; 3205 return b; 3206 } else { 3207 return (com.google.protobuf.ByteString) ref; 3208 } 3209 } 3210 /** 3211 * 3212 * 3213 * <pre> 3214 * Immutable. The resource name of the parent account 3215 * Format: accounts/{account_id} 3216 * Example: "accounts/123" 3217 * </pre> 3218 * 3219 * <code> 3220 * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } 3221 * </code> 3222 * 3223 * @param value The account to set. 3224 * @return This builder for chaining. 3225 */ setAccount(java.lang.String value)3226 public Builder setAccount(java.lang.String value) { 3227 if (value == null) { 3228 throw new NullPointerException(); 3229 } 3230 account_ = value; 3231 bitField0_ |= 0x00001000; 3232 onChanged(); 3233 return this; 3234 } 3235 /** 3236 * 3237 * 3238 * <pre> 3239 * Immutable. The resource name of the parent account 3240 * Format: accounts/{account_id} 3241 * Example: "accounts/123" 3242 * </pre> 3243 * 3244 * <code> 3245 * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } 3246 * </code> 3247 * 3248 * @return This builder for chaining. 3249 */ clearAccount()3250 public Builder clearAccount() { 3251 account_ = getDefaultInstance().getAccount(); 3252 bitField0_ = (bitField0_ & ~0x00001000); 3253 onChanged(); 3254 return this; 3255 } 3256 /** 3257 * 3258 * 3259 * <pre> 3260 * Immutable. The resource name of the parent account 3261 * Format: accounts/{account_id} 3262 * Example: "accounts/123" 3263 * </pre> 3264 * 3265 * <code> 3266 * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } 3267 * </code> 3268 * 3269 * @param value The bytes for account to set. 3270 * @return This builder for chaining. 3271 */ setAccountBytes(com.google.protobuf.ByteString value)3272 public Builder setAccountBytes(com.google.protobuf.ByteString value) { 3273 if (value == null) { 3274 throw new NullPointerException(); 3275 } 3276 checkByteStringIsUtf8(value); 3277 account_ = value; 3278 bitField0_ |= 0x00001000; 3279 onChanged(); 3280 return this; 3281 } 3282 3283 @java.lang.Override setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)3284 public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { 3285 return super.setUnknownFields(unknownFields); 3286 } 3287 3288 @java.lang.Override mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)3289 public final Builder mergeUnknownFields( 3290 final com.google.protobuf.UnknownFieldSet unknownFields) { 3291 return super.mergeUnknownFields(unknownFields); 3292 } 3293 3294 // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.Property) 3295 } 3296 3297 // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.Property) 3298 private static final com.google.analytics.admin.v1alpha.Property DEFAULT_INSTANCE; 3299 3300 static { 3301 DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.Property(); 3302 } 3303 getDefaultInstance()3304 public static com.google.analytics.admin.v1alpha.Property getDefaultInstance() { 3305 return DEFAULT_INSTANCE; 3306 } 3307 3308 private static final com.google.protobuf.Parser<Property> PARSER = 3309 new com.google.protobuf.AbstractParser<Property>() { 3310 @java.lang.Override 3311 public Property parsePartialFrom( 3312 com.google.protobuf.CodedInputStream input, 3313 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3314 throws com.google.protobuf.InvalidProtocolBufferException { 3315 Builder builder = newBuilder(); 3316 try { 3317 builder.mergeFrom(input, extensionRegistry); 3318 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 3319 throw e.setUnfinishedMessage(builder.buildPartial()); 3320 } catch (com.google.protobuf.UninitializedMessageException e) { 3321 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); 3322 } catch (java.io.IOException e) { 3323 throw new com.google.protobuf.InvalidProtocolBufferException(e) 3324 .setUnfinishedMessage(builder.buildPartial()); 3325 } 3326 return builder.buildPartial(); 3327 } 3328 }; 3329 parser()3330 public static com.google.protobuf.Parser<Property> parser() { 3331 return PARSER; 3332 } 3333 3334 @java.lang.Override getParserForType()3335 public com.google.protobuf.Parser<Property> getParserForType() { 3336 return PARSER; 3337 } 3338 3339 @java.lang.Override getDefaultInstanceForType()3340 public com.google.analytics.admin.v1alpha.Property getDefaultInstanceForType() { 3341 return DEFAULT_INSTANCE; 3342 } 3343 } 3344