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/cloud/asset/v1/asset_service.proto 18 19 package com.google.cloud.asset.v1; 20 21 /** 22 * 23 * 24 * <pre> 25 * The export asset response. This message is returned by the 26 * [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation] 27 * method in the returned 28 * [google.longrunning.Operation.response][google.longrunning.Operation.response] 29 * field. 30 * </pre> 31 * 32 * Protobuf type {@code google.cloud.asset.v1.ExportAssetsResponse} 33 */ 34 public final class ExportAssetsResponse extends com.google.protobuf.GeneratedMessageV3 35 implements 36 // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ExportAssetsResponse) 37 ExportAssetsResponseOrBuilder { 38 private static final long serialVersionUID = 0L; 39 // Use ExportAssetsResponse.newBuilder() to construct. ExportAssetsResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)40 private ExportAssetsResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 41 super(builder); 42 } 43 ExportAssetsResponse()44 private ExportAssetsResponse() {} 45 46 @java.lang.Override 47 @SuppressWarnings({"unused"}) newInstance(UnusedPrivateParameter unused)48 protected java.lang.Object newInstance(UnusedPrivateParameter unused) { 49 return new ExportAssetsResponse(); 50 } 51 52 @java.lang.Override getUnknownFields()53 public final com.google.protobuf.UnknownFieldSet getUnknownFields() { 54 return this.unknownFields; 55 } 56 getDescriptor()57 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { 58 return com.google.cloud.asset.v1.AssetServiceProto 59 .internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor; 60 } 61 62 @java.lang.Override 63 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()64 internalGetFieldAccessorTable() { 65 return com.google.cloud.asset.v1.AssetServiceProto 66 .internal_static_google_cloud_asset_v1_ExportAssetsResponse_fieldAccessorTable 67 .ensureFieldAccessorsInitialized( 68 com.google.cloud.asset.v1.ExportAssetsResponse.class, 69 com.google.cloud.asset.v1.ExportAssetsResponse.Builder.class); 70 } 71 72 public static final int READ_TIME_FIELD_NUMBER = 1; 73 private com.google.protobuf.Timestamp readTime_; 74 /** 75 * 76 * 77 * <pre> 78 * Time the snapshot was taken. 79 * </pre> 80 * 81 * <code>.google.protobuf.Timestamp read_time = 1;</code> 82 * 83 * @return Whether the readTime field is set. 84 */ 85 @java.lang.Override hasReadTime()86 public boolean hasReadTime() { 87 return readTime_ != null; 88 } 89 /** 90 * 91 * 92 * <pre> 93 * Time the snapshot was taken. 94 * </pre> 95 * 96 * <code>.google.protobuf.Timestamp read_time = 1;</code> 97 * 98 * @return The readTime. 99 */ 100 @java.lang.Override getReadTime()101 public com.google.protobuf.Timestamp getReadTime() { 102 return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; 103 } 104 /** 105 * 106 * 107 * <pre> 108 * Time the snapshot was taken. 109 * </pre> 110 * 111 * <code>.google.protobuf.Timestamp read_time = 1;</code> 112 */ 113 @java.lang.Override getReadTimeOrBuilder()114 public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { 115 return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; 116 } 117 118 public static final int OUTPUT_CONFIG_FIELD_NUMBER = 2; 119 private com.google.cloud.asset.v1.OutputConfig outputConfig_; 120 /** 121 * 122 * 123 * <pre> 124 * Output configuration indicating where the results were output to. 125 * </pre> 126 * 127 * <code>.google.cloud.asset.v1.OutputConfig output_config = 2;</code> 128 * 129 * @return Whether the outputConfig field is set. 130 */ 131 @java.lang.Override hasOutputConfig()132 public boolean hasOutputConfig() { 133 return outputConfig_ != null; 134 } 135 /** 136 * 137 * 138 * <pre> 139 * Output configuration indicating where the results were output to. 140 * </pre> 141 * 142 * <code>.google.cloud.asset.v1.OutputConfig output_config = 2;</code> 143 * 144 * @return The outputConfig. 145 */ 146 @java.lang.Override getOutputConfig()147 public com.google.cloud.asset.v1.OutputConfig getOutputConfig() { 148 return outputConfig_ == null 149 ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() 150 : outputConfig_; 151 } 152 /** 153 * 154 * 155 * <pre> 156 * Output configuration indicating where the results were output to. 157 * </pre> 158 * 159 * <code>.google.cloud.asset.v1.OutputConfig output_config = 2;</code> 160 */ 161 @java.lang.Override getOutputConfigOrBuilder()162 public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder() { 163 return outputConfig_ == null 164 ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() 165 : outputConfig_; 166 } 167 168 public static final int OUTPUT_RESULT_FIELD_NUMBER = 3; 169 private com.google.cloud.asset.v1.OutputResult outputResult_; 170 /** 171 * 172 * 173 * <pre> 174 * Output result indicating where the assets were exported to. For example, a 175 * set of actual Cloud Storage object URIs where the assets are exported to. 176 * The URIs can be different from what [output_config] has specified, as the 177 * service will split the output object into multiple ones once it exceeds a 178 * single Cloud Storage object limit. 179 * </pre> 180 * 181 * <code>.google.cloud.asset.v1.OutputResult output_result = 3;</code> 182 * 183 * @return Whether the outputResult field is set. 184 */ 185 @java.lang.Override hasOutputResult()186 public boolean hasOutputResult() { 187 return outputResult_ != null; 188 } 189 /** 190 * 191 * 192 * <pre> 193 * Output result indicating where the assets were exported to. For example, a 194 * set of actual Cloud Storage object URIs where the assets are exported to. 195 * The URIs can be different from what [output_config] has specified, as the 196 * service will split the output object into multiple ones once it exceeds a 197 * single Cloud Storage object limit. 198 * </pre> 199 * 200 * <code>.google.cloud.asset.v1.OutputResult output_result = 3;</code> 201 * 202 * @return The outputResult. 203 */ 204 @java.lang.Override getOutputResult()205 public com.google.cloud.asset.v1.OutputResult getOutputResult() { 206 return outputResult_ == null 207 ? com.google.cloud.asset.v1.OutputResult.getDefaultInstance() 208 : outputResult_; 209 } 210 /** 211 * 212 * 213 * <pre> 214 * Output result indicating where the assets were exported to. For example, a 215 * set of actual Cloud Storage object URIs where the assets are exported to. 216 * The URIs can be different from what [output_config] has specified, as the 217 * service will split the output object into multiple ones once it exceeds a 218 * single Cloud Storage object limit. 219 * </pre> 220 * 221 * <code>.google.cloud.asset.v1.OutputResult output_result = 3;</code> 222 */ 223 @java.lang.Override getOutputResultOrBuilder()224 public com.google.cloud.asset.v1.OutputResultOrBuilder getOutputResultOrBuilder() { 225 return outputResult_ == null 226 ? com.google.cloud.asset.v1.OutputResult.getDefaultInstance() 227 : outputResult_; 228 } 229 230 private byte memoizedIsInitialized = -1; 231 232 @java.lang.Override isInitialized()233 public final boolean isInitialized() { 234 byte isInitialized = memoizedIsInitialized; 235 if (isInitialized == 1) return true; 236 if (isInitialized == 0) return false; 237 238 memoizedIsInitialized = 1; 239 return true; 240 } 241 242 @java.lang.Override writeTo(com.google.protobuf.CodedOutputStream output)243 public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { 244 if (readTime_ != null) { 245 output.writeMessage(1, getReadTime()); 246 } 247 if (outputConfig_ != null) { 248 output.writeMessage(2, getOutputConfig()); 249 } 250 if (outputResult_ != null) { 251 output.writeMessage(3, getOutputResult()); 252 } 253 getUnknownFields().writeTo(output); 254 } 255 256 @java.lang.Override getSerializedSize()257 public int getSerializedSize() { 258 int size = memoizedSize; 259 if (size != -1) return size; 260 261 size = 0; 262 if (readTime_ != null) { 263 size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadTime()); 264 } 265 if (outputConfig_ != null) { 266 size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOutputConfig()); 267 } 268 if (outputResult_ != null) { 269 size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOutputResult()); 270 } 271 size += getUnknownFields().getSerializedSize(); 272 memoizedSize = size; 273 return size; 274 } 275 276 @java.lang.Override equals(final java.lang.Object obj)277 public boolean equals(final java.lang.Object obj) { 278 if (obj == this) { 279 return true; 280 } 281 if (!(obj instanceof com.google.cloud.asset.v1.ExportAssetsResponse)) { 282 return super.equals(obj); 283 } 284 com.google.cloud.asset.v1.ExportAssetsResponse other = 285 (com.google.cloud.asset.v1.ExportAssetsResponse) obj; 286 287 if (hasReadTime() != other.hasReadTime()) return false; 288 if (hasReadTime()) { 289 if (!getReadTime().equals(other.getReadTime())) return false; 290 } 291 if (hasOutputConfig() != other.hasOutputConfig()) return false; 292 if (hasOutputConfig()) { 293 if (!getOutputConfig().equals(other.getOutputConfig())) return false; 294 } 295 if (hasOutputResult() != other.hasOutputResult()) return false; 296 if (hasOutputResult()) { 297 if (!getOutputResult().equals(other.getOutputResult())) return false; 298 } 299 if (!getUnknownFields().equals(other.getUnknownFields())) return false; 300 return true; 301 } 302 303 @java.lang.Override hashCode()304 public int hashCode() { 305 if (memoizedHashCode != 0) { 306 return memoizedHashCode; 307 } 308 int hash = 41; 309 hash = (19 * hash) + getDescriptor().hashCode(); 310 if (hasReadTime()) { 311 hash = (37 * hash) + READ_TIME_FIELD_NUMBER; 312 hash = (53 * hash) + getReadTime().hashCode(); 313 } 314 if (hasOutputConfig()) { 315 hash = (37 * hash) + OUTPUT_CONFIG_FIELD_NUMBER; 316 hash = (53 * hash) + getOutputConfig().hashCode(); 317 } 318 if (hasOutputResult()) { 319 hash = (37 * hash) + OUTPUT_RESULT_FIELD_NUMBER; 320 hash = (53 * hash) + getOutputResult().hashCode(); 321 } 322 hash = (29 * hash) + getUnknownFields().hashCode(); 323 memoizedHashCode = hash; 324 return hash; 325 } 326 parseFrom(java.nio.ByteBuffer data)327 public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom(java.nio.ByteBuffer data) 328 throws com.google.protobuf.InvalidProtocolBufferException { 329 return PARSER.parseFrom(data); 330 } 331 parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)332 public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom( 333 java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 334 throws com.google.protobuf.InvalidProtocolBufferException { 335 return PARSER.parseFrom(data, extensionRegistry); 336 } 337 parseFrom( com.google.protobuf.ByteString data)338 public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom( 339 com.google.protobuf.ByteString data) 340 throws com.google.protobuf.InvalidProtocolBufferException { 341 return PARSER.parseFrom(data); 342 } 343 parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)344 public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom( 345 com.google.protobuf.ByteString data, 346 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 347 throws com.google.protobuf.InvalidProtocolBufferException { 348 return PARSER.parseFrom(data, extensionRegistry); 349 } 350 parseFrom(byte[] data)351 public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom(byte[] data) 352 throws com.google.protobuf.InvalidProtocolBufferException { 353 return PARSER.parseFrom(data); 354 } 355 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)356 public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom( 357 byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 358 throws com.google.protobuf.InvalidProtocolBufferException { 359 return PARSER.parseFrom(data, extensionRegistry); 360 } 361 parseFrom(java.io.InputStream input)362 public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom(java.io.InputStream input) 363 throws java.io.IOException { 364 return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); 365 } 366 parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)367 public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom( 368 java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 369 throws java.io.IOException { 370 return com.google.protobuf.GeneratedMessageV3.parseWithIOException( 371 PARSER, input, extensionRegistry); 372 } 373 parseDelimitedFrom( java.io.InputStream input)374 public static com.google.cloud.asset.v1.ExportAssetsResponse parseDelimitedFrom( 375 java.io.InputStream input) throws java.io.IOException { 376 return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); 377 } 378 parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)379 public static com.google.cloud.asset.v1.ExportAssetsResponse parseDelimitedFrom( 380 java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 381 throws java.io.IOException { 382 return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( 383 PARSER, input, extensionRegistry); 384 } 385 parseFrom( com.google.protobuf.CodedInputStream input)386 public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom( 387 com.google.protobuf.CodedInputStream input) throws java.io.IOException { 388 return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); 389 } 390 parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)391 public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom( 392 com.google.protobuf.CodedInputStream input, 393 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 394 throws java.io.IOException { 395 return com.google.protobuf.GeneratedMessageV3.parseWithIOException( 396 PARSER, input, extensionRegistry); 397 } 398 399 @java.lang.Override newBuilderForType()400 public Builder newBuilderForType() { 401 return newBuilder(); 402 } 403 newBuilder()404 public static Builder newBuilder() { 405 return DEFAULT_INSTANCE.toBuilder(); 406 } 407 newBuilder(com.google.cloud.asset.v1.ExportAssetsResponse prototype)408 public static Builder newBuilder(com.google.cloud.asset.v1.ExportAssetsResponse prototype) { 409 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 410 } 411 412 @java.lang.Override toBuilder()413 public Builder toBuilder() { 414 return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); 415 } 416 417 @java.lang.Override newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)418 protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 419 Builder builder = new Builder(parent); 420 return builder; 421 } 422 /** 423 * 424 * 425 * <pre> 426 * The export asset response. This message is returned by the 427 * [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation] 428 * method in the returned 429 * [google.longrunning.Operation.response][google.longrunning.Operation.response] 430 * field. 431 * </pre> 432 * 433 * Protobuf type {@code google.cloud.asset.v1.ExportAssetsResponse} 434 */ 435 public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> 436 implements 437 // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ExportAssetsResponse) 438 com.google.cloud.asset.v1.ExportAssetsResponseOrBuilder { getDescriptor()439 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { 440 return com.google.cloud.asset.v1.AssetServiceProto 441 .internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor; 442 } 443 444 @java.lang.Override 445 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()446 internalGetFieldAccessorTable() { 447 return com.google.cloud.asset.v1.AssetServiceProto 448 .internal_static_google_cloud_asset_v1_ExportAssetsResponse_fieldAccessorTable 449 .ensureFieldAccessorsInitialized( 450 com.google.cloud.asset.v1.ExportAssetsResponse.class, 451 com.google.cloud.asset.v1.ExportAssetsResponse.Builder.class); 452 } 453 454 // Construct using com.google.cloud.asset.v1.ExportAssetsResponse.newBuilder() Builder()455 private Builder() {} 456 Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)457 private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 458 super(parent); 459 } 460 461 @java.lang.Override clear()462 public Builder clear() { 463 super.clear(); 464 bitField0_ = 0; 465 readTime_ = null; 466 if (readTimeBuilder_ != null) { 467 readTimeBuilder_.dispose(); 468 readTimeBuilder_ = null; 469 } 470 outputConfig_ = null; 471 if (outputConfigBuilder_ != null) { 472 outputConfigBuilder_.dispose(); 473 outputConfigBuilder_ = null; 474 } 475 outputResult_ = null; 476 if (outputResultBuilder_ != null) { 477 outputResultBuilder_.dispose(); 478 outputResultBuilder_ = null; 479 } 480 return this; 481 } 482 483 @java.lang.Override getDescriptorForType()484 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 485 return com.google.cloud.asset.v1.AssetServiceProto 486 .internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor; 487 } 488 489 @java.lang.Override getDefaultInstanceForType()490 public com.google.cloud.asset.v1.ExportAssetsResponse getDefaultInstanceForType() { 491 return com.google.cloud.asset.v1.ExportAssetsResponse.getDefaultInstance(); 492 } 493 494 @java.lang.Override build()495 public com.google.cloud.asset.v1.ExportAssetsResponse build() { 496 com.google.cloud.asset.v1.ExportAssetsResponse result = buildPartial(); 497 if (!result.isInitialized()) { 498 throw newUninitializedMessageException(result); 499 } 500 return result; 501 } 502 503 @java.lang.Override buildPartial()504 public com.google.cloud.asset.v1.ExportAssetsResponse buildPartial() { 505 com.google.cloud.asset.v1.ExportAssetsResponse result = 506 new com.google.cloud.asset.v1.ExportAssetsResponse(this); 507 if (bitField0_ != 0) { 508 buildPartial0(result); 509 } 510 onBuilt(); 511 return result; 512 } 513 buildPartial0(com.google.cloud.asset.v1.ExportAssetsResponse result)514 private void buildPartial0(com.google.cloud.asset.v1.ExportAssetsResponse result) { 515 int from_bitField0_ = bitField0_; 516 if (((from_bitField0_ & 0x00000001) != 0)) { 517 result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); 518 } 519 if (((from_bitField0_ & 0x00000002) != 0)) { 520 result.outputConfig_ = 521 outputConfigBuilder_ == null ? outputConfig_ : outputConfigBuilder_.build(); 522 } 523 if (((from_bitField0_ & 0x00000004) != 0)) { 524 result.outputResult_ = 525 outputResultBuilder_ == null ? outputResult_ : outputResultBuilder_.build(); 526 } 527 } 528 529 @java.lang.Override clone()530 public Builder clone() { 531 return super.clone(); 532 } 533 534 @java.lang.Override setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)535 public Builder setField( 536 com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 537 return super.setField(field, value); 538 } 539 540 @java.lang.Override clearField(com.google.protobuf.Descriptors.FieldDescriptor field)541 public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { 542 return super.clearField(field); 543 } 544 545 @java.lang.Override clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)546 public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { 547 return super.clearOneof(oneof); 548 } 549 550 @java.lang.Override setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)551 public Builder setRepeatedField( 552 com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { 553 return super.setRepeatedField(field, index, value); 554 } 555 556 @java.lang.Override addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)557 public Builder addRepeatedField( 558 com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 559 return super.addRepeatedField(field, value); 560 } 561 562 @java.lang.Override mergeFrom(com.google.protobuf.Message other)563 public Builder mergeFrom(com.google.protobuf.Message other) { 564 if (other instanceof com.google.cloud.asset.v1.ExportAssetsResponse) { 565 return mergeFrom((com.google.cloud.asset.v1.ExportAssetsResponse) other); 566 } else { 567 super.mergeFrom(other); 568 return this; 569 } 570 } 571 mergeFrom(com.google.cloud.asset.v1.ExportAssetsResponse other)572 public Builder mergeFrom(com.google.cloud.asset.v1.ExportAssetsResponse other) { 573 if (other == com.google.cloud.asset.v1.ExportAssetsResponse.getDefaultInstance()) return this; 574 if (other.hasReadTime()) { 575 mergeReadTime(other.getReadTime()); 576 } 577 if (other.hasOutputConfig()) { 578 mergeOutputConfig(other.getOutputConfig()); 579 } 580 if (other.hasOutputResult()) { 581 mergeOutputResult(other.getOutputResult()); 582 } 583 this.mergeUnknownFields(other.getUnknownFields()); 584 onChanged(); 585 return this; 586 } 587 588 @java.lang.Override isInitialized()589 public final boolean isInitialized() { 590 return true; 591 } 592 593 @java.lang.Override mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)594 public Builder mergeFrom( 595 com.google.protobuf.CodedInputStream input, 596 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 597 throws java.io.IOException { 598 if (extensionRegistry == null) { 599 throw new java.lang.NullPointerException(); 600 } 601 try { 602 boolean done = false; 603 while (!done) { 604 int tag = input.readTag(); 605 switch (tag) { 606 case 0: 607 done = true; 608 break; 609 case 10: 610 { 611 input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); 612 bitField0_ |= 0x00000001; 613 break; 614 } // case 10 615 case 18: 616 { 617 input.readMessage(getOutputConfigFieldBuilder().getBuilder(), extensionRegistry); 618 bitField0_ |= 0x00000002; 619 break; 620 } // case 18 621 case 26: 622 { 623 input.readMessage(getOutputResultFieldBuilder().getBuilder(), extensionRegistry); 624 bitField0_ |= 0x00000004; 625 break; 626 } // case 26 627 default: 628 { 629 if (!super.parseUnknownField(input, extensionRegistry, tag)) { 630 done = true; // was an endgroup tag 631 } 632 break; 633 } // default: 634 } // switch (tag) 635 } // while (!done) 636 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 637 throw e.unwrapIOException(); 638 } finally { 639 onChanged(); 640 } // finally 641 return this; 642 } 643 644 private int bitField0_; 645 646 private com.google.protobuf.Timestamp readTime_; 647 private com.google.protobuf.SingleFieldBuilderV3< 648 com.google.protobuf.Timestamp, 649 com.google.protobuf.Timestamp.Builder, 650 com.google.protobuf.TimestampOrBuilder> 651 readTimeBuilder_; 652 /** 653 * 654 * 655 * <pre> 656 * Time the snapshot was taken. 657 * </pre> 658 * 659 * <code>.google.protobuf.Timestamp read_time = 1;</code> 660 * 661 * @return Whether the readTime field is set. 662 */ hasReadTime()663 public boolean hasReadTime() { 664 return ((bitField0_ & 0x00000001) != 0); 665 } 666 /** 667 * 668 * 669 * <pre> 670 * Time the snapshot was taken. 671 * </pre> 672 * 673 * <code>.google.protobuf.Timestamp read_time = 1;</code> 674 * 675 * @return The readTime. 676 */ getReadTime()677 public com.google.protobuf.Timestamp getReadTime() { 678 if (readTimeBuilder_ == null) { 679 return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; 680 } else { 681 return readTimeBuilder_.getMessage(); 682 } 683 } 684 /** 685 * 686 * 687 * <pre> 688 * Time the snapshot was taken. 689 * </pre> 690 * 691 * <code>.google.protobuf.Timestamp read_time = 1;</code> 692 */ setReadTime(com.google.protobuf.Timestamp value)693 public Builder setReadTime(com.google.protobuf.Timestamp value) { 694 if (readTimeBuilder_ == null) { 695 if (value == null) { 696 throw new NullPointerException(); 697 } 698 readTime_ = value; 699 } else { 700 readTimeBuilder_.setMessage(value); 701 } 702 bitField0_ |= 0x00000001; 703 onChanged(); 704 return this; 705 } 706 /** 707 * 708 * 709 * <pre> 710 * Time the snapshot was taken. 711 * </pre> 712 * 713 * <code>.google.protobuf.Timestamp read_time = 1;</code> 714 */ setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)715 public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { 716 if (readTimeBuilder_ == null) { 717 readTime_ = builderForValue.build(); 718 } else { 719 readTimeBuilder_.setMessage(builderForValue.build()); 720 } 721 bitField0_ |= 0x00000001; 722 onChanged(); 723 return this; 724 } 725 /** 726 * 727 * 728 * <pre> 729 * Time the snapshot was taken. 730 * </pre> 731 * 732 * <code>.google.protobuf.Timestamp read_time = 1;</code> 733 */ mergeReadTime(com.google.protobuf.Timestamp value)734 public Builder mergeReadTime(com.google.protobuf.Timestamp value) { 735 if (readTimeBuilder_ == null) { 736 if (((bitField0_ & 0x00000001) != 0) 737 && readTime_ != null 738 && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { 739 getReadTimeBuilder().mergeFrom(value); 740 } else { 741 readTime_ = value; 742 } 743 } else { 744 readTimeBuilder_.mergeFrom(value); 745 } 746 bitField0_ |= 0x00000001; 747 onChanged(); 748 return this; 749 } 750 /** 751 * 752 * 753 * <pre> 754 * Time the snapshot was taken. 755 * </pre> 756 * 757 * <code>.google.protobuf.Timestamp read_time = 1;</code> 758 */ clearReadTime()759 public Builder clearReadTime() { 760 bitField0_ = (bitField0_ & ~0x00000001); 761 readTime_ = null; 762 if (readTimeBuilder_ != null) { 763 readTimeBuilder_.dispose(); 764 readTimeBuilder_ = null; 765 } 766 onChanged(); 767 return this; 768 } 769 /** 770 * 771 * 772 * <pre> 773 * Time the snapshot was taken. 774 * </pre> 775 * 776 * <code>.google.protobuf.Timestamp read_time = 1;</code> 777 */ getReadTimeBuilder()778 public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { 779 bitField0_ |= 0x00000001; 780 onChanged(); 781 return getReadTimeFieldBuilder().getBuilder(); 782 } 783 /** 784 * 785 * 786 * <pre> 787 * Time the snapshot was taken. 788 * </pre> 789 * 790 * <code>.google.protobuf.Timestamp read_time = 1;</code> 791 */ getReadTimeOrBuilder()792 public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { 793 if (readTimeBuilder_ != null) { 794 return readTimeBuilder_.getMessageOrBuilder(); 795 } else { 796 return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; 797 } 798 } 799 /** 800 * 801 * 802 * <pre> 803 * Time the snapshot was taken. 804 * </pre> 805 * 806 * <code>.google.protobuf.Timestamp read_time = 1;</code> 807 */ 808 private com.google.protobuf.SingleFieldBuilderV3< 809 com.google.protobuf.Timestamp, 810 com.google.protobuf.Timestamp.Builder, 811 com.google.protobuf.TimestampOrBuilder> getReadTimeFieldBuilder()812 getReadTimeFieldBuilder() { 813 if (readTimeBuilder_ == null) { 814 readTimeBuilder_ = 815 new com.google.protobuf.SingleFieldBuilderV3< 816 com.google.protobuf.Timestamp, 817 com.google.protobuf.Timestamp.Builder, 818 com.google.protobuf.TimestampOrBuilder>( 819 getReadTime(), getParentForChildren(), isClean()); 820 readTime_ = null; 821 } 822 return readTimeBuilder_; 823 } 824 825 private com.google.cloud.asset.v1.OutputConfig outputConfig_; 826 private com.google.protobuf.SingleFieldBuilderV3< 827 com.google.cloud.asset.v1.OutputConfig, 828 com.google.cloud.asset.v1.OutputConfig.Builder, 829 com.google.cloud.asset.v1.OutputConfigOrBuilder> 830 outputConfigBuilder_; 831 /** 832 * 833 * 834 * <pre> 835 * Output configuration indicating where the results were output to. 836 * </pre> 837 * 838 * <code>.google.cloud.asset.v1.OutputConfig output_config = 2;</code> 839 * 840 * @return Whether the outputConfig field is set. 841 */ hasOutputConfig()842 public boolean hasOutputConfig() { 843 return ((bitField0_ & 0x00000002) != 0); 844 } 845 /** 846 * 847 * 848 * <pre> 849 * Output configuration indicating where the results were output to. 850 * </pre> 851 * 852 * <code>.google.cloud.asset.v1.OutputConfig output_config = 2;</code> 853 * 854 * @return The outputConfig. 855 */ getOutputConfig()856 public com.google.cloud.asset.v1.OutputConfig getOutputConfig() { 857 if (outputConfigBuilder_ == null) { 858 return outputConfig_ == null 859 ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() 860 : outputConfig_; 861 } else { 862 return outputConfigBuilder_.getMessage(); 863 } 864 } 865 /** 866 * 867 * 868 * <pre> 869 * Output configuration indicating where the results were output to. 870 * </pre> 871 * 872 * <code>.google.cloud.asset.v1.OutputConfig output_config = 2;</code> 873 */ setOutputConfig(com.google.cloud.asset.v1.OutputConfig value)874 public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { 875 if (outputConfigBuilder_ == null) { 876 if (value == null) { 877 throw new NullPointerException(); 878 } 879 outputConfig_ = value; 880 } else { 881 outputConfigBuilder_.setMessage(value); 882 } 883 bitField0_ |= 0x00000002; 884 onChanged(); 885 return this; 886 } 887 /** 888 * 889 * 890 * <pre> 891 * Output configuration indicating where the results were output to. 892 * </pre> 893 * 894 * <code>.google.cloud.asset.v1.OutputConfig output_config = 2;</code> 895 */ setOutputConfig(com.google.cloud.asset.v1.OutputConfig.Builder builderForValue)896 public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig.Builder builderForValue) { 897 if (outputConfigBuilder_ == null) { 898 outputConfig_ = builderForValue.build(); 899 } else { 900 outputConfigBuilder_.setMessage(builderForValue.build()); 901 } 902 bitField0_ |= 0x00000002; 903 onChanged(); 904 return this; 905 } 906 /** 907 * 908 * 909 * <pre> 910 * Output configuration indicating where the results were output to. 911 * </pre> 912 * 913 * <code>.google.cloud.asset.v1.OutputConfig output_config = 2;</code> 914 */ mergeOutputConfig(com.google.cloud.asset.v1.OutputConfig value)915 public Builder mergeOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { 916 if (outputConfigBuilder_ == null) { 917 if (((bitField0_ & 0x00000002) != 0) 918 && outputConfig_ != null 919 && outputConfig_ != com.google.cloud.asset.v1.OutputConfig.getDefaultInstance()) { 920 getOutputConfigBuilder().mergeFrom(value); 921 } else { 922 outputConfig_ = value; 923 } 924 } else { 925 outputConfigBuilder_.mergeFrom(value); 926 } 927 bitField0_ |= 0x00000002; 928 onChanged(); 929 return this; 930 } 931 /** 932 * 933 * 934 * <pre> 935 * Output configuration indicating where the results were output to. 936 * </pre> 937 * 938 * <code>.google.cloud.asset.v1.OutputConfig output_config = 2;</code> 939 */ clearOutputConfig()940 public Builder clearOutputConfig() { 941 bitField0_ = (bitField0_ & ~0x00000002); 942 outputConfig_ = null; 943 if (outputConfigBuilder_ != null) { 944 outputConfigBuilder_.dispose(); 945 outputConfigBuilder_ = null; 946 } 947 onChanged(); 948 return this; 949 } 950 /** 951 * 952 * 953 * <pre> 954 * Output configuration indicating where the results were output to. 955 * </pre> 956 * 957 * <code>.google.cloud.asset.v1.OutputConfig output_config = 2;</code> 958 */ getOutputConfigBuilder()959 public com.google.cloud.asset.v1.OutputConfig.Builder getOutputConfigBuilder() { 960 bitField0_ |= 0x00000002; 961 onChanged(); 962 return getOutputConfigFieldBuilder().getBuilder(); 963 } 964 /** 965 * 966 * 967 * <pre> 968 * Output configuration indicating where the results were output to. 969 * </pre> 970 * 971 * <code>.google.cloud.asset.v1.OutputConfig output_config = 2;</code> 972 */ getOutputConfigOrBuilder()973 public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder() { 974 if (outputConfigBuilder_ != null) { 975 return outputConfigBuilder_.getMessageOrBuilder(); 976 } else { 977 return outputConfig_ == null 978 ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() 979 : outputConfig_; 980 } 981 } 982 /** 983 * 984 * 985 * <pre> 986 * Output configuration indicating where the results were output to. 987 * </pre> 988 * 989 * <code>.google.cloud.asset.v1.OutputConfig output_config = 2;</code> 990 */ 991 private com.google.protobuf.SingleFieldBuilderV3< 992 com.google.cloud.asset.v1.OutputConfig, 993 com.google.cloud.asset.v1.OutputConfig.Builder, 994 com.google.cloud.asset.v1.OutputConfigOrBuilder> getOutputConfigFieldBuilder()995 getOutputConfigFieldBuilder() { 996 if (outputConfigBuilder_ == null) { 997 outputConfigBuilder_ = 998 new com.google.protobuf.SingleFieldBuilderV3< 999 com.google.cloud.asset.v1.OutputConfig, 1000 com.google.cloud.asset.v1.OutputConfig.Builder, 1001 com.google.cloud.asset.v1.OutputConfigOrBuilder>( 1002 getOutputConfig(), getParentForChildren(), isClean()); 1003 outputConfig_ = null; 1004 } 1005 return outputConfigBuilder_; 1006 } 1007 1008 private com.google.cloud.asset.v1.OutputResult outputResult_; 1009 private com.google.protobuf.SingleFieldBuilderV3< 1010 com.google.cloud.asset.v1.OutputResult, 1011 com.google.cloud.asset.v1.OutputResult.Builder, 1012 com.google.cloud.asset.v1.OutputResultOrBuilder> 1013 outputResultBuilder_; 1014 /** 1015 * 1016 * 1017 * <pre> 1018 * Output result indicating where the assets were exported to. For example, a 1019 * set of actual Cloud Storage object URIs where the assets are exported to. 1020 * The URIs can be different from what [output_config] has specified, as the 1021 * service will split the output object into multiple ones once it exceeds a 1022 * single Cloud Storage object limit. 1023 * </pre> 1024 * 1025 * <code>.google.cloud.asset.v1.OutputResult output_result = 3;</code> 1026 * 1027 * @return Whether the outputResult field is set. 1028 */ hasOutputResult()1029 public boolean hasOutputResult() { 1030 return ((bitField0_ & 0x00000004) != 0); 1031 } 1032 /** 1033 * 1034 * 1035 * <pre> 1036 * Output result indicating where the assets were exported to. For example, a 1037 * set of actual Cloud Storage object URIs where the assets are exported to. 1038 * The URIs can be different from what [output_config] has specified, as the 1039 * service will split the output object into multiple ones once it exceeds a 1040 * single Cloud Storage object limit. 1041 * </pre> 1042 * 1043 * <code>.google.cloud.asset.v1.OutputResult output_result = 3;</code> 1044 * 1045 * @return The outputResult. 1046 */ getOutputResult()1047 public com.google.cloud.asset.v1.OutputResult getOutputResult() { 1048 if (outputResultBuilder_ == null) { 1049 return outputResult_ == null 1050 ? com.google.cloud.asset.v1.OutputResult.getDefaultInstance() 1051 : outputResult_; 1052 } else { 1053 return outputResultBuilder_.getMessage(); 1054 } 1055 } 1056 /** 1057 * 1058 * 1059 * <pre> 1060 * Output result indicating where the assets were exported to. For example, a 1061 * set of actual Cloud Storage object URIs where the assets are exported to. 1062 * The URIs can be different from what [output_config] has specified, as the 1063 * service will split the output object into multiple ones once it exceeds a 1064 * single Cloud Storage object limit. 1065 * </pre> 1066 * 1067 * <code>.google.cloud.asset.v1.OutputResult output_result = 3;</code> 1068 */ setOutputResult(com.google.cloud.asset.v1.OutputResult value)1069 public Builder setOutputResult(com.google.cloud.asset.v1.OutputResult value) { 1070 if (outputResultBuilder_ == null) { 1071 if (value == null) { 1072 throw new NullPointerException(); 1073 } 1074 outputResult_ = value; 1075 } else { 1076 outputResultBuilder_.setMessage(value); 1077 } 1078 bitField0_ |= 0x00000004; 1079 onChanged(); 1080 return this; 1081 } 1082 /** 1083 * 1084 * 1085 * <pre> 1086 * Output result indicating where the assets were exported to. For example, a 1087 * set of actual Cloud Storage object URIs where the assets are exported to. 1088 * The URIs can be different from what [output_config] has specified, as the 1089 * service will split the output object into multiple ones once it exceeds a 1090 * single Cloud Storage object limit. 1091 * </pre> 1092 * 1093 * <code>.google.cloud.asset.v1.OutputResult output_result = 3;</code> 1094 */ setOutputResult(com.google.cloud.asset.v1.OutputResult.Builder builderForValue)1095 public Builder setOutputResult(com.google.cloud.asset.v1.OutputResult.Builder builderForValue) { 1096 if (outputResultBuilder_ == null) { 1097 outputResult_ = builderForValue.build(); 1098 } else { 1099 outputResultBuilder_.setMessage(builderForValue.build()); 1100 } 1101 bitField0_ |= 0x00000004; 1102 onChanged(); 1103 return this; 1104 } 1105 /** 1106 * 1107 * 1108 * <pre> 1109 * Output result indicating where the assets were exported to. For example, a 1110 * set of actual Cloud Storage object URIs where the assets are exported to. 1111 * The URIs can be different from what [output_config] has specified, as the 1112 * service will split the output object into multiple ones once it exceeds a 1113 * single Cloud Storage object limit. 1114 * </pre> 1115 * 1116 * <code>.google.cloud.asset.v1.OutputResult output_result = 3;</code> 1117 */ mergeOutputResult(com.google.cloud.asset.v1.OutputResult value)1118 public Builder mergeOutputResult(com.google.cloud.asset.v1.OutputResult value) { 1119 if (outputResultBuilder_ == null) { 1120 if (((bitField0_ & 0x00000004) != 0) 1121 && outputResult_ != null 1122 && outputResult_ != com.google.cloud.asset.v1.OutputResult.getDefaultInstance()) { 1123 getOutputResultBuilder().mergeFrom(value); 1124 } else { 1125 outputResult_ = value; 1126 } 1127 } else { 1128 outputResultBuilder_.mergeFrom(value); 1129 } 1130 bitField0_ |= 0x00000004; 1131 onChanged(); 1132 return this; 1133 } 1134 /** 1135 * 1136 * 1137 * <pre> 1138 * Output result indicating where the assets were exported to. For example, a 1139 * set of actual Cloud Storage object URIs where the assets are exported to. 1140 * The URIs can be different from what [output_config] has specified, as the 1141 * service will split the output object into multiple ones once it exceeds a 1142 * single Cloud Storage object limit. 1143 * </pre> 1144 * 1145 * <code>.google.cloud.asset.v1.OutputResult output_result = 3;</code> 1146 */ clearOutputResult()1147 public Builder clearOutputResult() { 1148 bitField0_ = (bitField0_ & ~0x00000004); 1149 outputResult_ = null; 1150 if (outputResultBuilder_ != null) { 1151 outputResultBuilder_.dispose(); 1152 outputResultBuilder_ = null; 1153 } 1154 onChanged(); 1155 return this; 1156 } 1157 /** 1158 * 1159 * 1160 * <pre> 1161 * Output result indicating where the assets were exported to. For example, a 1162 * set of actual Cloud Storage object URIs where the assets are exported to. 1163 * The URIs can be different from what [output_config] has specified, as the 1164 * service will split the output object into multiple ones once it exceeds a 1165 * single Cloud Storage object limit. 1166 * </pre> 1167 * 1168 * <code>.google.cloud.asset.v1.OutputResult output_result = 3;</code> 1169 */ getOutputResultBuilder()1170 public com.google.cloud.asset.v1.OutputResult.Builder getOutputResultBuilder() { 1171 bitField0_ |= 0x00000004; 1172 onChanged(); 1173 return getOutputResultFieldBuilder().getBuilder(); 1174 } 1175 /** 1176 * 1177 * 1178 * <pre> 1179 * Output result indicating where the assets were exported to. For example, a 1180 * set of actual Cloud Storage object URIs where the assets are exported to. 1181 * The URIs can be different from what [output_config] has specified, as the 1182 * service will split the output object into multiple ones once it exceeds a 1183 * single Cloud Storage object limit. 1184 * </pre> 1185 * 1186 * <code>.google.cloud.asset.v1.OutputResult output_result = 3;</code> 1187 */ getOutputResultOrBuilder()1188 public com.google.cloud.asset.v1.OutputResultOrBuilder getOutputResultOrBuilder() { 1189 if (outputResultBuilder_ != null) { 1190 return outputResultBuilder_.getMessageOrBuilder(); 1191 } else { 1192 return outputResult_ == null 1193 ? com.google.cloud.asset.v1.OutputResult.getDefaultInstance() 1194 : outputResult_; 1195 } 1196 } 1197 /** 1198 * 1199 * 1200 * <pre> 1201 * Output result indicating where the assets were exported to. For example, a 1202 * set of actual Cloud Storage object URIs where the assets are exported to. 1203 * The URIs can be different from what [output_config] has specified, as the 1204 * service will split the output object into multiple ones once it exceeds a 1205 * single Cloud Storage object limit. 1206 * </pre> 1207 * 1208 * <code>.google.cloud.asset.v1.OutputResult output_result = 3;</code> 1209 */ 1210 private com.google.protobuf.SingleFieldBuilderV3< 1211 com.google.cloud.asset.v1.OutputResult, 1212 com.google.cloud.asset.v1.OutputResult.Builder, 1213 com.google.cloud.asset.v1.OutputResultOrBuilder> getOutputResultFieldBuilder()1214 getOutputResultFieldBuilder() { 1215 if (outputResultBuilder_ == null) { 1216 outputResultBuilder_ = 1217 new com.google.protobuf.SingleFieldBuilderV3< 1218 com.google.cloud.asset.v1.OutputResult, 1219 com.google.cloud.asset.v1.OutputResult.Builder, 1220 com.google.cloud.asset.v1.OutputResultOrBuilder>( 1221 getOutputResult(), getParentForChildren(), isClean()); 1222 outputResult_ = null; 1223 } 1224 return outputResultBuilder_; 1225 } 1226 1227 @java.lang.Override setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)1228 public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { 1229 return super.setUnknownFields(unknownFields); 1230 } 1231 1232 @java.lang.Override mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)1233 public final Builder mergeUnknownFields( 1234 final com.google.protobuf.UnknownFieldSet unknownFields) { 1235 return super.mergeUnknownFields(unknownFields); 1236 } 1237 1238 // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ExportAssetsResponse) 1239 } 1240 1241 // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ExportAssetsResponse) 1242 private static final com.google.cloud.asset.v1.ExportAssetsResponse DEFAULT_INSTANCE; 1243 1244 static { 1245 DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ExportAssetsResponse(); 1246 } 1247 getDefaultInstance()1248 public static com.google.cloud.asset.v1.ExportAssetsResponse getDefaultInstance() { 1249 return DEFAULT_INSTANCE; 1250 } 1251 1252 private static final com.google.protobuf.Parser<ExportAssetsResponse> PARSER = 1253 new com.google.protobuf.AbstractParser<ExportAssetsResponse>() { 1254 @java.lang.Override 1255 public ExportAssetsResponse parsePartialFrom( 1256 com.google.protobuf.CodedInputStream input, 1257 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1258 throws com.google.protobuf.InvalidProtocolBufferException { 1259 Builder builder = newBuilder(); 1260 try { 1261 builder.mergeFrom(input, extensionRegistry); 1262 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 1263 throw e.setUnfinishedMessage(builder.buildPartial()); 1264 } catch (com.google.protobuf.UninitializedMessageException e) { 1265 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); 1266 } catch (java.io.IOException e) { 1267 throw new com.google.protobuf.InvalidProtocolBufferException(e) 1268 .setUnfinishedMessage(builder.buildPartial()); 1269 } 1270 return builder.buildPartial(); 1271 } 1272 }; 1273 parser()1274 public static com.google.protobuf.Parser<ExportAssetsResponse> parser() { 1275 return PARSER; 1276 } 1277 1278 @java.lang.Override getParserForType()1279 public com.google.protobuf.Parser<ExportAssetsResponse> getParserForType() { 1280 return PARSER; 1281 } 1282 1283 @java.lang.Override getDefaultInstanceForType()1284 public com.google.cloud.asset.v1.ExportAssetsResponse getDefaultInstanceForType() { 1285 return DEFAULT_INSTANCE; 1286 } 1287 } 1288