Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit f9132b6

Browse files
yoshi-automationchingor13
authored andcommitted
docs(regen): updated docs from protoc update (#26)
1 parent 8445988 commit f9132b6

File tree

638 files changed

+17315
-2071
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

638 files changed

+17315
-2071
lines changed

proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AddProductToProductSetRequest.java

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ private AddProductToProductSetRequest() {
4242
product_ = "";
4343
}
4444

45+
@java.lang.Override
46+
@SuppressWarnings({"unused"})
47+
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
48+
return new AddProductToProductSetRequest();
49+
}
50+
4551
@java.lang.Override
4652
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
4753
return this.unknownFields;
@@ -55,7 +61,6 @@ private AddProductToProductSetRequest(
5561
if (extensionRegistry == null) {
5662
throw new java.lang.NullPointerException();
5763
}
58-
int mutable_bitField0_ = 0;
5964
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
6065
com.google.protobuf.UnknownFieldSet.newBuilder();
6166
try {
@@ -128,6 +133,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
128133
* <code>
129134
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
130135
* </code>
136+
*
137+
* @return The name.
131138
*/
132139
public java.lang.String getName() {
133140
java.lang.Object ref = name_;
@@ -152,6 +159,8 @@ public java.lang.String getName() {
152159
* <code>
153160
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
154161
* </code>
162+
*
163+
* @return The bytes for name.
155164
*/
156165
public com.google.protobuf.ByteString getNameBytes() {
157166
java.lang.Object ref = name_;
@@ -179,6 +188,8 @@ public com.google.protobuf.ByteString getNameBytes() {
179188
* <code>
180189
* string product = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
181190
* </code>
191+
*
192+
* @return The product.
182193
*/
183194
public java.lang.String getProduct() {
184195
java.lang.Object ref = product_;
@@ -203,6 +214,8 @@ public java.lang.String getProduct() {
203214
* <code>
204215
* string product = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
205216
* </code>
217+
*
218+
* @return The bytes for product.
206219
*/
207220
public com.google.protobuf.ByteString getProductBytes() {
208221
java.lang.Object ref = product_;
@@ -564,6 +577,8 @@ public Builder mergeFrom(
564577
* <code>
565578
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
566579
* </code>
580+
*
581+
* @return The name.
567582
*/
568583
public java.lang.String getName() {
569584
java.lang.Object ref = name_;
@@ -588,6 +603,8 @@ public java.lang.String getName() {
588603
* <code>
589604
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
590605
* </code>
606+
*
607+
* @return The bytes for name.
591608
*/
592609
public com.google.protobuf.ByteString getNameBytes() {
593610
java.lang.Object ref = name_;
@@ -612,6 +629,9 @@ public com.google.protobuf.ByteString getNameBytes() {
612629
* <code>
613630
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
614631
* </code>
632+
*
633+
* @param value The name to set.
634+
* @return This builder for chaining.
615635
*/
616636
public Builder setName(java.lang.String value) {
617637
if (value == null) {
@@ -634,6 +654,8 @@ public Builder setName(java.lang.String value) {
634654
* <code>
635655
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
636656
* </code>
657+
*
658+
* @return This builder for chaining.
637659
*/
638660
public Builder clearName() {
639661

@@ -653,6 +675,9 @@ public Builder clearName() {
653675
* <code>
654676
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
655677
* </code>
678+
*
679+
* @param value The bytes for name to set.
680+
* @return This builder for chaining.
656681
*/
657682
public Builder setNameBytes(com.google.protobuf.ByteString value) {
658683
if (value == null) {
@@ -678,6 +703,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
678703
* <code>
679704
* string product = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
680705
* </code>
706+
*
707+
* @return The product.
681708
*/
682709
public java.lang.String getProduct() {
683710
java.lang.Object ref = product_;
@@ -702,6 +729,8 @@ public java.lang.String getProduct() {
702729
* <code>
703730
* string product = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
704731
* </code>
732+
*
733+
* @return The bytes for product.
705734
*/
706735
public com.google.protobuf.ByteString getProductBytes() {
707736
java.lang.Object ref = product_;
@@ -726,6 +755,9 @@ public com.google.protobuf.ByteString getProductBytes() {
726755
* <code>
727756
* string product = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
728757
* </code>
758+
*
759+
* @param value The product to set.
760+
* @return This builder for chaining.
729761
*/
730762
public Builder setProduct(java.lang.String value) {
731763
if (value == null) {
@@ -748,6 +780,8 @@ public Builder setProduct(java.lang.String value) {
748780
* <code>
749781
* string product = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
750782
* </code>
783+
*
784+
* @return This builder for chaining.
751785
*/
752786
public Builder clearProduct() {
753787

@@ -767,6 +801,9 @@ public Builder clearProduct() {
767801
* <code>
768802
* string product = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
769803
* </code>
804+
*
805+
* @param value The bytes for product to set.
806+
* @return This builder for chaining.
770807
*/
771808
public Builder setProductBytes(com.google.protobuf.ByteString value) {
772809
if (value == null) {

proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AddProductToProductSetRequestOrBuilder.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ public interface AddProductToProductSetRequestOrBuilder
3535
* <code>
3636
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
3737
* </code>
38+
*
39+
* @return The name.
3840
*/
3941
java.lang.String getName();
4042
/**
@@ -49,6 +51,8 @@ public interface AddProductToProductSetRequestOrBuilder
4951
* <code>
5052
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
5153
* </code>
54+
*
55+
* @return The bytes for name.
5256
*/
5357
com.google.protobuf.ByteString getNameBytes();
5458

@@ -64,6 +68,8 @@ public interface AddProductToProductSetRequestOrBuilder
6468
* <code>
6569
* string product = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
6670
* </code>
71+
*
72+
* @return The product.
6773
*/
6874
java.lang.String getProduct();
6975
/**
@@ -78,6 +84,8 @@ public interface AddProductToProductSetRequestOrBuilder
7884
* <code>
7985
* string product = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
8086
* </code>
87+
*
88+
* @return The bytes for product.
8189
*/
8290
com.google.protobuf.ByteString getProductBytes();
8391
}

0 commit comments

Comments
 (0)