• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/privacy/dlp/v2/storage.proto
18 
19 package com.google.privacy.dlp.v2;
20 
21 /**
22  *
23  *
24  * <pre>
25  * Message representing a set of files in Cloud Storage.
26  * </pre>
27  *
28  * Protobuf type {@code google.privacy.dlp.v2.CloudStorageFileSet}
29  */
30 public final class CloudStorageFileSet extends com.google.protobuf.GeneratedMessageV3
31     implements
32     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CloudStorageFileSet)
33     CloudStorageFileSetOrBuilder {
34   private static final long serialVersionUID = 0L;
35   // Use CloudStorageFileSet.newBuilder() to construct.
CloudStorageFileSet(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)36   private CloudStorageFileSet(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
37     super(builder);
38   }
39 
CloudStorageFileSet()40   private CloudStorageFileSet() {
41     url_ = "";
42   }
43 
44   @java.lang.Override
45   @SuppressWarnings({"unused"})
newInstance(UnusedPrivateParameter unused)46   protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
47     return new CloudStorageFileSet();
48   }
49 
50   @java.lang.Override
getUnknownFields()51   public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
52     return this.unknownFields;
53   }
54 
getDescriptor()55   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
56     return com.google.privacy.dlp.v2.DlpStorage
57         .internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor;
58   }
59 
60   @java.lang.Override
61   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()62       internalGetFieldAccessorTable() {
63     return com.google.privacy.dlp.v2.DlpStorage
64         .internal_static_google_privacy_dlp_v2_CloudStorageFileSet_fieldAccessorTable
65         .ensureFieldAccessorsInitialized(
66             com.google.privacy.dlp.v2.CloudStorageFileSet.class,
67             com.google.privacy.dlp.v2.CloudStorageFileSet.Builder.class);
68   }
69 
70   public static final int URL_FIELD_NUMBER = 1;
71 
72   @SuppressWarnings("serial")
73   private volatile java.lang.Object url_ = "";
74   /**
75    *
76    *
77    * <pre>
78    * The url, in the format `gs://&lt;bucket&gt;/&lt;path&gt;`. Trailing wildcard in the
79    * path is allowed.
80    * </pre>
81    *
82    * <code>string url = 1;</code>
83    *
84    * @return The url.
85    */
86   @java.lang.Override
getUrl()87   public java.lang.String getUrl() {
88     java.lang.Object ref = url_;
89     if (ref instanceof java.lang.String) {
90       return (java.lang.String) ref;
91     } else {
92       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
93       java.lang.String s = bs.toStringUtf8();
94       url_ = s;
95       return s;
96     }
97   }
98   /**
99    *
100    *
101    * <pre>
102    * The url, in the format `gs://&lt;bucket&gt;/&lt;path&gt;`. Trailing wildcard in the
103    * path is allowed.
104    * </pre>
105    *
106    * <code>string url = 1;</code>
107    *
108    * @return The bytes for url.
109    */
110   @java.lang.Override
getUrlBytes()111   public com.google.protobuf.ByteString getUrlBytes() {
112     java.lang.Object ref = url_;
113     if (ref instanceof java.lang.String) {
114       com.google.protobuf.ByteString b =
115           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
116       url_ = b;
117       return b;
118     } else {
119       return (com.google.protobuf.ByteString) ref;
120     }
121   }
122 
123   private byte memoizedIsInitialized = -1;
124 
125   @java.lang.Override
isInitialized()126   public final boolean isInitialized() {
127     byte isInitialized = memoizedIsInitialized;
128     if (isInitialized == 1) return true;
129     if (isInitialized == 0) return false;
130 
131     memoizedIsInitialized = 1;
132     return true;
133   }
134 
135   @java.lang.Override
writeTo(com.google.protobuf.CodedOutputStream output)136   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
137     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
138       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_);
139     }
140     getUnknownFields().writeTo(output);
141   }
142 
143   @java.lang.Override
getSerializedSize()144   public int getSerializedSize() {
145     int size = memoizedSize;
146     if (size != -1) return size;
147 
148     size = 0;
149     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
150       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
151     }
152     size += getUnknownFields().getSerializedSize();
153     memoizedSize = size;
154     return size;
155   }
156 
157   @java.lang.Override
equals(final java.lang.Object obj)158   public boolean equals(final java.lang.Object obj) {
159     if (obj == this) {
160       return true;
161     }
162     if (!(obj instanceof com.google.privacy.dlp.v2.CloudStorageFileSet)) {
163       return super.equals(obj);
164     }
165     com.google.privacy.dlp.v2.CloudStorageFileSet other =
166         (com.google.privacy.dlp.v2.CloudStorageFileSet) obj;
167 
168     if (!getUrl().equals(other.getUrl())) return false;
169     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
170     return true;
171   }
172 
173   @java.lang.Override
hashCode()174   public int hashCode() {
175     if (memoizedHashCode != 0) {
176       return memoizedHashCode;
177     }
178     int hash = 41;
179     hash = (19 * hash) + getDescriptor().hashCode();
180     hash = (37 * hash) + URL_FIELD_NUMBER;
181     hash = (53 * hash) + getUrl().hashCode();
182     hash = (29 * hash) + getUnknownFields().hashCode();
183     memoizedHashCode = hash;
184     return hash;
185   }
186 
parseFrom(java.nio.ByteBuffer data)187   public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom(java.nio.ByteBuffer data)
188       throws com.google.protobuf.InvalidProtocolBufferException {
189     return PARSER.parseFrom(data);
190   }
191 
parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)192   public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom(
193       java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
194       throws com.google.protobuf.InvalidProtocolBufferException {
195     return PARSER.parseFrom(data, extensionRegistry);
196   }
197 
parseFrom( com.google.protobuf.ByteString data)198   public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom(
199       com.google.protobuf.ByteString data)
200       throws com.google.protobuf.InvalidProtocolBufferException {
201     return PARSER.parseFrom(data);
202   }
203 
parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)204   public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom(
205       com.google.protobuf.ByteString data,
206       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
207       throws com.google.protobuf.InvalidProtocolBufferException {
208     return PARSER.parseFrom(data, extensionRegistry);
209   }
210 
parseFrom(byte[] data)211   public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom(byte[] data)
212       throws com.google.protobuf.InvalidProtocolBufferException {
213     return PARSER.parseFrom(data);
214   }
215 
parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)216   public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom(
217       byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
218       throws com.google.protobuf.InvalidProtocolBufferException {
219     return PARSER.parseFrom(data, extensionRegistry);
220   }
221 
parseFrom(java.io.InputStream input)222   public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom(java.io.InputStream input)
223       throws java.io.IOException {
224     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
225   }
226 
parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)227   public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom(
228       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
229       throws java.io.IOException {
230     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
231         PARSER, input, extensionRegistry);
232   }
233 
parseDelimitedFrom( java.io.InputStream input)234   public static com.google.privacy.dlp.v2.CloudStorageFileSet parseDelimitedFrom(
235       java.io.InputStream input) throws java.io.IOException {
236     return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
237   }
238 
parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)239   public static com.google.privacy.dlp.v2.CloudStorageFileSet parseDelimitedFrom(
240       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
241       throws java.io.IOException {
242     return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
243         PARSER, input, extensionRegistry);
244   }
245 
parseFrom( com.google.protobuf.CodedInputStream input)246   public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom(
247       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
248     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
249   }
250 
parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)251   public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom(
252       com.google.protobuf.CodedInputStream input,
253       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
254       throws java.io.IOException {
255     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
256         PARSER, input, extensionRegistry);
257   }
258 
259   @java.lang.Override
newBuilderForType()260   public Builder newBuilderForType() {
261     return newBuilder();
262   }
263 
newBuilder()264   public static Builder newBuilder() {
265     return DEFAULT_INSTANCE.toBuilder();
266   }
267 
newBuilder(com.google.privacy.dlp.v2.CloudStorageFileSet prototype)268   public static Builder newBuilder(com.google.privacy.dlp.v2.CloudStorageFileSet prototype) {
269     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
270   }
271 
272   @java.lang.Override
toBuilder()273   public Builder toBuilder() {
274     return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
275   }
276 
277   @java.lang.Override
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)278   protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
279     Builder builder = new Builder(parent);
280     return builder;
281   }
282   /**
283    *
284    *
285    * <pre>
286    * Message representing a set of files in Cloud Storage.
287    * </pre>
288    *
289    * Protobuf type {@code google.privacy.dlp.v2.CloudStorageFileSet}
290    */
291   public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
292       implements
293       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CloudStorageFileSet)
294       com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder {
getDescriptor()295     public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
296       return com.google.privacy.dlp.v2.DlpStorage
297           .internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor;
298     }
299 
300     @java.lang.Override
301     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()302         internalGetFieldAccessorTable() {
303       return com.google.privacy.dlp.v2.DlpStorage
304           .internal_static_google_privacy_dlp_v2_CloudStorageFileSet_fieldAccessorTable
305           .ensureFieldAccessorsInitialized(
306               com.google.privacy.dlp.v2.CloudStorageFileSet.class,
307               com.google.privacy.dlp.v2.CloudStorageFileSet.Builder.class);
308     }
309 
310     // Construct using com.google.privacy.dlp.v2.CloudStorageFileSet.newBuilder()
Builder()311     private Builder() {}
312 
Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)313     private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
314       super(parent);
315     }
316 
317     @java.lang.Override
clear()318     public Builder clear() {
319       super.clear();
320       bitField0_ = 0;
321       url_ = "";
322       return this;
323     }
324 
325     @java.lang.Override
getDescriptorForType()326     public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
327       return com.google.privacy.dlp.v2.DlpStorage
328           .internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor;
329     }
330 
331     @java.lang.Override
getDefaultInstanceForType()332     public com.google.privacy.dlp.v2.CloudStorageFileSet getDefaultInstanceForType() {
333       return com.google.privacy.dlp.v2.CloudStorageFileSet.getDefaultInstance();
334     }
335 
336     @java.lang.Override
build()337     public com.google.privacy.dlp.v2.CloudStorageFileSet build() {
338       com.google.privacy.dlp.v2.CloudStorageFileSet result = buildPartial();
339       if (!result.isInitialized()) {
340         throw newUninitializedMessageException(result);
341       }
342       return result;
343     }
344 
345     @java.lang.Override
buildPartial()346     public com.google.privacy.dlp.v2.CloudStorageFileSet buildPartial() {
347       com.google.privacy.dlp.v2.CloudStorageFileSet result =
348           new com.google.privacy.dlp.v2.CloudStorageFileSet(this);
349       if (bitField0_ != 0) {
350         buildPartial0(result);
351       }
352       onBuilt();
353       return result;
354     }
355 
buildPartial0(com.google.privacy.dlp.v2.CloudStorageFileSet result)356     private void buildPartial0(com.google.privacy.dlp.v2.CloudStorageFileSet result) {
357       int from_bitField0_ = bitField0_;
358       if (((from_bitField0_ & 0x00000001) != 0)) {
359         result.url_ = url_;
360       }
361     }
362 
363     @java.lang.Override
clone()364     public Builder clone() {
365       return super.clone();
366     }
367 
368     @java.lang.Override
setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)369     public Builder setField(
370         com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
371       return super.setField(field, value);
372     }
373 
374     @java.lang.Override
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)375     public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
376       return super.clearField(field);
377     }
378 
379     @java.lang.Override
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)380     public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
381       return super.clearOneof(oneof);
382     }
383 
384     @java.lang.Override
setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)385     public Builder setRepeatedField(
386         com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
387       return super.setRepeatedField(field, index, value);
388     }
389 
390     @java.lang.Override
addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)391     public Builder addRepeatedField(
392         com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
393       return super.addRepeatedField(field, value);
394     }
395 
396     @java.lang.Override
mergeFrom(com.google.protobuf.Message other)397     public Builder mergeFrom(com.google.protobuf.Message other) {
398       if (other instanceof com.google.privacy.dlp.v2.CloudStorageFileSet) {
399         return mergeFrom((com.google.privacy.dlp.v2.CloudStorageFileSet) other);
400       } else {
401         super.mergeFrom(other);
402         return this;
403       }
404     }
405 
mergeFrom(com.google.privacy.dlp.v2.CloudStorageFileSet other)406     public Builder mergeFrom(com.google.privacy.dlp.v2.CloudStorageFileSet other) {
407       if (other == com.google.privacy.dlp.v2.CloudStorageFileSet.getDefaultInstance()) return this;
408       if (!other.getUrl().isEmpty()) {
409         url_ = other.url_;
410         bitField0_ |= 0x00000001;
411         onChanged();
412       }
413       this.mergeUnknownFields(other.getUnknownFields());
414       onChanged();
415       return this;
416     }
417 
418     @java.lang.Override
isInitialized()419     public final boolean isInitialized() {
420       return true;
421     }
422 
423     @java.lang.Override
mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)424     public Builder mergeFrom(
425         com.google.protobuf.CodedInputStream input,
426         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
427         throws java.io.IOException {
428       if (extensionRegistry == null) {
429         throw new java.lang.NullPointerException();
430       }
431       try {
432         boolean done = false;
433         while (!done) {
434           int tag = input.readTag();
435           switch (tag) {
436             case 0:
437               done = true;
438               break;
439             case 10:
440               {
441                 url_ = input.readStringRequireUtf8();
442                 bitField0_ |= 0x00000001;
443                 break;
444               } // case 10
445             default:
446               {
447                 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
448                   done = true; // was an endgroup tag
449                 }
450                 break;
451               } // default:
452           } // switch (tag)
453         } // while (!done)
454       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
455         throw e.unwrapIOException();
456       } finally {
457         onChanged();
458       } // finally
459       return this;
460     }
461 
462     private int bitField0_;
463 
464     private java.lang.Object url_ = "";
465     /**
466      *
467      *
468      * <pre>
469      * The url, in the format `gs://&lt;bucket&gt;/&lt;path&gt;`. Trailing wildcard in the
470      * path is allowed.
471      * </pre>
472      *
473      * <code>string url = 1;</code>
474      *
475      * @return The url.
476      */
getUrl()477     public java.lang.String getUrl() {
478       java.lang.Object ref = url_;
479       if (!(ref instanceof java.lang.String)) {
480         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
481         java.lang.String s = bs.toStringUtf8();
482         url_ = s;
483         return s;
484       } else {
485         return (java.lang.String) ref;
486       }
487     }
488     /**
489      *
490      *
491      * <pre>
492      * The url, in the format `gs://&lt;bucket&gt;/&lt;path&gt;`. Trailing wildcard in the
493      * path is allowed.
494      * </pre>
495      *
496      * <code>string url = 1;</code>
497      *
498      * @return The bytes for url.
499      */
getUrlBytes()500     public com.google.protobuf.ByteString getUrlBytes() {
501       java.lang.Object ref = url_;
502       if (ref instanceof String) {
503         com.google.protobuf.ByteString b =
504             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
505         url_ = b;
506         return b;
507       } else {
508         return (com.google.protobuf.ByteString) ref;
509       }
510     }
511     /**
512      *
513      *
514      * <pre>
515      * The url, in the format `gs://&lt;bucket&gt;/&lt;path&gt;`. Trailing wildcard in the
516      * path is allowed.
517      * </pre>
518      *
519      * <code>string url = 1;</code>
520      *
521      * @param value The url to set.
522      * @return This builder for chaining.
523      */
setUrl(java.lang.String value)524     public Builder setUrl(java.lang.String value) {
525       if (value == null) {
526         throw new NullPointerException();
527       }
528       url_ = value;
529       bitField0_ |= 0x00000001;
530       onChanged();
531       return this;
532     }
533     /**
534      *
535      *
536      * <pre>
537      * The url, in the format `gs://&lt;bucket&gt;/&lt;path&gt;`. Trailing wildcard in the
538      * path is allowed.
539      * </pre>
540      *
541      * <code>string url = 1;</code>
542      *
543      * @return This builder for chaining.
544      */
clearUrl()545     public Builder clearUrl() {
546       url_ = getDefaultInstance().getUrl();
547       bitField0_ = (bitField0_ & ~0x00000001);
548       onChanged();
549       return this;
550     }
551     /**
552      *
553      *
554      * <pre>
555      * The url, in the format `gs://&lt;bucket&gt;/&lt;path&gt;`. Trailing wildcard in the
556      * path is allowed.
557      * </pre>
558      *
559      * <code>string url = 1;</code>
560      *
561      * @param value The bytes for url to set.
562      * @return This builder for chaining.
563      */
setUrlBytes(com.google.protobuf.ByteString value)564     public Builder setUrlBytes(com.google.protobuf.ByteString value) {
565       if (value == null) {
566         throw new NullPointerException();
567       }
568       checkByteStringIsUtf8(value);
569       url_ = value;
570       bitField0_ |= 0x00000001;
571       onChanged();
572       return this;
573     }
574 
575     @java.lang.Override
setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)576     public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
577       return super.setUnknownFields(unknownFields);
578     }
579 
580     @java.lang.Override
mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)581     public final Builder mergeUnknownFields(
582         final com.google.protobuf.UnknownFieldSet unknownFields) {
583       return super.mergeUnknownFields(unknownFields);
584     }
585 
586     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CloudStorageFileSet)
587   }
588 
589   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CloudStorageFileSet)
590   private static final com.google.privacy.dlp.v2.CloudStorageFileSet DEFAULT_INSTANCE;
591 
592   static {
593     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CloudStorageFileSet();
594   }
595 
getDefaultInstance()596   public static com.google.privacy.dlp.v2.CloudStorageFileSet getDefaultInstance() {
597     return DEFAULT_INSTANCE;
598   }
599 
600   private static final com.google.protobuf.Parser<CloudStorageFileSet> PARSER =
601       new com.google.protobuf.AbstractParser<CloudStorageFileSet>() {
602         @java.lang.Override
603         public CloudStorageFileSet parsePartialFrom(
604             com.google.protobuf.CodedInputStream input,
605             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
606             throws com.google.protobuf.InvalidProtocolBufferException {
607           Builder builder = newBuilder();
608           try {
609             builder.mergeFrom(input, extensionRegistry);
610           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
611             throw e.setUnfinishedMessage(builder.buildPartial());
612           } catch (com.google.protobuf.UninitializedMessageException e) {
613             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
614           } catch (java.io.IOException e) {
615             throw new com.google.protobuf.InvalidProtocolBufferException(e)
616                 .setUnfinishedMessage(builder.buildPartial());
617           }
618           return builder.buildPartial();
619         }
620       };
621 
parser()622   public static com.google.protobuf.Parser<CloudStorageFileSet> parser() {
623     return PARSER;
624   }
625 
626   @java.lang.Override
getParserForType()627   public com.google.protobuf.Parser<CloudStorageFileSet> getParserForType() {
628     return PARSER;
629   }
630 
631   @java.lang.Override
getDefaultInstanceForType()632   public com.google.privacy.dlp.v2.CloudStorageFileSet getDefaultInstanceForType() {
633     return DEFAULT_INSTANCE;
634   }
635 }
636