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

Commit

Permalink
docs(regen): updated docs from protoc update (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and chingor13 committed Dec 18, 2019
1 parent be3b978 commit 3ef4d57
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 26 deletions.
Expand Up @@ -70,23 +70,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\\Cloud\\PhishingProtection\\V1beta1b\006proto"
+ "3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.ClientProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
},
assigner);
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.ClientProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
});
internal_static_google_cloud_phishingprotection_v1beta1_ReportPhishingRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_cloud_phishingprotection_v1beta1_ReportPhishingRequest_fieldAccessorTable =
Expand Down
Expand Up @@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;

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

Expand Down
Expand Up @@ -42,6 +42,12 @@ private ReportPhishingRequest() {
uri_ = "";
}

@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ReportPhishingRequest();
}

@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
Expand All @@ -55,7 +61,6 @@ private ReportPhishingRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
Expand Down Expand Up @@ -127,6 +132,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* <code>
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
Expand All @@ -150,6 +157,8 @@ public java.lang.String getParent() {
* <code>
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
Expand All @@ -173,6 +182,8 @@ public com.google.protobuf.ByteString getParentBytes() {
* </pre>
*
* <code>string uri = 2 [(.google.api.field_behavior) = REQUIRED];</code>
*
* @return The uri.
*/
public java.lang.String getUri() {
java.lang.Object ref = uri_;
Expand All @@ -193,6 +204,8 @@ public java.lang.String getUri() {
* </pre>
*
* <code>string uri = 2 [(.google.api.field_behavior) = REQUIRED];</code>
*
* @return The bytes for uri.
*/
public com.google.protobuf.ByteString getUriBytes() {
java.lang.Object ref = uri_;
Expand Down Expand Up @@ -553,6 +566,8 @@ public Builder mergeFrom(
* <code>
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
Expand All @@ -576,6 +591,8 @@ public java.lang.String getParent() {
* <code>
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
Expand All @@ -599,6 +616,9 @@ public com.google.protobuf.ByteString getParentBytes() {
* <code>
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @param value The parent to set.
* @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
Expand All @@ -620,6 +640,8 @@ public Builder setParent(java.lang.String value) {
* <code>
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return This builder for chaining.
*/
public Builder clearParent() {

Expand All @@ -638,6 +660,9 @@ public Builder clearParent() {
* <code>
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @param value The bytes for parent to set.
* @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
Expand All @@ -659,6 +684,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
* </pre>
*
* <code>string uri = 2 [(.google.api.field_behavior) = REQUIRED];</code>
*
* @return The uri.
*/
public java.lang.String getUri() {
java.lang.Object ref = uri_;
Expand All @@ -679,6 +706,8 @@ public java.lang.String getUri() {
* </pre>
*
* <code>string uri = 2 [(.google.api.field_behavior) = REQUIRED];</code>
*
* @return The bytes for uri.
*/
public com.google.protobuf.ByteString getUriBytes() {
java.lang.Object ref = uri_;
Expand All @@ -699,6 +728,9 @@ public com.google.protobuf.ByteString getUriBytes() {
* </pre>
*
* <code>string uri = 2 [(.google.api.field_behavior) = REQUIRED];</code>
*
* @param value The uri to set.
* @return This builder for chaining.
*/
public Builder setUri(java.lang.String value) {
if (value == null) {
Expand All @@ -717,6 +749,8 @@ public Builder setUri(java.lang.String value) {
* </pre>
*
* <code>string uri = 2 [(.google.api.field_behavior) = REQUIRED];</code>
*
* @return This builder for chaining.
*/
public Builder clearUri() {

Expand All @@ -732,6 +766,9 @@ public Builder clearUri() {
* </pre>
*
* <code>string uri = 2 [(.google.api.field_behavior) = REQUIRED];</code>
*
* @param value The bytes for uri to set.
* @return This builder for chaining.
*/
public Builder setUriBytes(com.google.protobuf.ByteString value) {
if (value == null) {
Expand Down
Expand Up @@ -34,6 +34,8 @@ public interface ReportPhishingRequestOrBuilder
* <code>
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The parent.
*/
java.lang.String getParent();
/**
Expand All @@ -47,6 +49,8 @@ public interface ReportPhishingRequestOrBuilder
* <code>
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();

Expand All @@ -58,6 +62,8 @@ public interface ReportPhishingRequestOrBuilder
* </pre>
*
* <code>string uri = 2 [(.google.api.field_behavior) = REQUIRED];</code>
*
* @return The uri.
*/
java.lang.String getUri();
/**
Expand All @@ -68,6 +74,8 @@ public interface ReportPhishingRequestOrBuilder
* </pre>
*
* <code>string uri = 2 [(.google.api.field_behavior) = REQUIRED];</code>
*
* @return The bytes for uri.
*/
com.google.protobuf.ByteString getUriBytes();
}
Expand Up @@ -39,6 +39,12 @@ private ReportPhishingResponse(com.google.protobuf.GeneratedMessageV3.Builder<?>

private ReportPhishingResponse() {}

@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ReportPhishingResponse();
}

@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
Expand Down
14 changes: 7 additions & 7 deletions synth.metadata
@@ -1,26 +1,26 @@
{
"updateTime": "2019-11-20T18:19:06.140510Z",
"updateTime": "2019-12-12T08:47:37.273438Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.42.1",
"dockerImage": "googleapis/artman@sha256:c773192618c608a7a0415dd95282f841f8e6bcdef7dd760a988c93b77a64bd57"
"version": "0.42.2",
"dockerImage": "googleapis/artman@sha256:a86051ce32e2454ca2558ec9e437d46c2184b6dd291f57b0686676d77242658e"
}
},
{
"generator": {
"name": "artman",
"version": "0.42.1",
"dockerImage": "googleapis/artman@sha256:c773192618c608a7a0415dd95282f841f8e6bcdef7dd760a988c93b77a64bd57"
"version": "0.42.2",
"dockerImage": "googleapis/artman@sha256:a86051ce32e2454ca2558ec9e437d46c2184b6dd291f57b0686676d77242658e"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "16543773103e2619d2b5f52456264de5bb9be104",
"internalRef": "281423227"
"sha": "19c4589a3cb44b3679f7b3fba88365b3d055d5f8",
"internalRef": "285013366"
}
},
{
Expand Down

0 comments on commit 3ef4d57

Please sign in to comment.