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

Commit bbbd3a2

Browse files
yoshi-automationchingor13
authored andcommitted
docs(regen): updated docs from protoc update (#24)
1 parent e040a89 commit bbbd3a2

245 files changed

Lines changed: 4940 additions & 624 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-containeranalysis-v1/src/main/java/com/google/containeranalysis/v1/Containeranalysis.java

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -64,23 +64,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
6464
+ "lysis.V1\352\002$Google::Cloud::ContainerAnaly"
6565
+ "sis::V1b\006proto3"
6666
};
67-
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
68-
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
69-
public com.google.protobuf.ExtensionRegistry assignDescriptors(
70-
com.google.protobuf.Descriptors.FileDescriptor root) {
71-
descriptor = root;
72-
return null;
73-
}
74-
};
75-
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
76-
descriptorData,
77-
new com.google.protobuf.Descriptors.FileDescriptor[] {
78-
com.google.api.AnnotationsProto.getDescriptor(),
79-
com.google.iam.v1.IamPolicyProto.getDescriptor(),
80-
com.google.iam.v1.PolicyProto.getDescriptor(),
81-
com.google.protobuf.TimestampProto.getDescriptor(),
82-
},
83-
assigner);
67+
descriptor =
68+
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
69+
descriptorData,
70+
new com.google.protobuf.Descriptors.FileDescriptor[] {
71+
com.google.api.AnnotationsProto.getDescriptor(),
72+
com.google.iam.v1.IamPolicyProto.getDescriptor(),
73+
com.google.iam.v1.PolicyProto.getDescriptor(),
74+
com.google.protobuf.TimestampProto.getDescriptor(),
75+
});
8476
com.google.protobuf.ExtensionRegistry registry =
8577
com.google.protobuf.ExtensionRegistry.newInstance();
8678
registry.add(com.google.api.AnnotationsProto.http);

proto-google-cloud-containeranalysis-v1/src/main/java/com/google/containeranalysis/v1/IamResourceName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import com.google.api.resourcenames.ResourceName;
2020

21-
// AUTO-GENERATED DOCUMENTATION AND CLASS
21+
/** AUTO-GENERATED DOCUMENTATION AND CLASS */
2222
@javax.annotation.Generated("by GAPIC protoc plugin")
2323
public abstract class IamResourceName implements ResourceName {
2424
protected IamResourceName() {}

proto-google-cloud-containeranalysis-v1/src/main/java/com/google/containeranalysis/v1/IamResourceNames.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,13 @@
1616

1717
package com.google.containeranalysis.v1;
1818

19-
// AUTO-GENERATED DOCUMENTATION AND CLASS
19+
/**
20+
* AUTO-GENERATED DOCUMENTATION AND CLASS
21+
*
22+
* @deprecated This resource name class will be removed in the next major version.
23+
*/
2024
@javax.annotation.Generated("by GAPIC protoc plugin")
25+
@Deprecated
2126
public class IamResourceNames {
2227
private IamResourceNames() {}
2328

proto-google-cloud-containeranalysis-v1/src/main/java/com/google/containeranalysis/v1/NoteName.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,13 @@
2323
import java.util.List;
2424
import java.util.Map;
2525

26-
// AUTO-GENERATED DOCUMENTATION AND CLASS
26+
/**
27+
* AUTO-GENERATED DOCUMENTATION AND CLASS
28+
*
29+
* @deprecated This resource name class will be removed in the next major version.
30+
*/
2731
@javax.annotation.Generated("by GAPIC protoc plugin")
32+
@Deprecated
2833
public class NoteName extends IamResourceName {
2934

3035
private static final PathTemplate PATH_TEMPLATE =

proto-google-cloud-containeranalysis-v1/src/main/java/com/google/containeranalysis/v1/OccurrenceName.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,13 @@
2323
import java.util.List;
2424
import java.util.Map;
2525

26-
// AUTO-GENERATED DOCUMENTATION AND CLASS
26+
/**
27+
* AUTO-GENERATED DOCUMENTATION AND CLASS
28+
*
29+
* @deprecated This resource name class will be removed in the next major version.
30+
*/
2731
@javax.annotation.Generated("by GAPIC protoc plugin")
32+
@Deprecated
2833
public class OccurrenceName extends IamResourceName {
2934

3035
private static final PathTemplate PATH_TEMPLATE =

proto-google-cloud-containeranalysis-v1/src/main/java/com/google/containeranalysis/v1/ProjectName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import java.util.List;
2525
import java.util.Map;
2626

27-
// AUTO-GENERATED DOCUMENTATION AND CLASS
27+
/** AUTO-GENERATED DOCUMENTATION AND CLASS */
2828
@javax.annotation.Generated("by GAPIC protoc plugin")
2929
public class ProjectName implements ResourceName {
3030

proto-google-cloud-containeranalysis-v1/src/main/java/com/google/containeranalysis/v1/UntypedIamResourceName.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,13 @@
2323
import java.util.List;
2424
import java.util.Map;
2525

26-
// AUTO-GENERATED DOCUMENTATION AND CLASS
26+
/**
27+
* AUTO-GENERATED DOCUMENTATION AND CLASS
28+
*
29+
* @deprecated This resource name class will be removed in the next major version.
30+
*/
2731
@javax.annotation.Generated("by GAPIC protoc plugin")
32+
@Deprecated
2833
public class UntypedIamResourceName extends IamResourceName {
2934

3035
private final String rawValue;

proto-google-cloud-containeranalysis-v1beta1/src/main/java/com/google/containeranalysis/v1beta1/Containeranalysis.java

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -113,23 +113,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
113113
+ "ntaineranalysis/v1beta1;containeranalysi"
114114
+ "s\242\002\003GCAb\006proto3"
115115
};
116-
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
117-
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
118-
public com.google.protobuf.ExtensionRegistry assignDescriptors(
119-
com.google.protobuf.Descriptors.FileDescriptor root) {
120-
descriptor = root;
121-
return null;
122-
}
123-
};
124-
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
125-
descriptorData,
126-
new com.google.protobuf.Descriptors.FileDescriptor[] {
127-
com.google.api.AnnotationsProto.getDescriptor(),
128-
com.google.iam.v1.IamPolicyProto.getDescriptor(),
129-
com.google.iam.v1.PolicyProto.getDescriptor(),
130-
com.google.protobuf.TimestampProto.getDescriptor(),
131-
},
132-
assigner);
116+
descriptor =
117+
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
118+
descriptorData,
119+
new com.google.protobuf.Descriptors.FileDescriptor[] {
120+
com.google.api.AnnotationsProto.getDescriptor(),
121+
com.google.iam.v1.IamPolicyProto.getDescriptor(),
122+
com.google.iam.v1.PolicyProto.getDescriptor(),
123+
com.google.protobuf.TimestampProto.getDescriptor(),
124+
});
133125
internal_static_google_devtools_containeranalysis_v1beta1_ScanConfig_descriptor =
134126
getDescriptor().getMessageTypes().get(0);
135127
internal_static_google_devtools_containeranalysis_v1beta1_ScanConfig_fieldAccessorTable =

proto-google-cloud-containeranalysis-v1beta1/src/main/java/com/google/containeranalysis/v1beta1/GetScanConfigRequest.java

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ private GetScanConfigRequest() {
4141
name_ = "";
4242
}
4343

44+
@java.lang.Override
45+
@SuppressWarnings({"unused"})
46+
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
47+
return new GetScanConfigRequest();
48+
}
49+
4450
@java.lang.Override
4551
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
4652
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetScanConfigRequest(
5460
if (extensionRegistry == null) {
5561
throw new java.lang.NullPointerException();
5662
}
57-
int mutable_bitField0_ = 0;
5863
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
5964
com.google.protobuf.UnknownFieldSet.newBuilder();
6065
try {
@@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
117122
* </pre>
118123
*
119124
* <code>string name = 1;</code>
125+
*
126+
* @return The name.
120127
*/
121128
public java.lang.String getName() {
122129
java.lang.Object ref = name_;
@@ -138,6 +145,8 @@ public java.lang.String getName() {
138145
* </pre>
139146
*
140147
* <code>string name = 1;</code>
148+
*
149+
* @return The bytes for name.
141150
*/
142151
public com.google.protobuf.ByteString getNameBytes() {
143152
java.lang.Object ref = name_;
@@ -480,6 +489,8 @@ public Builder mergeFrom(
480489
* </pre>
481490
*
482491
* <code>string name = 1;</code>
492+
*
493+
* @return The name.
483494
*/
484495
public java.lang.String getName() {
485496
java.lang.Object ref = name_;
@@ -501,6 +512,8 @@ public java.lang.String getName() {
501512
* </pre>
502513
*
503514
* <code>string name = 1;</code>
515+
*
516+
* @return The bytes for name.
504517
*/
505518
public com.google.protobuf.ByteString getNameBytes() {
506519
java.lang.Object ref = name_;
@@ -522,6 +535,9 @@ public com.google.protobuf.ByteString getNameBytes() {
522535
* </pre>
523536
*
524537
* <code>string name = 1;</code>
538+
*
539+
* @param value The name to set.
540+
* @return This builder for chaining.
525541
*/
526542
public Builder setName(java.lang.String value) {
527543
if (value == null) {
@@ -541,6 +557,8 @@ public Builder setName(java.lang.String value) {
541557
* </pre>
542558
*
543559
* <code>string name = 1;</code>
560+
*
561+
* @return This builder for chaining.
544562
*/
545563
public Builder clearName() {
546564

@@ -557,6 +575,9 @@ public Builder clearName() {
557575
* </pre>
558576
*
559577
* <code>string name = 1;</code>
578+
*
579+
* @param value The bytes for name to set.
580+
* @return This builder for chaining.
560581
*/
561582
public Builder setNameBytes(com.google.protobuf.ByteString value) {
562583
if (value == null) {

proto-google-cloud-containeranalysis-v1beta1/src/main/java/com/google/containeranalysis/v1beta1/GetScanConfigRequestOrBuilder.java

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

0 commit comments

Comments
 (0)