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