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