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

Commit cb13e1b

Browse files
yoshi-automationchingor13
authored andcommitted
docs(regen): updated javadocs from protoc update (#22)
1 parent c7deacc commit cb13e1b

142 files changed

Lines changed: 4340 additions & 475 deletions

File tree

Some content is hidden

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

proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CrawledUrl.java

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ private CrawledUrl() {
4545
body_ = "";
4646
}
4747

48+
@java.lang.Override
49+
@SuppressWarnings({"unused"})
50+
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
51+
return new CrawledUrl();
52+
}
53+
4854
@java.lang.Override
4955
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
5056
return this.unknownFields;
@@ -58,7 +64,6 @@ private CrawledUrl(
5864
if (extensionRegistry == null) {
5965
throw new java.lang.NullPointerException();
6066
}
61-
int mutable_bitField0_ = 0;
6267
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
6368
com.google.protobuf.UnknownFieldSet.newBuilder();
6469
try {
@@ -135,6 +140,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
135140
* </pre>
136141
*
137142
* <code>string http_method = 1;</code>
143+
*
144+
* @return The httpMethod.
138145
*/
139146
public java.lang.String getHttpMethod() {
140147
java.lang.Object ref = httpMethod_;
@@ -156,6 +163,8 @@ public java.lang.String getHttpMethod() {
156163
* </pre>
157164
*
158165
* <code>string http_method = 1;</code>
166+
*
167+
* @return The bytes for httpMethod.
159168
*/
160169
public com.google.protobuf.ByteString getHttpMethodBytes() {
161170
java.lang.Object ref = httpMethod_;
@@ -179,6 +188,8 @@ public com.google.protobuf.ByteString getHttpMethodBytes() {
179188
* </pre>
180189
*
181190
* <code>string url = 2;</code>
191+
*
192+
* @return The url.
182193
*/
183194
public java.lang.String getUrl() {
184195
java.lang.Object ref = url_;
@@ -199,6 +210,8 @@ public java.lang.String getUrl() {
199210
* </pre>
200211
*
201212
* <code>string url = 2;</code>
213+
*
214+
* @return The bytes for url.
202215
*/
203216
public com.google.protobuf.ByteString getUrlBytes() {
204217
java.lang.Object ref = url_;
@@ -222,6 +235,8 @@ public com.google.protobuf.ByteString getUrlBytes() {
222235
* </pre>
223236
*
224237
* <code>string body = 3;</code>
238+
*
239+
* @return The body.
225240
*/
226241
public java.lang.String getBody() {
227242
java.lang.Object ref = body_;
@@ -242,6 +257,8 @@ public java.lang.String getBody() {
242257
* </pre>
243258
*
244259
* <code>string body = 3;</code>
260+
*
261+
* @return The bytes for body.
245262
*/
246263
public com.google.protobuf.ByteString getBodyBytes() {
247264
java.lang.Object ref = body_;
@@ -618,6 +635,8 @@ public Builder mergeFrom(
618635
* </pre>
619636
*
620637
* <code>string http_method = 1;</code>
638+
*
639+
* @return The httpMethod.
621640
*/
622641
public java.lang.String getHttpMethod() {
623642
java.lang.Object ref = httpMethod_;
@@ -639,6 +658,8 @@ public java.lang.String getHttpMethod() {
639658
* </pre>
640659
*
641660
* <code>string http_method = 1;</code>
661+
*
662+
* @return The bytes for httpMethod.
642663
*/
643664
public com.google.protobuf.ByteString getHttpMethodBytes() {
644665
java.lang.Object ref = httpMethod_;
@@ -660,6 +681,9 @@ public com.google.protobuf.ByteString getHttpMethodBytes() {
660681
* </pre>
661682
*
662683
* <code>string http_method = 1;</code>
684+
*
685+
* @param value The httpMethod to set.
686+
* @return This builder for chaining.
663687
*/
664688
public Builder setHttpMethod(java.lang.String value) {
665689
if (value == null) {
@@ -679,6 +703,8 @@ public Builder setHttpMethod(java.lang.String value) {
679703
* </pre>
680704
*
681705
* <code>string http_method = 1;</code>
706+
*
707+
* @return This builder for chaining.
682708
*/
683709
public Builder clearHttpMethod() {
684710

@@ -695,6 +721,9 @@ public Builder clearHttpMethod() {
695721
* </pre>
696722
*
697723
* <code>string http_method = 1;</code>
724+
*
725+
* @param value The bytes for httpMethod to set.
726+
* @return This builder for chaining.
698727
*/
699728
public Builder setHttpMethodBytes(com.google.protobuf.ByteString value) {
700729
if (value == null) {
@@ -716,6 +745,8 @@ public Builder setHttpMethodBytes(com.google.protobuf.ByteString value) {
716745
* </pre>
717746
*
718747
* <code>string url = 2;</code>
748+
*
749+
* @return The url.
719750
*/
720751
public java.lang.String getUrl() {
721752
java.lang.Object ref = url_;
@@ -736,6 +767,8 @@ public java.lang.String getUrl() {
736767
* </pre>
737768
*
738769
* <code>string url = 2;</code>
770+
*
771+
* @return The bytes for url.
739772
*/
740773
public com.google.protobuf.ByteString getUrlBytes() {
741774
java.lang.Object ref = url_;
@@ -756,6 +789,9 @@ public com.google.protobuf.ByteString getUrlBytes() {
756789
* </pre>
757790
*
758791
* <code>string url = 2;</code>
792+
*
793+
* @param value The url to set.
794+
* @return This builder for chaining.
759795
*/
760796
public Builder setUrl(java.lang.String value) {
761797
if (value == null) {
@@ -774,6 +810,8 @@ public Builder setUrl(java.lang.String value) {
774810
* </pre>
775811
*
776812
* <code>string url = 2;</code>
813+
*
814+
* @return This builder for chaining.
777815
*/
778816
public Builder clearUrl() {
779817

@@ -789,6 +827,9 @@ public Builder clearUrl() {
789827
* </pre>
790828
*
791829
* <code>string url = 2;</code>
830+
*
831+
* @param value The bytes for url to set.
832+
* @return This builder for chaining.
792833
*/
793834
public Builder setUrlBytes(com.google.protobuf.ByteString value) {
794835
if (value == null) {
@@ -810,6 +851,8 @@ public Builder setUrlBytes(com.google.protobuf.ByteString value) {
810851
* </pre>
811852
*
812853
* <code>string body = 3;</code>
854+
*
855+
* @return The body.
813856
*/
814857
public java.lang.String getBody() {
815858
java.lang.Object ref = body_;
@@ -830,6 +873,8 @@ public java.lang.String getBody() {
830873
* </pre>
831874
*
832875
* <code>string body = 3;</code>
876+
*
877+
* @return The bytes for body.
833878
*/
834879
public com.google.protobuf.ByteString getBodyBytes() {
835880
java.lang.Object ref = body_;
@@ -850,6 +895,9 @@ public com.google.protobuf.ByteString getBodyBytes() {
850895
* </pre>
851896
*
852897
* <code>string body = 3;</code>
898+
*
899+
* @param value The body to set.
900+
* @return This builder for chaining.
853901
*/
854902
public Builder setBody(java.lang.String value) {
855903
if (value == null) {
@@ -868,6 +916,8 @@ public Builder setBody(java.lang.String value) {
868916
* </pre>
869917
*
870918
* <code>string body = 3;</code>
919+
*
920+
* @return This builder for chaining.
871921
*/
872922
public Builder clearBody() {
873923

@@ -883,6 +933,9 @@ public Builder clearBody() {
883933
* </pre>
884934
*
885935
* <code>string body = 3;</code>
936+
*
937+
* @param value The bytes for body to set.
938+
* @return This builder for chaining.
886939
*/
887940
public Builder setBodyBytes(com.google.protobuf.ByteString value) {
888941
if (value == null) {

proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CrawledUrlOrBuilder.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ public interface CrawledUrlOrBuilder
3232
* </pre>
3333
*
3434
* <code>string http_method = 1;</code>
35+
*
36+
* @return The httpMethod.
3537
*/
3638
java.lang.String getHttpMethod();
3739
/**
@@ -43,6 +45,8 @@ public interface CrawledUrlOrBuilder
4345
* </pre>
4446
*
4547
* <code>string http_method = 1;</code>
48+
*
49+
* @return The bytes for httpMethod.
4650
*/
4751
com.google.protobuf.ByteString getHttpMethodBytes();
4852

@@ -54,6 +58,8 @@ public interface CrawledUrlOrBuilder
5458
* </pre>
5559
*
5660
* <code>string url = 2;</code>
61+
*
62+
* @return The url.
5763
*/
5864
java.lang.String getUrl();
5965
/**
@@ -64,6 +70,8 @@ public interface CrawledUrlOrBuilder
6470
* </pre>
6571
*
6672
* <code>string url = 2;</code>
73+
*
74+
* @return The bytes for url.
6775
*/
6876
com.google.protobuf.ByteString getUrlBytes();
6977

@@ -75,6 +83,8 @@ public interface CrawledUrlOrBuilder
7583
* </pre>
7684
*
7785
* <code>string body = 3;</code>
86+
*
87+
* @return The body.
7888
*/
7989
java.lang.String getBody();
8090
/**
@@ -85,6 +95,8 @@ public interface CrawledUrlOrBuilder
8595
* </pre>
8696
*
8797
* <code>string body = 3;</code>
98+
*
99+
* @return The bytes for body.
88100
*/
89101
com.google.protobuf.ByteString getBodyBytes();
90102
}

proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CrawledUrlProto.java

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
5050
+ "curityscanner/v1alpha;websecurityscanner"
5151
+ "b\006proto3"
5252
};
53-
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
54-
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
55-
public com.google.protobuf.ExtensionRegistry assignDescriptors(
56-
com.google.protobuf.Descriptors.FileDescriptor root) {
57-
descriptor = root;
58-
return null;
59-
}
60-
};
61-
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
62-
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}, assigner);
53+
descriptor =
54+
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
55+
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
6356
internal_static_google_cloud_websecurityscanner_v1alpha_CrawledUrl_descriptor =
6457
getDescriptor().getMessageTypes().get(0);
6558
internal_static_google_cloud_websecurityscanner_v1alpha_CrawledUrl_fieldAccessorTable =

0 commit comments

Comments
 (0)