diff --git a/gapic-generator-java-pom-parent/pom.xml b/gapic-generator-java-pom-parent/pom.xml index f1183b331c..b8e0366149 100644 --- a/gapic-generator-java-pom-parent/pom.xml +++ b/gapic-generator-java-pom-parent/pom.xml @@ -30,7 +30,7 @@ 1.17.0 2.10.1 31.1-jre - 3.23.1 + 3.23.2 8 diff --git a/gax-java/dependencies.properties b/gax-java/dependencies.properties index 4effee2f4e..b4c98665d4 100644 --- a/gax-java/dependencies.properties +++ b/gax-java/dependencies.properties @@ -23,7 +23,7 @@ version.gax_httpjson=0.113.2-SNAPSHOT # Versions for dependencies which actual artifacts differ between Bazel and Gradle. # Gradle build depends on prebuilt maven artifacts, while Bazel build depends on Bazel workspaces # with the sources. -version.com_google_protobuf=3.21.12 +version.com_google_protobuf=3.23.2 version.google_java_format=1.15.0 version.io_grpc=1.54.0 diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptSequenceRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptSequenceRequest.java index d565a71b42..420908dec5 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptSequenceRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptSequenceRequest.java @@ -26,11 +26,6 @@ protected java.lang.Object newInstance( return new AttemptSequenceRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_AttemptSequenceRequest_descriptor; @@ -191,11 +186,13 @@ public static com.google.showcase.v1beta1.AttemptSequenceRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.AttemptSequenceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.AttemptSequenceRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptStreamingSequenceRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptStreamingSequenceRequest.java index 41183edca6..ac8fd0a9c9 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptStreamingSequenceRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptStreamingSequenceRequest.java @@ -26,11 +26,6 @@ protected java.lang.Object newInstance( return new AttemptStreamingSequenceRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_AttemptStreamingSequenceRequest_descriptor; @@ -191,11 +186,13 @@ public static com.google.showcase.v1beta1.AttemptStreamingSequenceRequest parseF return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.AttemptStreamingSequenceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.AttemptStreamingSequenceRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptStreamingSequenceResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptStreamingSequenceResponse.java index d51a763763..b8f0298e91 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptStreamingSequenceResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptStreamingSequenceResponse.java @@ -30,11 +30,6 @@ protected java.lang.Object newInstance( return new AttemptStreamingSequenceResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_AttemptStreamingSequenceResponse_descriptor; @@ -203,11 +198,13 @@ public static com.google.showcase.v1beta1.AttemptStreamingSequenceResponse parse return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.AttemptStreamingSequenceResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.AttemptStreamingSequenceResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockRequest.java index 7cffb63983..2fea5ae2d2 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockRequest.java @@ -29,11 +29,6 @@ protected java.lang.Object newInstance( return new BlockRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_BlockRequest_descriptor; @@ -48,6 +43,7 @@ protected java.lang.Object newInstance( } private int responseCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object response_; public enum ResponseCase implements com.google.protobuf.Internal.EnumLite, @@ -368,11 +364,13 @@ public static com.google.showcase.v1beta1.BlockRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.BlockRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.BlockRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockRequestOrBuilder.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockRequestOrBuilder.java index 81cce93799..99ad532a5a 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockRequestOrBuilder.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockRequestOrBuilder.java @@ -91,5 +91,5 @@ public interface BlockRequestOrBuilder extends */ com.google.showcase.v1beta1.BlockResponseOrBuilder getSuccessOrBuilder(); - public com.google.showcase.v1beta1.BlockRequest.ResponseCase getResponseCase(); + com.google.showcase.v1beta1.BlockRequest.ResponseCase getResponseCase(); } diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockResponse.java index ada08eb4fb..244f456974 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockResponse.java @@ -30,11 +30,6 @@ protected java.lang.Object newInstance( return new BlockResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_BlockResponse_descriptor; @@ -205,11 +200,13 @@ public static com.google.showcase.v1beta1.BlockResponse parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.BlockResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.BlockResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Blurb.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Blurb.java index 2e76160603..b775dfa7a1 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Blurb.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Blurb.java @@ -32,11 +32,6 @@ protected java.lang.Object newInstance( return new Blurb(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_Blurb_descriptor; @@ -51,6 +46,7 @@ protected java.lang.Object newInstance( } private int contentCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object content_; public enum ContentCase implements com.google.protobuf.Internal.EnumLite, @@ -92,6 +88,7 @@ public int getNumber() { } private int legacyIdCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object legacyId_; public enum LegacyIdCase implements com.google.protobuf.Internal.EnumLite, @@ -762,11 +759,13 @@ public static com.google.showcase.v1beta1.Blurb parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.Blurb parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.Blurb parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlurbOrBuilder.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlurbOrBuilder.java index 08af31258d..e98b776e42 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlurbOrBuilder.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlurbOrBuilder.java @@ -219,7 +219,7 @@ public interface BlurbOrBuilder extends com.google.protobuf.ByteString getLegacyUserIdBytes(); - public com.google.showcase.v1beta1.Blurb.ContentCase getContentCase(); + com.google.showcase.v1beta1.Blurb.ContentCase getContentCase(); - public com.google.showcase.v1beta1.Blurb.LegacyIdCase getLegacyIdCase(); + com.google.showcase.v1beta1.Blurb.LegacyIdCase getLegacyIdCase(); } diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceData.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceData.java index 44e04e8ad0..c4f9d78caf 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceData.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceData.java @@ -35,11 +35,6 @@ protected java.lang.Object newInstance( return new ComplianceData(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.ComplianceOuterClass.internal_static_google_showcase_v1beta1_ComplianceData_descriptor; @@ -994,11 +989,13 @@ public static com.google.showcase.v1beta1.ComplianceData parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ComplianceData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ComplianceData parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1599,7 +1596,7 @@ public int getFInt32() { * @return This builder for chaining. */ public Builder setFInt32(int value) { - + fInt32_ = value; bitField0_ |= 0x00000002; onChanged(); @@ -1631,7 +1628,7 @@ public int getFSint32() { * @return This builder for chaining. */ public Builder setFSint32(int value) { - + fSint32_ = value; bitField0_ |= 0x00000004; onChanged(); @@ -1663,7 +1660,7 @@ public int getFSfixed32() { * @return This builder for chaining. */ public Builder setFSfixed32(int value) { - + fSfixed32_ = value; bitField0_ |= 0x00000008; onChanged(); @@ -1695,7 +1692,7 @@ public int getFUint32() { * @return This builder for chaining. */ public Builder setFUint32(int value) { - + fUint32_ = value; bitField0_ |= 0x00000010; onChanged(); @@ -1727,7 +1724,7 @@ public int getFFixed32() { * @return This builder for chaining. */ public Builder setFFixed32(int value) { - + fFixed32_ = value; bitField0_ |= 0x00000020; onChanged(); @@ -1759,7 +1756,7 @@ public long getFInt64() { * @return This builder for chaining. */ public Builder setFInt64(long value) { - + fInt64_ = value; bitField0_ |= 0x00000040; onChanged(); @@ -1791,7 +1788,7 @@ public long getFSint64() { * @return This builder for chaining. */ public Builder setFSint64(long value) { - + fSint64_ = value; bitField0_ |= 0x00000080; onChanged(); @@ -1823,7 +1820,7 @@ public long getFSfixed64() { * @return This builder for chaining. */ public Builder setFSfixed64(long value) { - + fSfixed64_ = value; bitField0_ |= 0x00000100; onChanged(); @@ -1855,7 +1852,7 @@ public long getFUint64() { * @return This builder for chaining. */ public Builder setFUint64(long value) { - + fUint64_ = value; bitField0_ |= 0x00000200; onChanged(); @@ -1887,7 +1884,7 @@ public long getFFixed64() { * @return This builder for chaining. */ public Builder setFFixed64(long value) { - + fFixed64_ = value; bitField0_ |= 0x00000400; onChanged(); @@ -1919,7 +1916,7 @@ public double getFDouble() { * @return This builder for chaining. */ public Builder setFDouble(double value) { - + fDouble_ = value; bitField0_ |= 0x00000800; onChanged(); @@ -1951,7 +1948,7 @@ public float getFFloat() { * @return This builder for chaining. */ public Builder setFFloat(float value) { - + fFloat_ = value; bitField0_ |= 0x00001000; onChanged(); @@ -1983,7 +1980,7 @@ public boolean getFBool() { * @return This builder for chaining. */ public Builder setFBool(boolean value) { - + fBool_ = value; bitField0_ |= 0x00002000; onChanged(); @@ -2306,7 +2303,7 @@ public int getPInt32() { * @return This builder for chaining. */ public Builder setPInt32(int value) { - + pInt32_ = value; bitField0_ |= 0x00040000; onChanged(); @@ -2346,7 +2343,7 @@ public double getPDouble() { * @return This builder for chaining. */ public Builder setPDouble(double value) { - + pDouble_ = value; bitField0_ |= 0x00080000; onChanged(); @@ -2386,7 +2383,7 @@ public boolean getPBool() { * @return This builder for chaining. */ public Builder setPBool(boolean value) { - + pBool_ = value; bitField0_ |= 0x00100000; onChanged(); diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceDataChild.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceDataChild.java index 4c7b7b1642..c1a4b7d265 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceDataChild.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceDataChild.java @@ -29,11 +29,6 @@ protected java.lang.Object newInstance( return new ComplianceDataChild(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.ComplianceOuterClass.internal_static_google_showcase_v1beta1_ComplianceDataChild_descriptor; @@ -578,11 +573,13 @@ public static com.google.showcase.v1beta1.ComplianceDataChild parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ComplianceDataChild parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ComplianceDataChild parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1045,7 +1042,7 @@ public float getFFloat() { * @return This builder for chaining. */ public Builder setFFloat(float value) { - + fFloat_ = value; bitField0_ |= 0x00000002; onChanged(); @@ -1077,7 +1074,7 @@ public double getFDouble() { * @return This builder for chaining. */ public Builder setFDouble(double value) { - + fDouble_ = value; bitField0_ |= 0x00000004; onChanged(); @@ -1109,7 +1106,7 @@ public boolean getFBool() { * @return This builder for chaining. */ public Builder setFBool(boolean value) { - + fBool_ = value; bitField0_ |= 0x00000008; onChanged(); @@ -1400,7 +1397,7 @@ public float getPFloat() { * @return This builder for chaining. */ public Builder setPFloat(float value) { - + pFloat_ = value; bitField0_ |= 0x00000080; onChanged(); @@ -1440,7 +1437,7 @@ public double getPDouble() { * @return This builder for chaining. */ public Builder setPDouble(double value) { - + pDouble_ = value; bitField0_ |= 0x00000100; onChanged(); @@ -1480,7 +1477,7 @@ public boolean getPBool() { * @return This builder for chaining. */ public Builder setPBool(boolean value) { - + pBool_ = value; bitField0_ |= 0x00000200; onChanged(); diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceDataGrandchild.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceDataGrandchild.java index 72b11003cb..271c8b86de 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceDataGrandchild.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceDataGrandchild.java @@ -26,11 +26,6 @@ protected java.lang.Object newInstance( return new ComplianceDataGrandchild(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.ComplianceOuterClass.internal_static_google_showcase_v1beta1_ComplianceDataGrandchild_descriptor; @@ -238,11 +233,13 @@ public static com.google.showcase.v1beta1.ComplianceDataGrandchild parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ComplianceDataGrandchild parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ComplianceDataGrandchild parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -565,7 +562,7 @@ public double getFDouble() { * @return This builder for chaining. */ public Builder setFDouble(double value) { - + fDouble_ = value; bitField0_ |= 0x00000002; onChanged(); @@ -597,7 +594,7 @@ public boolean getFBool() { * @return This builder for chaining. */ public Builder setFBool(boolean value) { - + fBool_ = value; bitField0_ |= 0x00000004; onChanged(); diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGroup.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGroup.java index 68c1d98408..f520fdfab5 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGroup.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGroup.java @@ -23,7 +23,8 @@ private ComplianceGroup(com.google.protobuf.GeneratedMessageV3.Builder builde } private ComplianceGroup() { name_ = ""; - rpcs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + rpcs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); requests_ = java.util.Collections.emptyList(); } @@ -34,11 +35,6 @@ protected java.lang.Object newInstance( return new ComplianceGroup(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.ComplianceOuterClass.internal_static_google_showcase_v1beta1_ComplianceGroup_descriptor; @@ -93,7 +89,8 @@ public java.lang.String getName() { public static final int RPCS_FIELD_NUMBER = 2; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList rpcs_; + private com.google.protobuf.LazyStringArrayList rpcs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string rpcs = 2; * @return A list containing the rpcs. @@ -306,11 +303,13 @@ public static com.google.showcase.v1beta1.ComplianceGroup parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ComplianceGroup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ComplianceGroup parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -393,8 +392,8 @@ public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; - rpcs_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + rpcs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); if (requestsBuilder_ == null) { requests_ = java.util.Collections.emptyList(); } else { @@ -435,11 +434,6 @@ public com.google.showcase.v1beta1.ComplianceGroup buildPartial() { } private void buildPartialRepeatedFields(com.google.showcase.v1beta1.ComplianceGroup result) { - if (((bitField0_ & 0x00000002) != 0)) { - rpcs_ = rpcs_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.rpcs_ = rpcs_; if (requestsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -456,6 +450,10 @@ private void buildPartial0(com.google.showcase.v1beta1.ComplianceGroup result) { if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } + if (((from_bitField0_ & 0x00000002) != 0)) { + rpcs_.makeImmutable(); + result.rpcs_ = rpcs_; + } } @java.lang.Override @@ -510,7 +508,7 @@ public Builder mergeFrom(com.google.showcase.v1beta1.ComplianceGroup other) { if (!other.rpcs_.isEmpty()) { if (rpcs_.isEmpty()) { rpcs_ = other.rpcs_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ |= 0x00000002; } else { ensureRpcsIsMutable(); rpcs_.addAll(other.rpcs_); @@ -682,12 +680,13 @@ public Builder setNameBytes( return this; } - private com.google.protobuf.LazyStringList rpcs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList rpcs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureRpcsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!rpcs_.isModifiable()) { rpcs_ = new com.google.protobuf.LazyStringArrayList(rpcs_); - bitField0_ |= 0x00000002; - } + } + bitField0_ |= 0x00000002; } /** * repeated string rpcs = 2; @@ -695,7 +694,8 @@ private void ensureRpcsIsMutable() { */ public com.google.protobuf.ProtocolStringList getRpcsList() { - return rpcs_.getUnmodifiableView(); + rpcs_.makeImmutable(); + return rpcs_; } /** * repeated string rpcs = 2; @@ -732,6 +732,7 @@ public Builder setRpcs( if (value == null) { throw new NullPointerException(); } ensureRpcsIsMutable(); rpcs_.set(index, value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -745,6 +746,7 @@ public Builder addRpcs( if (value == null) { throw new NullPointerException(); } ensureRpcsIsMutable(); rpcs_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -758,6 +760,7 @@ public Builder addAllRpcs( ensureRpcsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, rpcs_); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -766,8 +769,9 @@ public Builder addAllRpcs( * @return This builder for chaining. */ public Builder clearRpcs() { - rpcs_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + rpcs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } @@ -782,6 +786,7 @@ public Builder addRpcsBytes( checkByteStringIsUtf8(value); ensureRpcsIsMutable(); rpcs_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceSuite.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceSuite.java index 58cee3e006..2ff03dc036 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceSuite.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceSuite.java @@ -32,11 +32,6 @@ protected java.lang.Object newInstance( return new ComplianceSuite(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.ComplianceOuterClass.internal_static_google_showcase_v1beta1_ComplianceSuite_descriptor; @@ -202,11 +197,13 @@ public static com.google.showcase.v1beta1.ComplianceSuite parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ComplianceSuite parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ComplianceSuite parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ConnectRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ConnectRequest.java index 0826ff499e..ac644f44ce 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ConnectRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ConnectRequest.java @@ -30,11 +30,6 @@ protected java.lang.Object newInstance( return new ConnectRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_ConnectRequest_descriptor; @@ -95,11 +90,6 @@ protected java.lang.Object newInstance( return new ConnectConfig(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_ConnectRequest_ConnectConfig_descriptor; @@ -268,11 +258,13 @@ public static com.google.showcase.v1beta1.ConnectRequest.ConnectConfig parseFrom return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ConnectRequest.ConnectConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ConnectRequest.ConnectConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -640,6 +632,7 @@ public com.google.showcase.v1beta1.ConnectRequest.ConnectConfig getDefaultInstan } private int requestCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object request_; public enum RequestCase implements com.google.protobuf.Internal.EnumLite, @@ -906,11 +899,13 @@ public static com.google.showcase.v1beta1.ConnectRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ConnectRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ConnectRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ConnectRequestOrBuilder.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ConnectRequestOrBuilder.java index 69ed6fc296..64bf69cd41 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ConnectRequestOrBuilder.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ConnectRequestOrBuilder.java @@ -64,5 +64,5 @@ public interface ConnectRequestOrBuilder extends */ com.google.showcase.v1beta1.BlurbOrBuilder getBlurbOrBuilder(); - public com.google.showcase.v1beta1.ConnectRequest.RequestCase getRequestCase(); + com.google.showcase.v1beta1.ConnectRequest.RequestCase getRequestCase(); } diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateBlurbRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateBlurbRequest.java index c39ae40105..d2a560d851 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateBlurbRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateBlurbRequest.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new CreateBlurbRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_CreateBlurbRequest_descriptor; @@ -260,11 +255,13 @@ public static com.google.showcase.v1beta1.CreateBlurbRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.CreateBlurbRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.CreateBlurbRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateRoomRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateRoomRequest.java index 4c7d195730..343787a016 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateRoomRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateRoomRequest.java @@ -30,11 +30,6 @@ protected java.lang.Object newInstance( return new CreateRoomRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_CreateRoomRequest_descriptor; @@ -200,11 +195,13 @@ public static com.google.showcase.v1beta1.CreateRoomRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.CreateRoomRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.CreateRoomRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateSequenceRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateSequenceRequest.java index d61cf1e5a7..72f272198e 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateSequenceRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateSequenceRequest.java @@ -25,11 +25,6 @@ protected java.lang.Object newInstance( return new CreateSequenceRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_CreateSequenceRequest_descriptor; @@ -183,11 +178,13 @@ public static com.google.showcase.v1beta1.CreateSequenceRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.CreateSequenceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.CreateSequenceRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateSessionRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateSessionRequest.java index 6a20488a06..825c59d111 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateSessionRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateSessionRequest.java @@ -29,11 +29,6 @@ protected java.lang.Object newInstance( return new CreateSessionRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_CreateSessionRequest_descriptor; @@ -205,11 +200,13 @@ public static com.google.showcase.v1beta1.CreateSessionRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.CreateSessionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.CreateSessionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateStreamingSequenceRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateStreamingSequenceRequest.java index 06d85837dc..a618d2e264 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateStreamingSequenceRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateStreamingSequenceRequest.java @@ -25,11 +25,6 @@ protected java.lang.Object newInstance( return new CreateStreamingSequenceRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_CreateStreamingSequenceRequest_descriptor; @@ -183,11 +178,13 @@ public static com.google.showcase.v1beta1.CreateStreamingSequenceRequest parseFr return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.CreateStreamingSequenceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.CreateStreamingSequenceRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateUserRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateUserRequest.java index 1164eb3bf0..8fa50ea709 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateUserRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateUserRequest.java @@ -30,11 +30,6 @@ protected java.lang.Object newInstance( return new CreateUserRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.IdentityOuterClass.internal_static_google_showcase_v1beta1_CreateUserRequest_descriptor; @@ -200,11 +195,13 @@ public static com.google.showcase.v1beta1.CreateUserRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.CreateUserRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.CreateUserRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteBlurbRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteBlurbRequest.java index 37948407ed..6bf448c8e6 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteBlurbRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteBlurbRequest.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new DeleteBlurbRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_DeleteBlurbRequest_descriptor; @@ -204,11 +199,13 @@ public static com.google.showcase.v1beta1.DeleteBlurbRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.DeleteBlurbRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.DeleteBlurbRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteRoomRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteRoomRequest.java index 22af5de200..31a3b46892 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteRoomRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteRoomRequest.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new DeleteRoomRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_DeleteRoomRequest_descriptor; @@ -204,11 +199,13 @@ public static com.google.showcase.v1beta1.DeleteRoomRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.DeleteRoomRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.DeleteRoomRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteSessionRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteSessionRequest.java index 5dc2f44c60..d96c7e040a 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteSessionRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteSessionRequest.java @@ -30,11 +30,6 @@ protected java.lang.Object newInstance( return new DeleteSessionRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_DeleteSessionRequest_descriptor; @@ -203,11 +198,13 @@ public static com.google.showcase.v1beta1.DeleteSessionRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.DeleteSessionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.DeleteSessionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteTestRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteTestRequest.java index 5668a946ff..9fdb0a55df 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteTestRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteTestRequest.java @@ -30,11 +30,6 @@ protected java.lang.Object newInstance( return new DeleteTestRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_DeleteTestRequest_descriptor; @@ -203,11 +198,13 @@ public static com.google.showcase.v1beta1.DeleteTestRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.DeleteTestRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.DeleteTestRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteUserRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteUserRequest.java index 1e0248e6f0..2ce6f8b7e0 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteUserRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteUserRequest.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new DeleteUserRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.IdentityOuterClass.internal_static_google_showcase_v1beta1_DeleteUserRequest_descriptor; @@ -204,11 +199,13 @@ public static com.google.showcase.v1beta1.DeleteUserRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.DeleteUserRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.DeleteUserRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoOuterClass.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoOuterClass.java index a605e0df52..e11816f093 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoOuterClass.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoOuterClass.java @@ -110,78 +110,78 @@ public static void registerAllExtensions( "1.Severity\"x\n\rExpandRequest\022\017\n\007content\030\001" + " \001(\t\022!\n\005error\030\002 \001(\0132\022.google.rpc.Status\022" + "3\n\020stream_wait_time\030\003 \001(\0132\031.google.proto" + - "buf.Duration\"Q\n\022PagedExpandRequest\022\024\n\007co" + - "ntent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + - "age_token\030\003 \001(\t\"Y\n\030PagedExpandLegacyRequ" + - "est\022\024\n\007content\030\001 \001(\tB\003\340A\002\022\023\n\013max_results" + - "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h\n\023PagedExpan" + - "dResponse\0228\n\tresponses\030\001 \003(\0132%.google.sh" + - "owcase.v1beta1.EchoResponse\022\027\n\017next_page" + - "_token\030\002 \001(\t\"(\n\027PagedExpandResponseList\022" + - "\r\n\005words\030\001 \003(\t\"\203\002\n\037PagedExpandLegacyMapp" + - "edResponse\022`\n\014alphabetized\030\001 \003(\0132J.googl" + - "e.showcase.v1beta1.PagedExpandLegacyMapp" + - "edResponse.AlphabetizedEntry\022\027\n\017next_pag" + - "e_token\030\002 \001(\t\032e\n\021AlphabetizedEntry\022\013\n\003ke" + - "y\030\001 \001(\t\022?\n\005value\030\002 \001(\01320.google.showcase" + - ".v1beta1.PagedExpandResponseList:\0028\001\"\331\001\n" + - "\013WaitRequest\022.\n\010end_time\030\001 \001(\0132\032.google." + - "protobuf.TimestampH\000\022(\n\003ttl\030\004 \001(\0132\031.goog" + - "le.protobuf.DurationH\000\022#\n\005error\030\002 \001(\0132\022." + - "google.rpc.StatusH\001\0228\n\007success\030\003 \001(\0132%.g" + - "oogle.showcase.v1beta1.WaitResponseH\001B\005\n" + - "\003endB\n\n\010response\"\037\n\014WaitResponse\022\017\n\007cont" + - "ent\030\001 \001(\t\"<\n\014WaitMetadata\022,\n\010end_time\030\001 " + - "\001(\0132\032.google.protobuf.Timestamp\"\255\001\n\014Bloc" + - "kRequest\0221\n\016response_delay\030\001 \001(\0132\031.googl" + - "e.protobuf.Duration\022#\n\005error\030\002 \001(\0132\022.goo" + - "gle.rpc.StatusH\000\0229\n\007success\030\003 \001(\0132&.goog" + - "le.showcase.v1beta1.BlockResponseH\000B\n\n\010r" + - "esponse\" \n\rBlockResponse\022\017\n\007content\030\001 \001(" + - "\t*D\n\010Severity\022\017\n\013UNNECESSARY\020\000\022\r\n\tNECESS" + - "ARY\020\001\022\n\n\006URGENT\020\002\022\014\n\010CRITICAL\020\0032\377\013\n\004Echo" + - "\022\224\003\n\004Echo\022$.google.showcase.v1beta1.Echo" + - "Request\032%.google.showcase.v1beta1.EchoRe" + - "sponse\"\276\002\202\323\344\223\002\027\"\022/v1beta1/echo:echo:\001*\212\323" + - "\344\223\002\232\002\022\010\n\006header\022\031\n\006header\022\017{routing_id=*" + - "*}\022+\n\006header\022!{table_name=regions/*/zone" + - "s/*/**}\022\"\n\006header\022\030{super_id=projects/*}" + - "/**\0220\n\006header\022&{table_name=projects/*/in" + - "stances/*/**}\0221\n\006header\022\'projects/*/{ins" + - "tance_id=instances/*}/**\022\030\n\014other_header" + - "\022\010{baz=**}\022#\n\014other_header\022\023{qux=project" + - "s/*}/**\022\212\001\n\006Expand\022&.google.showcase.v1b" + - "eta1.ExpandRequest\032%.google.showcase.v1b" + - "eta1.EchoResponse\"/\202\323\344\223\002\031\"\024/v1beta1/echo" + - ":expand:\001*\332A\rcontent,error0\001\022z\n\007Collect\022" + - "$.google.showcase.v1beta1.EchoRequest\032%." + - "google.showcase.v1beta1.EchoResponse\" \202\323" + - "\344\223\002\032\"\025/v1beta1/echo:collect:\001*(\001\022W\n\004Chat" + - "\022$.google.showcase.v1beta1.EchoRequest\032%" + - ".google.showcase.v1beta1.EchoResponse(\0010" + - "\001\022\216\001\n\013PagedExpand\022+.google.showcase.v1be" + - "ta1.PagedExpandRequest\032,.google.showcase" + - ".v1beta1.PagedExpandResponse\"$\202\323\344\223\002\036\"\031/v" + - "1beta1/echo:pagedExpand:\001*\022\240\001\n\021PagedExpa" + - "ndLegacy\0221.google.showcase.v1beta1.Paged" + - "ExpandLegacyRequest\032,.google.showcase.v1" + - "beta1.PagedExpandResponse\"*\202\323\344\223\002$\"\037/v1be" + - "ta1/echo:pagedExpandLegacy:\001*\022\262\001\n\027PagedE" + - "xpandLegacyMapped\022+.google.showcase.v1be" + - "ta1.PagedExpandRequest\0328.google.showcase" + - ".v1beta1.PagedExpandLegacyMappedResponse" + - "\"0\202\323\344\223\002*\"%/v1beta1/echo:pagedExpandLegac" + - "yMapped:\001*\022\211\001\n\004Wait\022$.google.showcase.v1" + - "beta1.WaitRequest\032\035.google.longrunning.O" + - "peration\"<\202\323\344\223\002\027\"\022/v1beta1/echo:wait:\001*\312" + - "A\034\n\014WaitResponse\022\014WaitMetadata\022v\n\005Block\022" + - "%.google.showcase.v1beta1.BlockRequest\032&" + - ".google.showcase.v1beta1.BlockResponse\"\036" + - "\202\323\344\223\002\030\"\023/v1beta1/echo:block:\001*\032\021\312A\016local" + - "host:7469Bq\n\033com.google.showcase.v1beta1" + - "P\001Z4github.com/googleapis/gapic-showcase" + - "/server/genproto\352\002\031Google::Showcase::V1b" + - "eta1b\006proto3" + "buf.Duration\"R\n\022PagedExpandRequest\022\025\n\007co" + + "ntent\030\001 \001(\tB\004\342A\001\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" + + "page_token\030\003 \001(\t\"Z\n\030PagedExpandLegacyReq" + + "uest\022\025\n\007content\030\001 \001(\tB\004\342A\001\002\022\023\n\013max_resul" + + "ts\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h\n\023PagedExp" + + "andResponse\0228\n\tresponses\030\001 \003(\0132%.google." + + "showcase.v1beta1.EchoResponse\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\"(\n\027PagedExpandResponseLis" + + "t\022\r\n\005words\030\001 \003(\t\"\203\002\n\037PagedExpandLegacyMa" + + "ppedResponse\022`\n\014alphabetized\030\001 \003(\0132J.goo" + + "gle.showcase.v1beta1.PagedExpandLegacyMa" + + "ppedResponse.AlphabetizedEntry\022\027\n\017next_p" + + "age_token\030\002 \001(\t\032e\n\021AlphabetizedEntry\022\013\n\003" + + "key\030\001 \001(\t\022?\n\005value\030\002 \001(\01320.google.showca" + + "se.v1beta1.PagedExpandResponseList:\0028\001\"\331" + + "\001\n\013WaitRequest\022.\n\010end_time\030\001 \001(\0132\032.googl" + + "e.protobuf.TimestampH\000\022(\n\003ttl\030\004 \001(\0132\031.go" + + "ogle.protobuf.DurationH\000\022#\n\005error\030\002 \001(\0132" + + "\022.google.rpc.StatusH\001\0228\n\007success\030\003 \001(\0132%" + + ".google.showcase.v1beta1.WaitResponseH\001B" + + "\005\n\003endB\n\n\010response\"\037\n\014WaitResponse\022\017\n\007co" + + "ntent\030\001 \001(\t\"<\n\014WaitMetadata\022,\n\010end_time\030" + + "\001 \001(\0132\032.google.protobuf.Timestamp\"\255\001\n\014Bl" + + "ockRequest\0221\n\016response_delay\030\001 \001(\0132\031.goo" + + "gle.protobuf.Duration\022#\n\005error\030\002 \001(\0132\022.g" + + "oogle.rpc.StatusH\000\0229\n\007success\030\003 \001(\0132&.go" + + "ogle.showcase.v1beta1.BlockResponseH\000B\n\n" + + "\010response\" \n\rBlockResponse\022\017\n\007content\030\001 " + + "\001(\t*D\n\010Severity\022\017\n\013UNNECESSARY\020\000\022\r\n\tNECE" + + "SSARY\020\001\022\n\n\006URGENT\020\002\022\014\n\010CRITICAL\020\0032\377\013\n\004Ec" + + "ho\022\224\003\n\004Echo\022$.google.showcase.v1beta1.Ec" + + "hoRequest\032%.google.showcase.v1beta1.Echo" + + "Response\"\276\002\202\323\344\223\002\027\"\022/v1beta1/echo:echo:\001*" + + "\212\323\344\223\002\232\002\022\010\n\006header\022\031\n\006header\022\017{routing_id" + + "=**}\022+\n\006header\022!{table_name=regions/*/zo" + + "nes/*/**}\022\"\n\006header\022\030{super_id=projects/" + + "*}/**\0220\n\006header\022&{table_name=projects/*/" + + "instances/*/**}\0221\n\006header\022\'projects/*/{i" + + "nstance_id=instances/*}/**\022\030\n\014other_head" + + "er\022\010{baz=**}\022#\n\014other_header\022\023{qux=proje" + + "cts/*}/**\022\212\001\n\006Expand\022&.google.showcase.v" + + "1beta1.ExpandRequest\032%.google.showcase.v" + + "1beta1.EchoResponse\"/\332A\rcontent,error\202\323\344" + + "\223\002\031\"\024/v1beta1/echo:expand:\001*0\001\022z\n\007Collec" + + "t\022$.google.showcase.v1beta1.EchoRequest\032" + + "%.google.showcase.v1beta1.EchoResponse\" " + + "\202\323\344\223\002\032\"\025/v1beta1/echo:collect:\001*(\001\022W\n\004Ch" + + "at\022$.google.showcase.v1beta1.EchoRequest" + + "\032%.google.showcase.v1beta1.EchoResponse(" + + "\0010\001\022\216\001\n\013PagedExpand\022+.google.showcase.v1" + + "beta1.PagedExpandRequest\032,.google.showca" + + "se.v1beta1.PagedExpandResponse\"$\202\323\344\223\002\036\"\031" + + "/v1beta1/echo:pagedExpand:\001*\022\240\001\n\021PagedEx" + + "pandLegacy\0221.google.showcase.v1beta1.Pag" + + "edExpandLegacyRequest\032,.google.showcase." + + "v1beta1.PagedExpandResponse\"*\202\323\344\223\002$\"\037/v1" + + "beta1/echo:pagedExpandLegacy:\001*\022\262\001\n\027Page" + + "dExpandLegacyMapped\022+.google.showcase.v1" + + "beta1.PagedExpandRequest\0328.google.showca" + + "se.v1beta1.PagedExpandLegacyMappedRespon" + + "se\"0\202\323\344\223\002*\"%/v1beta1/echo:pagedExpandLeg" + + "acyMapped:\001*\022\211\001\n\004Wait\022$.google.showcase." + + "v1beta1.WaitRequest\032\035.google.longrunning" + + ".Operation\"<\312A\034\n\014WaitResponse\022\014WaitMetad" + + "ata\202\323\344\223\002\027\"\022/v1beta1/echo:wait:\001*\022v\n\005Bloc" + + "k\022%.google.showcase.v1beta1.BlockRequest" + + "\032&.google.showcase.v1beta1.BlockResponse" + + "\"\036\202\323\344\223\002\030\"\023/v1beta1/echo:block:\001*\032\021\312A\016loc" + + "alhost:7469Bq\n\033com.google.showcase.v1bet" + + "a1P\001Z4github.com/googleapis/gapic-showca" + + "se/server/genproto\352\002\031Google::Showcase::V" + + "1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoRequest.java index 5cf123e2ff..5e14b63633 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoRequest.java @@ -35,11 +35,6 @@ protected java.lang.Object newInstance( return new EchoRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_EchoRequest_descriptor; @@ -54,6 +49,7 @@ protected java.lang.Object newInstance( } private int responseCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object response_; public enum ResponseCase implements com.google.protobuf.Internal.EnumLite, @@ -487,11 +483,13 @@ public static com.google.showcase.v1beta1.EchoRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.EchoRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.EchoRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoRequestOrBuilder.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoRequestOrBuilder.java index 08bd7d605f..ab23d6d740 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoRequestOrBuilder.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoRequestOrBuilder.java @@ -122,5 +122,5 @@ public interface EchoRequestOrBuilder extends com.google.protobuf.ByteString getOtherHeaderBytes(); - public com.google.showcase.v1beta1.EchoRequest.ResponseCase getResponseCase(); + com.google.showcase.v1beta1.EchoRequest.ResponseCase getResponseCase(); } diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoResponse.java index 7b6d388734..5349047e4e 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoResponse.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new EchoResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_EchoResponse_descriptor; @@ -240,11 +235,13 @@ public static com.google.showcase.v1beta1.EchoResponse parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.EchoResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.EchoResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EnumRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EnumRequest.java index 098ae16ab5..384e491473 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EnumRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EnumRequest.java @@ -25,11 +25,6 @@ protected java.lang.Object newInstance( return new EnumRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.ComplianceOuterClass.internal_static_google_showcase_v1beta1_EnumRequest_descriptor; @@ -168,11 +163,13 @@ public static com.google.showcase.v1beta1.EnumRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.EnumRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.EnumRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -405,7 +402,7 @@ public boolean getUnknownEnum() { * @return This builder for chaining. */ public Builder setUnknownEnum(boolean value) { - + unknownEnum_ = value; bitField0_ |= 0x00000001; onChanged(); diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EnumResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EnumResponse.java index 98bd56fdce..ce06086a88 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EnumResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EnumResponse.java @@ -26,11 +26,6 @@ protected java.lang.Object newInstance( return new EnumResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.ComplianceOuterClass.internal_static_google_showcase_v1beta1_EnumResponse_descriptor; @@ -232,11 +227,13 @@ public static com.google.showcase.v1beta1.EnumResponse parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.EnumResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.EnumResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ExpandRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ExpandRequest.java index 3348bc259d..ea941ff518 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ExpandRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ExpandRequest.java @@ -30,11 +30,6 @@ protected java.lang.Object newInstance( return new ExpandRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_ExpandRequest_descriptor; @@ -311,11 +306,13 @@ public static com.google.showcase.v1beta1.ExpandRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ExpandRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ExpandRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetBlurbRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetBlurbRequest.java index 73f169ec05..132ffc2729 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetBlurbRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetBlurbRequest.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new GetBlurbRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_GetBlurbRequest_descriptor; @@ -204,11 +199,13 @@ public static com.google.showcase.v1beta1.GetBlurbRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.GetBlurbRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.GetBlurbRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetRoomRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetRoomRequest.java index 80285bfdb2..b198625abe 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetRoomRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetRoomRequest.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new GetRoomRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_GetRoomRequest_descriptor; @@ -204,11 +199,13 @@ public static com.google.showcase.v1beta1.GetRoomRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.GetRoomRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.GetRoomRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetSequenceReportRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetSequenceReportRequest.java index 2ed1542d94..50637218d0 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetSequenceReportRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetSequenceReportRequest.java @@ -26,11 +26,6 @@ protected java.lang.Object newInstance( return new GetSequenceReportRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_GetSequenceReportRequest_descriptor; @@ -191,11 +186,13 @@ public static com.google.showcase.v1beta1.GetSequenceReportRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.GetSequenceReportRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.GetSequenceReportRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetSessionRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetSessionRequest.java index 350804adec..d9b33369bd 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetSessionRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetSessionRequest.java @@ -30,11 +30,6 @@ protected java.lang.Object newInstance( return new GetSessionRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_GetSessionRequest_descriptor; @@ -203,11 +198,13 @@ public static com.google.showcase.v1beta1.GetSessionRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.GetSessionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.GetSessionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetStreamingSequenceReportRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetStreamingSequenceReportRequest.java index 96b0d6df99..a6300fe76b 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetStreamingSequenceReportRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetStreamingSequenceReportRequest.java @@ -26,11 +26,6 @@ protected java.lang.Object newInstance( return new GetStreamingSequenceReportRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_GetStreamingSequenceReportRequest_descriptor; @@ -191,11 +186,13 @@ public static com.google.showcase.v1beta1.GetStreamingSequenceReportRequest pars return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.GetStreamingSequenceReportRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.GetStreamingSequenceReportRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetUserRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetUserRequest.java index 2b8a010c28..f3ce949004 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetUserRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetUserRequest.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new GetUserRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.IdentityOuterClass.internal_static_google_showcase_v1beta1_GetUserRequest_descriptor; @@ -204,11 +199,13 @@ public static com.google.showcase.v1beta1.GetUserRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.GetUserRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.GetUserRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityOuterClass.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityOuterClass.java index 2e42ad5a01..9d5cf7e844 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityOuterClass.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityOuterClass.java @@ -65,51 +65,51 @@ public static void registerAllExtensions( "\032\031google/api/resource.proto\032\033google/prot" + "obuf/empty.proto\032 google/protobuf/field_" + "mask.proto\032\037google/protobuf/timestamp.pr" + - "oto\"\204\003\n\004User\022\014\n\004name\030\001 \001(\t\022\031\n\014display_na" + - "me\030\002 \001(\tB\003\340A\002\022\022\n\005email\030\003 \001(\tB\003\340A\002\0224\n\013cre" + - "ate_time\030\004 \001(\0132\032.google.protobuf.Timesta" + - "mpB\003\340A\003\0224\n\013update_time\030\005 \001(\0132\032.google.pr" + - "otobuf.TimestampB\003\340A\003\022\020\n\003age\030\006 \001(\005H\000\210\001\001\022" + - "\030\n\013height_feet\030\007 \001(\001H\001\210\001\001\022\025\n\010nickname\030\010 " + - "\001(\tH\002\210\001\001\022!\n\024enable_notifications\030\t \001(\010H\003" + - "\210\001\001:/\352A,\n\034showcase.googleapis.com/User\022\014" + - "users/{user}B\006\n\004_ageB\016\n\014_height_feetB\013\n\t" + - "_nicknameB\027\n\025_enable_notifications\"@\n\021Cr" + - "eateUserRequest\022+\n\004user\030\001 \001(\0132\035.google.s" + - "howcase.v1beta1.User\"D\n\016GetUserRequest\0222" + - "\n\004name\030\001 \001(\tB$\372A\036\n\034showcase.googleapis.c" + - "om/User\340A\002\"q\n\021UpdateUserRequest\022+\n\004user\030" + - "\001 \001(\0132\035.google.showcase.v1beta1.User\022/\n\013" + - "update_mask\030\002 \001(\0132\032.google.protobuf.Fiel" + - "dMask\"G\n\021DeleteUserRequest\0222\n\004name\030\001 \001(\t" + - "B$\372A\036\n\034showcase.googleapis.com/User\340A\002\"9" + - "\n\020ListUsersRequest\022\021\n\tpage_size\030\001 \001(\005\022\022\n" + - "\npage_token\030\002 \001(\t\"Z\n\021ListUsersResponse\022," + - "\n\005users\030\001 \003(\0132\035.google.showcase.v1beta1." + - "User\022\027\n\017next_page_token\030\002 \001(\t2\212\006\n\010Identi" + - "ty\022\363\001\n\nCreateUser\022*.google.showcase.v1be" + - "ta1.CreateUserRequest\032\035.google.showcase." + - "v1beta1.User\"\231\001\202\323\344\223\002\023\"\016/v1beta1/users:\001*" + - "\332A\034user.display_name,user.email\332A^user.d" + - "isplay_name,user.email,user.age,user.nic" + - "kname,user.enable_notifications,user.hei" + - "ght_feet\022y\n\007GetUser\022\'.google.showcase.v1" + - "beta1.GetUserRequest\032\035.google.showcase.v" + - "1beta1.User\"&\202\323\344\223\002\031\022\027/v1beta1/{name=user" + - "s/*}\332A\004name\022\203\001\n\nUpdateUser\022*.google.show" + - "case.v1beta1.UpdateUserRequest\032\035.google." + - "showcase.v1beta1.User\"*\202\323\344\223\002$2\034/v1beta1/" + - "{user.name=users/*}:\004user\022x\n\nDeleteUser\022" + - "*.google.showcase.v1beta1.DeleteUserRequ" + - "est\032\026.google.protobuf.Empty\"&\202\323\344\223\002\031*\027/v1" + - "beta1/{name=users/*}\332A\004name\022z\n\tListUsers" + - "\022).google.showcase.v1beta1.ListUsersRequ" + - "est\032*.google.showcase.v1beta1.ListUsersR" + - "esponse\"\026\202\323\344\223\002\020\022\016/v1beta1/users\032\021\312A\016loca" + - "lhost:7469Bq\n\033com.google.showcase.v1beta" + - "1P\001Z4github.com/googleapis/gapic-showcas" + - "e/server/genproto\352\002\031Google::Showcase::V1" + - "beta1b\006proto3" + "oto\"\210\003\n\004User\022\014\n\004name\030\001 \001(\t\022\032\n\014display_na" + + "me\030\002 \001(\tB\004\342A\001\002\022\023\n\005email\030\003 \001(\tB\004\342A\001\002\0225\n\013c" + + "reate_time\030\004 \001(\0132\032.google.protobuf.Times" + + "tampB\004\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.google" + + ".protobuf.TimestampB\004\342A\001\003\022\020\n\003age\030\006 \001(\005H\000" + + "\210\001\001\022\030\n\013height_feet\030\007 \001(\001H\001\210\001\001\022\025\n\010nicknam" + + "e\030\010 \001(\tH\002\210\001\001\022!\n\024enable_notifications\030\t \001" + + "(\010H\003\210\001\001:/\352A,\n\034showcase.googleapis.com/Us" + + "er\022\014users/{user}B\006\n\004_ageB\016\n\014_height_feet" + + "B\013\n\t_nicknameB\027\n\025_enable_notifications\"@" + + "\n\021CreateUserRequest\022+\n\004user\030\001 \001(\0132\035.goog" + + "le.showcase.v1beta1.User\"E\n\016GetUserReque" + + "st\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034showcase.goog" + + "leapis.com/User\"q\n\021UpdateUserRequest\022+\n\004" + + "user\030\001 \001(\0132\035.google.showcase.v1beta1.Use" + + "r\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf" + + ".FieldMask\"H\n\021DeleteUserRequest\0223\n\004name\030" + + "\001 \001(\tB%\342A\001\002\372A\036\n\034showcase.googleapis.com/" + + "User\"9\n\020ListUsersRequest\022\021\n\tpage_size\030\001 " + + "\001(\005\022\022\n\npage_token\030\002 \001(\t\"Z\n\021ListUsersResp" + + "onse\022,\n\005users\030\001 \003(\0132\035.google.showcase.v1" + + "beta1.User\022\027\n\017next_page_token\030\002 \001(\t2\212\006\n\010" + + "Identity\022\363\001\n\nCreateUser\022*.google.showcas" + + "e.v1beta1.CreateUserRequest\032\035.google.sho" + + "wcase.v1beta1.User\"\231\001\332A\034user.display_nam" + + "e,user.email\332A^user.display_name,user.em" + + "ail,user.age,user.nickname,user.enable_n" + + "otifications,user.height_feet\202\323\344\223\002\023\"\016/v1" + + "beta1/users:\001*\022y\n\007GetUser\022\'.google.showc" + + "ase.v1beta1.GetUserRequest\032\035.google.show" + + "case.v1beta1.User\"&\332A\004name\202\323\344\223\002\031\022\027/v1bet" + + "a1/{name=users/*}\022\203\001\n\nUpdateUser\022*.googl" + + "e.showcase.v1beta1.UpdateUserRequest\032\035.g" + + "oogle.showcase.v1beta1.User\"*\202\323\344\223\002$2\034/v1" + + "beta1/{user.name=users/*}:\004user\022x\n\nDelet" + + "eUser\022*.google.showcase.v1beta1.DeleteUs" + + "erRequest\032\026.google.protobuf.Empty\"&\332A\004na" + + "me\202\323\344\223\002\031*\027/v1beta1/{name=users/*}\022z\n\tLis" + + "tUsers\022).google.showcase.v1beta1.ListUse" + + "rsRequest\032*.google.showcase.v1beta1.List" + + "UsersResponse\"\026\202\323\344\223\002\020\022\016/v1beta1/users\032\021\312" + + "A\016localhost:7469Bq\n\033com.google.showcase." + + "v1beta1P\001Z4github.com/googleapis/gapic-s" + + "howcase/server/genproto\352\002\031Google::Showca" + + "se::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Issue.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Issue.java index 794571db2d..3360abe101 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Issue.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Issue.java @@ -32,11 +32,6 @@ protected java.lang.Object newInstance( return new Issue(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_Issue_descriptor; @@ -570,11 +565,13 @@ public static com.google.showcase.v1beta1.Issue parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.Issue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.Issue parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListBlurbsRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListBlurbsRequest.java index 0cff13fff3..3baa2fcf4a 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListBlurbsRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListBlurbsRequest.java @@ -32,11 +32,6 @@ protected java.lang.Object newInstance( return new ListBlurbsRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_ListBlurbsRequest_descriptor; @@ -294,11 +289,13 @@ public static com.google.showcase.v1beta1.ListBlurbsRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ListBlurbsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ListBlurbsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -660,7 +657,7 @@ public int getPageSize() { * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListBlurbsResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListBlurbsResponse.java index abec8b6bd8..8f04b493b7 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListBlurbsResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListBlurbsResponse.java @@ -32,11 +32,6 @@ protected java.lang.Object newInstance( return new ListBlurbsResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_ListBlurbsResponse_descriptor; @@ -285,11 +280,13 @@ public static com.google.showcase.v1beta1.ListBlurbsResponse parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ListBlurbsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ListBlurbsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListRoomsRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListRoomsRequest.java index 0328356d1f..6e3727c106 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListRoomsRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListRoomsRequest.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new ListRoomsRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_ListRoomsRequest_descriptor; @@ -235,11 +230,13 @@ public static com.google.showcase.v1beta1.ListRoomsRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ListRoomsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ListRoomsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -493,7 +490,7 @@ public int getPageSize() { * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000001; onChanged(); diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListRoomsResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListRoomsResponse.java index 53ff2904fa..9f498f82a5 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListRoomsResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListRoomsResponse.java @@ -32,11 +32,6 @@ protected java.lang.Object newInstance( return new ListRoomsResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_ListRoomsResponse_descriptor; @@ -285,11 +280,13 @@ public static com.google.showcase.v1beta1.ListRoomsResponse parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ListRoomsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ListRoomsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListSessionsRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListSessionsRequest.java index 051016f0cd..a5d794ec1e 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListSessionsRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListSessionsRequest.java @@ -30,11 +30,6 @@ protected java.lang.Object newInstance( return new ListSessionsRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_ListSessionsRequest_descriptor; @@ -229,11 +224,13 @@ public static com.google.showcase.v1beta1.ListSessionsRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ListSessionsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ListSessionsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -484,7 +481,7 @@ public int getPageSize() { * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000001; onChanged(); diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListSessionsResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListSessionsResponse.java index 851e0ab977..f21eab5b54 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListSessionsResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListSessionsResponse.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new ListSessionsResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_ListSessionsResponse_descriptor; @@ -280,11 +275,13 @@ public static com.google.showcase.v1beta1.ListSessionsResponse parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ListSessionsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ListSessionsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListTestsRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListTestsRequest.java index 5bcf9b2d7c..aa2825fb39 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListTestsRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListTestsRequest.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new ListTestsRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_ListTestsRequest_descriptor; @@ -287,11 +282,13 @@ public static com.google.showcase.v1beta1.ListTestsRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ListTestsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ListTestsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -648,7 +645,7 @@ public int getPageSize() { * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListTestsResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListTestsResponse.java index 25f19a40d5..6cc66b1e99 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListTestsResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListTestsResponse.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new ListTestsResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_ListTestsResponse_descriptor; @@ -280,11 +275,13 @@ public static com.google.showcase.v1beta1.ListTestsResponse parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ListTestsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ListTestsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListUsersRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListUsersRequest.java index a955c02b3c..efc7c7d4d3 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListUsersRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListUsersRequest.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new ListUsersRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.IdentityOuterClass.internal_static_google_showcase_v1beta1_ListUsersRequest_descriptor; @@ -235,11 +230,13 @@ public static com.google.showcase.v1beta1.ListUsersRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ListUsersRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ListUsersRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -493,7 +490,7 @@ public int getPageSize() { * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000001; onChanged(); diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListUsersResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListUsersResponse.java index 55b5a8e1c9..f5924a46c7 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListUsersResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListUsersResponse.java @@ -32,11 +32,6 @@ protected java.lang.Object newInstance( return new ListUsersResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.IdentityOuterClass.internal_static_google_showcase_v1beta1_ListUsersResponse_descriptor; @@ -285,11 +280,13 @@ public static com.google.showcase.v1beta1.ListUsersResponse parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ListUsersResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ListUsersResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingOuterClass.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingOuterClass.java index 699e398079..8cf3bf7b2f 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingOuterClass.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingOuterClass.java @@ -141,140 +141,141 @@ public static void registerAllExtensions( "grunning/operations.proto\032\033google/protob" + "uf/empty.proto\032 google/protobuf/field_ma" + "sk.proto\032\037google/protobuf/timestamp.prot" + - "o\032\036google/rpc/error_details.proto\"\341\001\n\004Ro" + - "om\022\014\n\004name\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003" + - "\340A\002\022\023\n\013description\030\003 \001(\t\0224\n\013create_time\030" + - "\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224" + - "\n\013update_time\030\005 \001(\0132\032.google.protobuf.Ti" + - "mestampB\003\340A\003:/\352A,\n\034showcase.googleapis.c" + - "om/Room\022\014rooms/{room}\"@\n\021CreateRoomReque" + - "st\022+\n\004room\030\001 \001(\0132\035.google.showcase.v1bet" + - "a1.Room\"D\n\016GetRoomRequest\0222\n\004name\030\001 \001(\tB" + - "$\372A\036\n\034showcase.googleapis.com/Room\340A\002\"q\n" + - "\021UpdateRoomRequest\022+\n\004room\030\001 \001(\0132\035.googl" + - "e.showcase.v1beta1.Room\022/\n\013update_mask\030\002" + - " \001(\0132\032.google.protobuf.FieldMask\"G\n\021Dele" + - "teRoomRequest\0222\n\004name\030\001 \001(\tB$\372A\036\n\034showca" + - "se.googleapis.com/Room\340A\002\"9\n\020ListRoomsRe" + - "quest\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_token\030\002" + - " \001(\t\"Z\n\021ListRoomsResponse\022,\n\005rooms\030\001 \003(\013" + - "2\035.google.showcase.v1beta1.Room\022\027\n\017next_" + - "page_token\030\002 \001(\t\"\366\003\n\005Blurb\022\014\n\004name\030\001 \001(\t" + - "\0222\n\004user\030\002 \001(\tB$\372A\036\n\034showcase.googleapis" + - ".com/User\340A\002\022\016\n\004text\030\003 \001(\tH\000\022\017\n\005image\030\004 " + - "\001(\014H\000\0224\n\013create_time\030\005 \001(\0132\032.google.prot" + - "obuf.TimestampB\003\340A\003\0224\n\013update_time\030\006 \001(\013" + - "2\032.google.protobuf.TimestampB\003\340A\003\022\030\n\016leg" + - "acy_room_id\030\007 \001(\tH\001\022\030\n\016legacy_user_id\030\010 " + - "\001(\tH\001:\321\001\352A\315\001\n\035showcase.googleapis.com/Bl" + - "urb\0228users/{user}/profile/blurbs/legacy/" + - "{legacy_user}~{blurb}\022#users/{user}/prof" + - "ile/blurbs/{blurb}\022\033rooms/{room}/blurbs/" + - "{blurb}\0220rooms/{room}/blurbs/legacy/{leg" + - "acy_room}.{blurb}B\t\n\007contentB\013\n\tlegacy_i" + - "d\"z\n\022CreateBlurbRequest\0225\n\006parent\030\001 \001(\tB" + - "%\372A\037\022\035showcase.googleapis.com/Blurb\340A\002\022-" + - "\n\005blurb\030\002 \001(\0132\036.google.showcase.v1beta1." + - "Blurb\"F\n\017GetBlurbRequest\0223\n\004name\030\001 \001(\tB%" + - "\372A\037\n\035showcase.googleapis.com/Blurb\340A\002\"t\n" + - "\022UpdateBlurbRequest\022-\n\005blurb\030\001 \001(\0132\036.goo" + - "gle.showcase.v1beta1.Blurb\022/\n\013update_mas" + - "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"I\n\022D" + - "eleteBlurbRequest\0223\n\004name\030\001 \001(\tB%\372A\037\n\035sh" + - "owcase.googleapis.com/Blurb\340A\002\"q\n\021ListBl" + - "urbsRequest\0225\n\006parent\030\001 \001(\tB%\372A\037\022\035showca" + - "se.googleapis.com/Blurb\340A\002\022\021\n\tpage_size\030" + - "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"]\n\022ListBlurbsR" + - "esponse\022.\n\006blurbs\030\001 \003(\0132\036.google.showcas" + - "e.v1beta1.Blurb\022\027\n\017next_page_token\030\002 \001(\t" + - "\"\204\001\n\023SearchBlurbsRequest\022\022\n\005query\030\001 \001(\tB" + - "\003\340A\002\0222\n\006parent\030\002 \001(\tB\"\372A\037\022\035showcase.goog" + - "leapis.com/Blurb\022\021\n\tpage_size\030\003 \001(\005\022\022\n\np" + - "age_token\030\004 \001(\t\"A\n\024SearchBlurbsMetadata\022" + - ")\n\nretry_info\030\001 \001(\0132\025.google.rpc.RetryIn" + - "fo\"_\n\024SearchBlurbsResponse\022.\n\006blurbs\030\001 \003" + - "(\0132\036.google.showcase.v1beta1.Blurb\022\027\n\017ne" + - "xt_page_token\030\002 \001(\t\"\200\001\n\023StreamBlurbsRequ" + - "est\0223\n\004name\030\001 \001(\tB%\372A\037\022\035showcase.googlea" + - "pis.com/Blurb\340A\002\0224\n\013expire_time\030\002 \001(\0132\032." + - "google.protobuf.TimestampB\003\340A\002\"\321\001\n\024Strea" + - "mBlurbsResponse\022-\n\005blurb\030\001 \001(\0132\036.google." + - "showcase.v1beta1.Blurb\022D\n\006action\030\002 \001(\01624" + - ".google.showcase.v1beta1.StreamBlurbsRes" + - "ponse.Action\"D\n\006Action\022\026\n\022ACTION_UNSPECI" + - "FIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006UPDATE\020\002\022\n\n\006DELETE" + - "\020\003\"#\n\022SendBlurbsResponse\022\r\n\005names\030\001 \003(\t\"" + - "\332\001\n\016ConnectRequest\022G\n\006config\030\001 \001(\01325.goo" + - "gle.showcase.v1beta1.ConnectRequest.Conn" + - "ectConfigH\000\022/\n\005blurb\030\002 \001(\0132\036.google.show" + - "case.v1beta1.BlurbH\000\032C\n\rConnectConfig\0222\n" + - "\006parent\030\001 \001(\tB\"\372A\037\022\035showcase.googleapis." + - "com/BlurbB\t\n\007request2\264\023\n\tMessaging\022\227\001\n\nC" + - "reateRoom\022*.google.showcase.v1beta1.Crea" + - "teRoomRequest\032\035.google.showcase.v1beta1." + - "Room\">\202\323\344\223\002\023\"\016/v1beta1/rooms:\001*\332A\"room.d" + - "isplay_name,room.description\022y\n\007GetRoom\022" + - "\'.google.showcase.v1beta1.GetRoomRequest" + - "\032\035.google.showcase.v1beta1.Room\"&\202\323\344\223\002\031\022" + - "\027/v1beta1/{name=rooms/*}\332A\004name\022\203\001\n\nUpda" + - "teRoom\022*.google.showcase.v1beta1.UpdateR" + - "oomRequest\032\035.google.showcase.v1beta1.Roo" + - "m\"*\202\323\344\223\002$2\034/v1beta1/{room.name=rooms/*}:" + - "\004room\022x\n\nDeleteRoom\022*.google.showcase.v1" + - "beta1.DeleteRoomRequest\032\026.google.protobu" + - "f.Empty\"&\202\323\344\223\002\031*\027/v1beta1/{name=rooms/*}" + - "\332A\004name\022z\n\tListRooms\022).google.showcase.v" + - "1beta1.ListRoomsRequest\032*.google.showcas" + - "e.v1beta1.ListRoomsResponse\"\026\202\323\344\223\002\020\022\016/v1" + - "beta1/rooms\022\366\001\n\013CreateBlurb\022+.google.sho" + - "wcase.v1beta1.CreateBlurbRequest\032\036.googl" + - "e.showcase.v1beta1.Blurb\"\231\001\202\323\344\223\002T\" /v1be" + - "ta1/{parent=rooms/*}/blurbs:\001*Z-\"(/v1bet" + - "a1/{parent=users/*/profile}/blurbs:\001*\332A\034" + - "parent,blurb.user,blurb.text\332A\035parent,bl" + - "urb.user,blurb.image\022\261\001\n\010GetBlurb\022(.goog" + - "le.showcase.v1beta1.GetBlurbRequest\032\036.go" + - "ogle.showcase.v1beta1.Blurb\"[\202\323\344\223\002N\022 /v1" + - "beta1/{name=rooms/*/blurbs/*}Z*\022(/v1beta" + - "1/{name=users/*/profile/blurbs/*}\332A\004name" + - "\022\312\001\n\013UpdateBlurb\022+.google.showcase.v1bet" + - "a1.UpdateBlurbRequest\032\036.google.showcase." + - "v1beta1.Blurb\"n\202\323\344\223\002h2&/v1beta1/{blurb.n" + - "ame=rooms/*/blurbs/*}:\005blurbZ72./v1beta1" + - "/{blurb.name=users/*/profile/blurbs/*}:\005" + - "blurb\022\257\001\n\013DeleteBlurb\022+.google.showcase." + - "v1beta1.DeleteBlurbRequest\032\026.google.prot" + - "obuf.Empty\"[\202\323\344\223\002N* /v1beta1/{name=rooms" + - "/*/blurbs/*}Z**(/v1beta1/{name=users/*/p" + - "rofile/blurbs/*}\332A\004name\022\304\001\n\nListBlurbs\022*" + - ".google.showcase.v1beta1.ListBlurbsReque" + - "st\032+.google.showcase.v1beta1.ListBlurbsR" + - "esponse\"]\202\323\344\223\002N\022 /v1beta1/{parent=rooms/" + - "*}/blurbsZ*\022(/v1beta1/{parent=users/*/pr" + - "ofile}/blurbs\332A\006parent\022\201\002\n\014SearchBlurbs\022" + - ",.google.showcase.v1beta1.SearchBlurbsRe" + - "quest\032\035.google.longrunning.Operation\"\243\001\202" + - "\323\344\223\002_\"\'/v1beta1/{parent=rooms/*}/blurbs:" + - "search:\001*Z1\"//v1beta1/{parent=users/*/pr" + - "ofile}/blurbs:search\312A,\n\024SearchBlurbsRes" + - "ponse\022\024SearchBlurbsMetadata\332A\014parent,que" + - "ry\022\323\001\n\014StreamBlurbs\022,.google.showcase.v1" + - "beta1.StreamBlurbsRequest\032-.google.showc" + - "ase.v1beta1.StreamBlurbsResponse\"d\202\323\344\223\002^" + - "\"%/v1beta1/{name=rooms/*}/blurbs:stream:" + - "\001*Z2\"-/v1beta1/{name=users/*/profile}/bl" + - "urbs:stream:\001*0\001\022\316\001\n\nSendBlurbs\022+.google" + - ".showcase.v1beta1.CreateBlurbRequest\032+.g" + - "oogle.showcase.v1beta1.SendBlurbsRespons" + - "e\"d\202\323\344\223\002^\"%/v1beta1/{parent=rooms/*}/blu" + - "rbs:send:\001*Z2\"-/v1beta1/{parent=users/*/" + - "profile}/blurbs:send:\001*(\001\022e\n\007Connect\022\'.g" + - "oogle.showcase.v1beta1.ConnectRequest\032-." + - "google.showcase.v1beta1.StreamBlurbsResp" + - "onse(\0010\001\032\021\312A\016localhost:7469Bq\n\033com.googl" + - "e.showcase.v1beta1P\001Z4github.com/googlea" + - "pis/gapic-showcase/server/genproto\352\002\031Goo" + - "gle::Showcase::V1beta1b\006proto3" + "o\032\036google/rpc/error_details.proto\"\344\001\n\004Ro" + + "om\022\014\n\004name\030\001 \001(\t\022\032\n\014display_name\030\002 \001(\tB\004" + + "\342A\001\002\022\023\n\013description\030\003 \001(\t\0225\n\013create_time" + + "\030\004 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003" + + "\0225\n\013update_time\030\005 \001(\0132\032.google.protobuf." + + "TimestampB\004\342A\001\003:/\352A,\n\034showcase.googleapi" + + "s.com/Room\022\014rooms/{room}\"@\n\021CreateRoomRe" + + "quest\022+\n\004room\030\001 \001(\0132\035.google.showcase.v1" + + "beta1.Room\"E\n\016GetRoomRequest\0223\n\004name\030\001 \001" + + "(\tB%\342A\001\002\372A\036\n\034showcase.googleapis.com/Roo" + + "m\"q\n\021UpdateRoomRequest\022+\n\004room\030\001 \001(\0132\035.g" + + "oogle.showcase.v1beta1.Room\022/\n\013update_ma" + + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"H\n\021" + + "DeleteRoomRequest\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036" + + "\n\034showcase.googleapis.com/Room\"9\n\020ListRo" + + "omsRequest\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_to" + + "ken\030\002 \001(\t\"Z\n\021ListRoomsResponse\022,\n\005rooms\030" + + "\001 \003(\0132\035.google.showcase.v1beta1.Room\022\027\n\017" + + "next_page_token\030\002 \001(\t\"\371\003\n\005Blurb\022\014\n\004name\030" + + "\001 \001(\t\0223\n\004user\030\002 \001(\tB%\342A\001\002\372A\036\n\034showcase.g" + + "oogleapis.com/User\022\016\n\004text\030\003 \001(\tH\000\022\017\n\005im" + + "age\030\004 \001(\014H\000\0225\n\013create_time\030\005 \001(\0132\032.googl" + + "e.protobuf.TimestampB\004\342A\001\003\0225\n\013update_tim" + + "e\030\006 \001(\0132\032.google.protobuf.TimestampB\004\342A\001" + + "\003\022\030\n\016legacy_room_id\030\007 \001(\tH\001\022\030\n\016legacy_us" + + "er_id\030\010 \001(\tH\001:\321\001\352A\315\001\n\035showcase.googleapi" + + "s.com/Blurb\0228users/{user}/profile/blurbs" + + "/legacy/{legacy_user}~{blurb}\022#users/{us" + + "er}/profile/blurbs/{blurb}\022\033rooms/{room}" + + "/blurbs/{blurb}\0220rooms/{room}/blurbs/leg" + + "acy/{legacy_room}.{blurb}B\t\n\007contentB\013\n\t" + + "legacy_id\"{\n\022CreateBlurbRequest\0226\n\006paren" + + "t\030\001 \001(\tB&\342A\001\002\372A\037\022\035showcase.googleapis.co" + + "m/Blurb\022-\n\005blurb\030\002 \001(\0132\036.google.showcase" + + ".v1beta1.Blurb\"G\n\017GetBlurbRequest\0224\n\004nam" + + "e\030\001 \001(\tB&\342A\001\002\372A\037\n\035showcase.googleapis.co" + + "m/Blurb\"t\n\022UpdateBlurbRequest\022-\n\005blurb\030\001" + + " \001(\0132\036.google.showcase.v1beta1.Blurb\022/\n\013" + + "update_mask\030\002 \001(\0132\032.google.protobuf.Fiel" + + "dMask\"J\n\022DeleteBlurbRequest\0224\n\004name\030\001 \001(" + + "\tB&\342A\001\002\372A\037\n\035showcase.googleapis.com/Blur" + + "b\"r\n\021ListBlurbsRequest\0226\n\006parent\030\001 \001(\tB&" + + "\342A\001\002\372A\037\022\035showcase.googleapis.com/Blurb\022\021" + + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"]\n" + + "\022ListBlurbsResponse\022.\n\006blurbs\030\001 \003(\0132\036.go" + + "ogle.showcase.v1beta1.Blurb\022\027\n\017next_page" + + "_token\030\002 \001(\t\"\205\001\n\023SearchBlurbsRequest\022\023\n\005" + + "query\030\001 \001(\tB\004\342A\001\002\0222\n\006parent\030\002 \001(\tB\"\372A\037\022\035" + + "showcase.googleapis.com/Blurb\022\021\n\tpage_si" + + "ze\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"A\n\024SearchBl" + + "urbsMetadata\022)\n\nretry_info\030\001 \001(\0132\025.googl" + + "e.rpc.RetryInfo\"_\n\024SearchBlurbsResponse\022" + + ".\n\006blurbs\030\001 \003(\0132\036.google.showcase.v1beta" + + "1.Blurb\022\027\n\017next_page_token\030\002 \001(\t\"\202\001\n\023Str" + + "eamBlurbsRequest\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\022" + + "\035showcase.googleapis.com/Blurb\0225\n\013expire" + + "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" + + "\004\342A\001\002\"\321\001\n\024StreamBlurbsResponse\022-\n\005blurb\030" + + "\001 \001(\0132\036.google.showcase.v1beta1.Blurb\022D\n" + + "\006action\030\002 \001(\01624.google.showcase.v1beta1." + + "StreamBlurbsResponse.Action\"D\n\006Action\022\026\n" + + "\022ACTION_UNSPECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006UPD" + + "ATE\020\002\022\n\n\006DELETE\020\003\"#\n\022SendBlurbsResponse\022" + + "\r\n\005names\030\001 \003(\t\"\332\001\n\016ConnectRequest\022G\n\006con" + + "fig\030\001 \001(\01325.google.showcase.v1beta1.Conn" + + "ectRequest.ConnectConfigH\000\022/\n\005blurb\030\002 \001(" + + "\0132\036.google.showcase.v1beta1.BlurbH\000\032C\n\rC" + + "onnectConfig\0222\n\006parent\030\001 \001(\tB\"\372A\037\022\035showc" + + "ase.googleapis.com/BlurbB\t\n\007request2\264\023\n\t" + + "Messaging\022\227\001\n\nCreateRoom\022*.google.showca" + + "se.v1beta1.CreateRoomRequest\032\035.google.sh" + + "owcase.v1beta1.Room\">\332A\"room.display_nam" + + "e,room.description\202\323\344\223\002\023\"\016/v1beta1/rooms" + + ":\001*\022y\n\007GetRoom\022\'.google.showcase.v1beta1" + + ".GetRoomRequest\032\035.google.showcase.v1beta" + + "1.Room\"&\332A\004name\202\323\344\223\002\031\022\027/v1beta1/{name=ro" + + "oms/*}\022\203\001\n\nUpdateRoom\022*.google.showcase." + + "v1beta1.UpdateRoomRequest\032\035.google.showc" + + "ase.v1beta1.Room\"*\202\323\344\223\002$2\034/v1beta1/{room" + + ".name=rooms/*}:\004room\022x\n\nDeleteRoom\022*.goo" + + "gle.showcase.v1beta1.DeleteRoomRequest\032\026" + + ".google.protobuf.Empty\"&\332A\004name\202\323\344\223\002\031*\027/" + + "v1beta1/{name=rooms/*}\022z\n\tListRooms\022).go" + + "ogle.showcase.v1beta1.ListRoomsRequest\032*" + + ".google.showcase.v1beta1.ListRoomsRespon" + + "se\"\026\202\323\344\223\002\020\022\016/v1beta1/rooms\022\366\001\n\013CreateBlu" + + "rb\022+.google.showcase.v1beta1.CreateBlurb" + + "Request\032\036.google.showcase.v1beta1.Blurb\"" + + "\231\001\332A\034parent,blurb.user,blurb.text\332A\035pare" + + "nt,blurb.user,blurb.image\202\323\344\223\002T\" /v1beta" + + "1/{parent=rooms/*}/blurbs:\001*Z-\"(/v1beta1" + + "/{parent=users/*/profile}/blurbs:\001*\022\261\001\n\010" + + "GetBlurb\022(.google.showcase.v1beta1.GetBl" + + "urbRequest\032\036.google.showcase.v1beta1.Blu" + + "rb\"[\332A\004name\202\323\344\223\002N\022 /v1beta1/{name=rooms/" + + "*/blurbs/*}Z*\022(/v1beta1/{name=users/*/pr" + + "ofile/blurbs/*}\022\312\001\n\013UpdateBlurb\022+.google" + + ".showcase.v1beta1.UpdateBlurbRequest\032\036.g" + + "oogle.showcase.v1beta1.Blurb\"n\202\323\344\223\002h2&/v" + + "1beta1/{blurb.name=rooms/*/blurbs/*}:\005bl" + + "urbZ72./v1beta1/{blurb.name=users/*/prof" + + "ile/blurbs/*}:\005blurb\022\257\001\n\013DeleteBlurb\022+.g" + + "oogle.showcase.v1beta1.DeleteBlurbReques" + + "t\032\026.google.protobuf.Empty\"[\332A\004name\202\323\344\223\002N" + + "* /v1beta1/{name=rooms/*/blurbs/*}Z**(/v" + + "1beta1/{name=users/*/profile/blurbs/*}\022\304" + + "\001\n\nListBlurbs\022*.google.showcase.v1beta1." + + "ListBlurbsRequest\032+.google.showcase.v1be" + + "ta1.ListBlurbsResponse\"]\332A\006parent\202\323\344\223\002N\022" + + " /v1beta1/{parent=rooms/*}/blurbsZ*\022(/v1" + + "beta1/{parent=users/*/profile}/blurbs\022\201\002" + + "\n\014SearchBlurbs\022,.google.showcase.v1beta1" + + ".SearchBlurbsRequest\032\035.google.longrunnin" + + "g.Operation\"\243\001\312A,\n\024SearchBlurbsResponse\022" + + "\024SearchBlurbsMetadata\332A\014parent,query\202\323\344\223" + + "\002_\"\'/v1beta1/{parent=rooms/*}/blurbs:sea" + + "rch:\001*Z1\"//v1beta1/{parent=users/*/profi" + + "le}/blurbs:search\022\323\001\n\014StreamBlurbs\022,.goo" + + "gle.showcase.v1beta1.StreamBlurbsRequest" + + "\032-.google.showcase.v1beta1.StreamBlurbsR" + + "esponse\"d\202\323\344\223\002^\"%/v1beta1/{name=rooms/*}" + + "/blurbs:stream:\001*Z2\"-/v1beta1/{name=user" + + "s/*/profile}/blurbs:stream:\001*0\001\022\316\001\n\nSend" + + "Blurbs\022+.google.showcase.v1beta1.CreateB" + + "lurbRequest\032+.google.showcase.v1beta1.Se" + + "ndBlurbsResponse\"d\202\323\344\223\002^\"%/v1beta1/{pare" + + "nt=rooms/*}/blurbs:send:\001*Z2\"-/v1beta1/{" + + "parent=users/*/profile}/blurbs:send:\001*(\001" + + "\022e\n\007Connect\022\'.google.showcase.v1beta1.Co" + + "nnectRequest\032-.google.showcase.v1beta1.S" + + "treamBlurbsResponse(\0010\001\032\021\312A\016localhost:74" + + "69Bq\n\033com.google.showcase.v1beta1P\001Z4git" + + "hub.com/googleapis/gapic-showcase/server" + + "/genproto\352\002\031Google::Showcase::V1beta1b\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandLegacyMappedResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandLegacyMappedResponse.java index 57ff574d53..2d3887f7d3 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandLegacyMappedResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandLegacyMappedResponse.java @@ -26,11 +26,6 @@ protected java.lang.Object newInstance( return new PagedExpandLegacyMappedResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_PagedExpandLegacyMappedResponse_descriptor; @@ -336,11 +331,13 @@ public static com.google.showcase.v1beta1.PagedExpandLegacyMappedResponse parseF return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.PagedExpandLegacyMappedResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.PagedExpandLegacyMappedResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandLegacyRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandLegacyRequest.java index ed44613236..30614a85ac 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandLegacyRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandLegacyRequest.java @@ -33,11 +33,6 @@ protected java.lang.Object newInstance( return new PagedExpandLegacyRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_PagedExpandLegacyRequest_descriptor; @@ -291,11 +286,13 @@ public static com.google.showcase.v1beta1.PagedExpandLegacyRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.PagedExpandLegacyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.PagedExpandLegacyRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -658,7 +655,7 @@ public int getMaxResults() { * @return This builder for chaining. */ public Builder setMaxResults(int value) { - + maxResults_ = value; bitField0_ |= 0x00000002; onChanged(); diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandRequest.java index 4692f6ecfd..84b9daf944 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandRequest.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new PagedExpandRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_PagedExpandRequest_descriptor; @@ -287,11 +282,13 @@ public static com.google.showcase.v1beta1.PagedExpandRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.PagedExpandRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.PagedExpandRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -648,7 +645,7 @@ public int getPageSize() { * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandResponse.java index c7856078c6..12833bbefa 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandResponse.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new PagedExpandResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_PagedExpandResponse_descriptor; @@ -278,11 +273,13 @@ public static com.google.showcase.v1beta1.PagedExpandResponse parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.PagedExpandResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.PagedExpandResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandResponseList.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandResponseList.java index 68701c202e..4222a0e3da 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandResponseList.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandResponseList.java @@ -20,7 +20,8 @@ private PagedExpandResponseList(com.google.protobuf.GeneratedMessageV3.Builderrepeated string words = 1; * @return A list containing the words. @@ -199,11 +196,13 @@ public static com.google.showcase.v1beta1.PagedExpandResponseList parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.PagedExpandResponseList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.PagedExpandResponseList parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -283,8 +282,8 @@ private Builder( public Builder clear() { super.clear(); bitField0_ = 0; - words_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); + words_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @@ -311,22 +310,17 @@ public com.google.showcase.v1beta1.PagedExpandResponseList build() { @java.lang.Override public com.google.showcase.v1beta1.PagedExpandResponseList buildPartial() { com.google.showcase.v1beta1.PagedExpandResponseList result = new com.google.showcase.v1beta1.PagedExpandResponseList(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.showcase.v1beta1.PagedExpandResponseList result) { - if (((bitField0_ & 0x00000001) != 0)) { - words_ = words_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.words_ = words_; - } - private void buildPartial0(com.google.showcase.v1beta1.PagedExpandResponseList result) { int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + words_.makeImmutable(); + result.words_ = words_; + } } @java.lang.Override @@ -376,7 +370,7 @@ public Builder mergeFrom(com.google.showcase.v1beta1.PagedExpandResponseList oth if (!other.words_.isEmpty()) { if (words_.isEmpty()) { words_ = other.words_; - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ |= 0x00000001; } else { ensureWordsIsMutable(); words_.addAll(other.words_); @@ -432,12 +426,13 @@ public Builder mergeFrom( } private int bitField0_; - private com.google.protobuf.LazyStringList words_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList words_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureWordsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { + if (!words_.isModifiable()) { words_ = new com.google.protobuf.LazyStringArrayList(words_); - bitField0_ |= 0x00000001; - } + } + bitField0_ |= 0x00000001; } /** * repeated string words = 1; @@ -445,7 +440,8 @@ private void ensureWordsIsMutable() { */ public com.google.protobuf.ProtocolStringList getWordsList() { - return words_.getUnmodifiableView(); + words_.makeImmutable(); + return words_; } /** * repeated string words = 1; @@ -482,6 +478,7 @@ public Builder setWords( if (value == null) { throw new NullPointerException(); } ensureWordsIsMutable(); words_.set(index, value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -495,6 +492,7 @@ public Builder addWords( if (value == null) { throw new NullPointerException(); } ensureWordsIsMutable(); words_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -508,6 +506,7 @@ public Builder addAllWords( ensureWordsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, words_); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -516,8 +515,9 @@ public Builder addAllWords( * @return This builder for chaining. */ public Builder clearWords() { - words_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); + words_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } @@ -532,6 +532,7 @@ public Builder addWordsBytes( checkByteStringIsUtf8(value); ensureWordsIsMutable(); words_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RepeatRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RepeatRequest.java index 1fefa21ef5..2a5d971dcb 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RepeatRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RepeatRequest.java @@ -27,11 +27,6 @@ protected java.lang.Object newInstance( return new RepeatRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.ComplianceOuterClass.internal_static_google_showcase_v1beta1_RepeatRequest_descriptor; @@ -519,11 +514,13 @@ public static com.google.showcase.v1beta1.RepeatRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.RepeatRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.RepeatRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1075,7 +1072,7 @@ public boolean getServerVerify() { * @return This builder for chaining. */ public Builder setServerVerify(boolean value) { - + serverVerify_ = value; bitField0_ |= 0x00000004; onChanged(); @@ -1225,7 +1222,7 @@ public int getFInt32() { * @return This builder for chaining. */ public Builder setFInt32(int value) { - + fInt32_ = value; bitField0_ |= 0x00000010; onChanged(); @@ -1262,7 +1259,7 @@ public long getFInt64() { * @return This builder for chaining. */ public Builder setFInt64(long value) { - + fInt64_ = value; bitField0_ |= 0x00000020; onChanged(); @@ -1294,7 +1291,7 @@ public double getFDouble() { * @return This builder for chaining. */ public Builder setFDouble(double value) { - + fDouble_ = value; bitField0_ |= 0x00000040; onChanged(); @@ -1334,7 +1331,7 @@ public int getPInt32() { * @return This builder for chaining. */ public Builder setPInt32(int value) { - + pInt32_ = value; bitField0_ |= 0x00000080; onChanged(); @@ -1374,7 +1371,7 @@ public long getPInt64() { * @return This builder for chaining. */ public Builder setPInt64(long value) { - + pInt64_ = value; bitField0_ |= 0x00000100; onChanged(); @@ -1414,7 +1411,7 @@ public double getPDouble() { * @return This builder for chaining. */ public Builder setPDouble(double value) { - + pDouble_ = value; bitField0_ |= 0x00000200; onChanged(); diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RepeatResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RepeatResponse.java index 63fd1bfce6..228003f482 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RepeatResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RepeatResponse.java @@ -26,11 +26,6 @@ protected java.lang.Object newInstance( return new RepeatResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.ComplianceOuterClass.internal_static_google_showcase_v1beta1_RepeatResponse_descriptor; @@ -241,11 +236,13 @@ public static com.google.showcase.v1beta1.RepeatResponse parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.RepeatResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.RepeatResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ReportSessionRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ReportSessionRequest.java index 1e8f5684a6..4051722504 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ReportSessionRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ReportSessionRequest.java @@ -30,11 +30,6 @@ protected java.lang.Object newInstance( return new ReportSessionRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_ReportSessionRequest_descriptor; @@ -203,11 +198,13 @@ public static com.google.showcase.v1beta1.ReportSessionRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ReportSessionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ReportSessionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ReportSessionResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ReportSessionResponse.java index aedf6530e7..ac665d3649 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ReportSessionResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ReportSessionResponse.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new ReportSessionResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_ReportSessionResponse_descriptor; @@ -411,11 +406,13 @@ public static com.google.showcase.v1beta1.ReportSessionResponse parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.ReportSessionResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.ReportSessionResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Room.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Room.java index 037a9f645a..43388cf6a7 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Room.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Room.java @@ -32,11 +32,6 @@ protected java.lang.Object newInstance( return new Room(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_Room_descriptor; @@ -427,11 +422,13 @@ public static com.google.showcase.v1beta1.Room parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.Room parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.Room parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsMetadata.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsMetadata.java index b4209e5580..c86dbeb922 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsMetadata.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsMetadata.java @@ -30,11 +30,6 @@ protected java.lang.Object newInstance( return new SearchBlurbsMetadata(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_SearchBlurbsMetadata_descriptor; @@ -200,11 +195,13 @@ public static com.google.showcase.v1beta1.SearchBlurbsMetadata parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.SearchBlurbsMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.SearchBlurbsMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsRequest.java index b98b0bc3a3..cd1eceaaf8 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsRequest.java @@ -33,11 +33,6 @@ protected java.lang.Object newInstance( return new SearchBlurbsRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_SearchBlurbsRequest_descriptor; @@ -358,11 +353,13 @@ public static com.google.showcase.v1beta1.SearchBlurbsRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.SearchBlurbsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.SearchBlurbsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -840,7 +837,7 @@ public int getPageSize() { * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000004; onChanged(); diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsResponse.java index 56e558fcc1..ffc67d7e5c 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsResponse.java @@ -32,11 +32,6 @@ protected java.lang.Object newInstance( return new SearchBlurbsResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_SearchBlurbsResponse_descriptor; @@ -285,11 +280,13 @@ public static com.google.showcase.v1beta1.SearchBlurbsResponse parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.SearchBlurbsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.SearchBlurbsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SendBlurbsResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SendBlurbsResponse.java index cb3bc3bd39..b89d774f34 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SendBlurbsResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SendBlurbsResponse.java @@ -21,7 +21,8 @@ private SendBlurbsResponse(com.google.protobuf.GeneratedMessageV3.Builder bui super(builder); } private SendBlurbsResponse() { - names_ = com.google.protobuf.LazyStringArrayList.EMPTY; + names_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -31,11 +32,6 @@ protected java.lang.Object newInstance( return new SendBlurbsResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_SendBlurbsResponse_descriptor; @@ -51,7 +47,8 @@ protected java.lang.Object newInstance( public static final int NAMES_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList names_; + private com.google.protobuf.LazyStringArrayList names_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** *
    * The names of successful blurb creations.
@@ -216,11 +213,13 @@ public static com.google.showcase.v1beta1.SendBlurbsResponse parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.SendBlurbsResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.SendBlurbsResponse parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -301,8 +300,8 @@ private Builder(
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      names_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      bitField0_ = (bitField0_ & ~0x00000001);
+      names_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
@@ -329,22 +328,17 @@ public com.google.showcase.v1beta1.SendBlurbsResponse build() {
     @java.lang.Override
     public com.google.showcase.v1beta1.SendBlurbsResponse buildPartial() {
       com.google.showcase.v1beta1.SendBlurbsResponse result = new com.google.showcase.v1beta1.SendBlurbsResponse(this);
-      buildPartialRepeatedFields(result);
       if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.showcase.v1beta1.SendBlurbsResponse result) {
-      if (((bitField0_ & 0x00000001) != 0)) {
-        names_ = names_.getUnmodifiableView();
-        bitField0_ = (bitField0_ & ~0x00000001);
-      }
-      result.names_ = names_;
-    }
-
     private void buildPartial0(com.google.showcase.v1beta1.SendBlurbsResponse result) {
       int from_bitField0_ = bitField0_;
+      if (((from_bitField0_ & 0x00000001) != 0)) {
+        names_.makeImmutable();
+        result.names_ = names_;
+      }
     }
 
     @java.lang.Override
@@ -394,7 +388,7 @@ public Builder mergeFrom(com.google.showcase.v1beta1.SendBlurbsResponse other) {
       if (!other.names_.isEmpty()) {
         if (names_.isEmpty()) {
           names_ = other.names_;
-          bitField0_ = (bitField0_ & ~0x00000001);
+          bitField0_ |= 0x00000001;
         } else {
           ensureNamesIsMutable();
           names_.addAll(other.names_);
@@ -450,12 +444,13 @@ public Builder mergeFrom(
     }
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList names_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringArrayList names_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     private void ensureNamesIsMutable() {
-      if (!((bitField0_ & 0x00000001) != 0)) {
+      if (!names_.isModifiable()) {
         names_ = new com.google.protobuf.LazyStringArrayList(names_);
-        bitField0_ |= 0x00000001;
-       }
+      }
+      bitField0_ |= 0x00000001;
     }
     /**
      * 
@@ -467,7 +462,8 @@ private void ensureNamesIsMutable() {
      */
     public com.google.protobuf.ProtocolStringList
         getNamesList() {
-      return names_.getUnmodifiableView();
+      names_.makeImmutable();
+      return names_;
     }
     /**
      * 
@@ -520,6 +516,7 @@ public Builder setNames(
       if (value == null) { throw new NullPointerException(); }
       ensureNamesIsMutable();
       names_.set(index, value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -537,6 +534,7 @@ public Builder addNames(
       if (value == null) { throw new NullPointerException(); }
       ensureNamesIsMutable();
       names_.add(value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -554,6 +552,7 @@ public Builder addAllNames(
       ensureNamesIsMutable();
       com.google.protobuf.AbstractMessageLite.Builder.addAll(
           values, names_);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -566,8 +565,9 @@ public Builder addAllNames(
      * @return This builder for chaining.
      */
     public Builder clearNames() {
-      names_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      bitField0_ = (bitField0_ & ~0x00000001);
+      names_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
+      bitField0_ = (bitField0_ & ~0x00000001);;
       onChanged();
       return this;
     }
@@ -586,6 +586,7 @@ public Builder addNamesBytes(
       checkByteStringIsUtf8(value);
       ensureNamesIsMutable();
       names_.add(value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Sequence.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Sequence.java
index 3f9f233beb..29245079fe 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Sequence.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Sequence.java
@@ -27,11 +27,6 @@ protected java.lang.Object newInstance(
     return new Sequence();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_Sequence_descriptor;
@@ -129,11 +124,6 @@ protected java.lang.Object newInstance(
       return new Response();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_Sequence_Response_descriptor;
@@ -353,11 +343,13 @@ public static com.google.showcase.v1beta1.Sequence.Response parseFrom(
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static com.google.showcase.v1beta1.Sequence.Response parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.showcase.v1beta1.Sequence.Response parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1198,11 +1190,13 @@ public static com.google.showcase.v1beta1.Sequence parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.Sequence parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.Sequence parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceOuterClass.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceOuterClass.java
index a4b1da88d7..6536285f94 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceOuterClass.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceOuterClass.java
@@ -105,91 +105,91 @@ public static void registerAllExtensions(
       "\032\031google/api/resource.proto\032\036google/prot" +
       "obuf/duration.proto\032\033google/protobuf/emp" +
       "ty.proto\032\037google/protobuf/timestamp.prot" +
-      "o\032\027google/rpc/status.proto\"\363\001\n\010Sequence\022" +
-      "\021\n\004name\030\001 \001(\tB\003\340A\003\022=\n\tresponses\030\002 \003(\0132*." +
-      "google.showcase.v1beta1.Sequence.Respons" +
-      "e\032X\n\010Response\022\"\n\006status\030\001 \001(\0132\022.google.r" +
-      "pc.Status\022(\n\005delay\030\002 \001(\0132\031.google.protob" +
-      "uf.Duration:;\352A8\n showcase.googleapis.co" +
-      "m/Sequence\022\024sequences/{sequence}\"\312\002\n\021Str" +
-      "eamingSequence\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\017\n\007con" +
-      "tent\030\002 \001(\t\022F\n\tresponses\030\003 \003(\01323.google.s" +
-      "howcase.v1beta1.StreamingSequence.Respon" +
-      "se\032p\n\010Response\022\"\n\006status\030\001 \001(\0132\022.google." +
+      "o\032\027google/rpc/status.proto\"\364\001\n\010Sequence\022" +
+      "\022\n\004name\030\001 \001(\tB\004\342A\001\003\022=\n\tresponses\030\002 \003(\0132*" +
+      ".google.showcase.v1beta1.Sequence.Respon" +
+      "se\032X\n\010Response\022\"\n\006status\030\001 \001(\0132\022.google." +
       "rpc.Status\022(\n\005delay\030\002 \001(\0132\031.google.proto" +
-      "buf.Duration\022\026\n\016response_index\030\003 \001(\005:W\352A" +
-      "T\n)showcase.googleapis.com/StreamingSequ" +
-      "ence\022\'streamingSequences/{streaming_sequ" +
-      "ence}\"\350\003\n\027StreamingSequenceReport\022\021\n\004nam" +
-      "e\030\001 \001(\tB\003\340A\003\022J\n\010attempts\030\002 \003(\01328.google." +
-      "showcase.v1beta1.StreamingSequenceReport" +
-      ".Attempt\032\366\001\n\007Attempt\022\026\n\016attempt_number\030\001" +
-      " \001(\005\0224\n\020attempt_deadline\030\002 \001(\0132\032.google." +
-      "protobuf.Timestamp\0221\n\rresponse_time\030\003 \001(" +
-      "\0132\032.google.protobuf.Timestamp\0220\n\rattempt" +
-      "_delay\030\004 \001(\0132\031.google.protobuf.Duration\022" +
-      "\"\n\006status\030\005 \001(\0132\022.google.rpc.Status\022\024\n\014c" +
-      "ontent_sent\030\006 \001(\t:u\352Ar\n/showcase.googlea" +
-      "pis.com/StreamingSequenceReport\022?streami" +
-      "ngSequences/{streaming_sequence}/streami" +
-      "ngSequenceReport\"\233\003\n\016SequenceReport\022\021\n\004n" +
-      "ame\030\001 \001(\tB\003\340A\003\022A\n\010attempts\030\002 \003(\0132/.googl" +
-      "e.showcase.v1beta1.SequenceReport.Attemp" +
-      "t\032\340\001\n\007Attempt\022\026\n\016attempt_number\030\001 \001(\005\0224\n" +
-      "\020attempt_deadline\030\002 \001(\0132\032.google.protobu" +
-      "f.Timestamp\0221\n\rresponse_time\030\003 \001(\0132\032.goo" +
-      "gle.protobuf.Timestamp\0220\n\rattempt_delay\030" +
-      "\004 \001(\0132\031.google.protobuf.Duration\022\"\n\006stat" +
-      "us\030\005 \001(\0132\022.google.rpc.Status:P\352AM\n&showc" +
-      "ase.googleapis.com/SequenceReport\022#seque" +
-      "nces/{sequence}/sequenceReport\"L\n\025Create" +
-      "SequenceRequest\0223\n\010sequence\030\001 \001(\0132!.goog" +
-      "le.showcase.v1beta1.Sequence\"h\n\036CreateSt" +
-      "reamingSequenceRequest\022F\n\022streaming_sequ" +
-      "ence\030\001 \001(\0132*.google.showcase.v1beta1.Str" +
-      "eamingSequence\"P\n\026AttemptSequenceRequest" +
-      "\0226\n\004name\030\001 \001(\tB(\372A\"\n showcase.googleapis" +
-      ".com/Sequence\340A\002\"b\n\037AttemptStreamingSequ" +
-      "enceRequest\022?\n\004name\030\001 \001(\tB1\372A+\n)showcase" +
-      ".googleapis.com/StreamingSequence\340A\002\"3\n " +
-      "AttemptStreamingSequenceResponse\022\017\n\007cont" +
-      "ent\030\001 \001(\t\"X\n\030GetSequenceReportRequest\022<\n" +
-      "\004name\030\001 \001(\tB.\372A(\n&showcase.googleapis.co" +
-      "m/SequenceReport\340A\002\"j\n!GetStreamingSeque" +
-      "nceReportRequest\022E\n\004name\030\001 \001(\tB7\372A1\n/sho" +
-      "wcase.googleapis.com/StreamingSequenceRe" +
-      "port\340A\0022\360\010\n\017SequenceService\022\224\001\n\016CreateSe" +
-      "quence\022..google.showcase.v1beta1.CreateS" +
-      "equenceRequest\032!.google.showcase.v1beta1" +
-      ".Sequence\"/\202\323\344\223\002\036\"\022/v1beta1/sequences:\010s" +
-      "equence\332A\010sequence\022\314\001\n\027CreateStreamingSe" +
-      "quence\0227.google.showcase.v1beta1.CreateS" +
-      "treamingSequenceRequest\032*.google.showcas" +
-      "e.v1beta1.StreamingSequence\"L\202\323\344\223\0021\"\033/v1" +
-      "beta1/streamingSequences:\022streaming_sequ" +
-      "ence\332A\022streaming_sequence\022\252\001\n\021GetSequenc" +
-      "eReport\0221.google.showcase.v1beta1.GetSeq" +
-      "uenceReportRequest\032\'.google.showcase.v1b" +
-      "eta1.SequenceReport\"9\202\323\344\223\002,\022*/v1beta1/{n" +
-      "ame=sequences/*/sequenceReport}\332A\004name\022\327" +
-      "\001\n\032GetStreamingSequenceReport\022:.google.s" +
-      "howcase.v1beta1.GetStreamingSequenceRepo" +
-      "rtRequest\0320.google.showcase.v1beta1.Stre" +
-      "amingSequenceReport\"K\202\323\344\223\002>\022\022
  * A session is a suite of tests, generally being made in the context
  * of testing code generation.
+ *
  * A session defines tests it may expect, based on which version of the
  * code generation spec is in use.
  * 
@@ -34,11 +35,6 @@ protected java.lang.Object newInstance( return new Session(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_Session_descriptor; @@ -392,11 +388,13 @@ public static com.google.showcase.v1beta1.Session parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.Session parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.Session parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -442,6 +440,7 @@ protected Builder newBuilderForType( *
    * A session is a suite of tests, generally being made in the context
    * of testing code generation.
+   *
    * A session defines tests it may expect, based on which version of the
    * code generation spec is in use.
    * 
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamBlurbsRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamBlurbsRequest.java index 0c9520f6db..7bc237e8fa 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamBlurbsRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamBlurbsRequest.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new StreamBlurbsRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_StreamBlurbsRequest_descriptor; @@ -258,11 +253,13 @@ public static com.google.showcase.v1beta1.StreamBlurbsRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.StreamBlurbsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.StreamBlurbsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamBlurbsResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamBlurbsResponse.java index 5310bca677..9246127242 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamBlurbsResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamBlurbsResponse.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new StreamBlurbsResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_StreamBlurbsResponse_descriptor; @@ -391,11 +386,13 @@ public static com.google.showcase.v1beta1.StreamBlurbsResponse parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.StreamBlurbsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.StreamBlurbsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequence.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequence.java index 2dd907992e..78e297002a 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequence.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequence.java @@ -28,11 +28,6 @@ protected java.lang.Object newInstance( return new StreamingSequence(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_StreamingSequence_descriptor; @@ -140,11 +135,6 @@ protected java.lang.Object newInstance( return new Response(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_StreamingSequence_Response_descriptor; @@ -390,11 +380,13 @@ public static com.google.showcase.v1beta1.StreamingSequence.Response parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.StreamingSequence.Response parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.StreamingSequence.Response parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -981,7 +973,7 @@ public int getResponseIndex() { * @return This builder for chaining. */ public Builder setResponseIndex(int value) { - + responseIndex_ = value; bitField0_ |= 0x00000004; onChanged(); @@ -1348,11 +1340,13 @@ public static com.google.showcase.v1beta1.StreamingSequence parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.StreamingSequence parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.StreamingSequence parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequenceReport.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequenceReport.java index e25e3e3e32..011be18358 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequenceReport.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequenceReport.java @@ -27,11 +27,6 @@ protected java.lang.Object newInstance( return new StreamingSequenceReport(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_StreamingSequenceReport_descriptor; @@ -212,11 +207,6 @@ protected java.lang.Object newInstance( return new Attempt(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_StreamingSequenceReport_Attempt_descriptor; @@ -625,11 +615,13 @@ public static com.google.showcase.v1beta1.StreamingSequenceReport.Attempt parseF return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.StreamingSequenceReport.Attempt parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.StreamingSequenceReport.Attempt parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -960,7 +952,7 @@ public int getAttemptNumber() { * @return This builder for chaining. */ public Builder setAttemptNumber(int value) { - + attemptNumber_ = value; bitField0_ |= 0x00000001; onChanged(); @@ -1975,11 +1967,13 @@ public static com.google.showcase.v1beta1.StreamingSequenceReport parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.StreamingSequenceReport parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.StreamingSequenceReport parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Test.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Test.java index 23df212ac0..3b5d3be9b0 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Test.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Test.java @@ -29,11 +29,6 @@ protected java.lang.Object newInstance( return new Test(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_Test_descriptor; @@ -71,8 +66,10 @@ public enum ExpectationLevel /** *
      * This test is recommended.
+     *
      * If a generator explicitly ignores a recommended test (see `DeleteTest`),
      * then the report may still pass, but with a warning.
+     *
      * If a generator skips a recommended test and does not explicitly
      * express that intention, the report will fail.
      * 
@@ -83,8 +80,10 @@ public enum ExpectationLevel /** *
      * This test is optional.
+     *
      * If a generator explicitly ignores an optional test (see `DeleteTest`),
      * then the report may still pass, and no warning will be issued.
+     *
      * If a generator skips an optional test and does not explicitly
      * express that intention, the report may still pass, but with a
      * warning.
@@ -111,8 +110,10 @@ public enum ExpectationLevel
     /**
      * 
      * This test is recommended.
+     *
      * If a generator explicitly ignores a recommended test (see `DeleteTest`),
      * then the report may still pass, but with a warning.
+     *
      * If a generator skips a recommended test and does not explicitly
      * express that intention, the report will fail.
      * 
@@ -123,8 +124,10 @@ public enum ExpectationLevel /** *
      * This test is optional.
+     *
      * If a generator explicitly ignores an optional test (see `DeleteTest`),
      * then the report may still pass, and no warning will be issued.
+     *
      * If a generator skips an optional test and does not explicitly
      * express that intention, the report may still pass, but with a
      * warning.
@@ -366,11 +369,6 @@ protected java.lang.Object newInstance(
       return new Blueprint();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_Test_Blueprint_descriptor;
@@ -446,11 +444,6 @@ protected java.lang.Object newInstance(
         return new Invocation();
       }
 
-      @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
-        return this.unknownFields;
-      }
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
         return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_Test_Blueprint_Invocation_descriptor;
@@ -645,11 +638,13 @@ public static com.google.showcase.v1beta1.Test.Blueprint.Invocation parseFrom(
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
+
       public static com.google.showcase.v1beta1.Test.Blueprint.Invocation parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
+
       public static com.google.showcase.v1beta1.Test.Blueprint.Invocation parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1416,11 +1411,13 @@ public static com.google.showcase.v1beta1.Test.Blueprint parseFrom(
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static com.google.showcase.v1beta1.Test.Blueprint parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.showcase.v1beta1.Test.Blueprint parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -2787,11 +2784,13 @@ public static com.google.showcase.v1beta1.Test parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.Test parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.Test parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestRun.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestRun.java
index be4f7a4af2..68f8fe689d 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestRun.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestRun.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new TestRun();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_TestRun_descriptor;
@@ -261,11 +256,13 @@ public static com.google.showcase.v1beta1.TestRun parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.TestRun parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.TestRun parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateBlurbRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateBlurbRequest.java
index 1836baf1a4..693e11388d 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateBlurbRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateBlurbRequest.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new UpdateBlurbRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_UpdateBlurbRequest_descriptor;
@@ -257,11 +252,13 @@ public static com.google.showcase.v1beta1.UpdateBlurbRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.UpdateBlurbRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.UpdateBlurbRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateRoomRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateRoomRequest.java
index 1fdf515410..bc7c2ce2ec 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateRoomRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateRoomRequest.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new UpdateRoomRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_UpdateRoomRequest_descriptor;
@@ -257,11 +252,13 @@ public static com.google.showcase.v1beta1.UpdateRoomRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.UpdateRoomRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.UpdateRoomRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateUserRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateUserRequest.java
index 81d5c7b720..af856bda97 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateUserRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateUserRequest.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new UpdateUserRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.IdentityOuterClass.internal_static_google_showcase_v1beta1_UpdateUserRequest_descriptor;
@@ -257,11 +252,13 @@ public static com.google.showcase.v1beta1.UpdateUserRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.UpdateUserRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.UpdateUserRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/User.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/User.java
index 225f7a2fac..c52585f30f 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/User.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/User.java
@@ -33,11 +33,6 @@ protected java.lang.Object newInstance(
     return new User();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.IdentityOuterClass.internal_static_google_showcase_v1beta1_User_descriptor;
@@ -329,6 +324,7 @@ public double getHeightFeet() {
   /**
    * 
    * The nickname of the user.
+   *
    * (-- aip.dev/not-precedent: An empty string is a valid nickname.
    *     Ordinarily, proto3_optional should not be used on a `string` field. --)
    * 
@@ -343,6 +339,7 @@ public boolean hasNickname() { /** *
    * The nickname of the user.
+   *
    * (-- aip.dev/not-precedent: An empty string is a valid nickname.
    *     Ordinarily, proto3_optional should not be used on a `string` field. --)
    * 
@@ -366,6 +363,7 @@ public java.lang.String getNickname() { /** *
    * The nickname of the user.
+   *
    * (-- aip.dev/not-precedent: An empty string is a valid nickname.
    *     Ordinarily, proto3_optional should not be used on a `string` field. --)
    * 
@@ -393,6 +391,7 @@ public java.lang.String getNickname() { /** *
    * Enables the receiving of notifications. The default is true if unset.
+   *
    * (-- aip.dev/not-precedent: The default for the feature is true.
    *     Ordinarily, the default for a `bool` field should be false. --)
    * 
@@ -407,6 +406,7 @@ public boolean hasEnableNotifications() { /** *
    * Enables the receiving of notifications. The default is true if unset.
+   *
    * (-- aip.dev/not-precedent: The default for the feature is true.
    *     Ordinarily, the default for a `bool` field should be false. --)
    * 
@@ -645,11 +645,13 @@ public static com.google.showcase.v1beta1.User parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.User parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.User parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1610,7 +1612,7 @@ public int getAge() { * @return This builder for chaining. */ public Builder setAge(int value) { - + age_ = value; bitField0_ |= 0x00000020; onChanged(); @@ -1666,7 +1668,7 @@ public double getHeightFeet() { * @return This builder for chaining. */ public Builder setHeightFeet(double value) { - + heightFeet_ = value; bitField0_ |= 0x00000040; onChanged(); @@ -1691,6 +1693,7 @@ public Builder clearHeightFeet() { /** *
      * The nickname of the user.
+     *
      * (-- aip.dev/not-precedent: An empty string is a valid nickname.
      *     Ordinarily, proto3_optional should not be used on a `string` field. --)
      * 
@@ -1704,6 +1707,7 @@ public boolean hasNickname() { /** *
      * The nickname of the user.
+     *
      * (-- aip.dev/not-precedent: An empty string is a valid nickname.
      *     Ordinarily, proto3_optional should not be used on a `string` field. --)
      * 
@@ -1726,6 +1730,7 @@ public java.lang.String getNickname() { /** *
      * The nickname of the user.
+     *
      * (-- aip.dev/not-precedent: An empty string is a valid nickname.
      *     Ordinarily, proto3_optional should not be used on a `string` field. --)
      * 
@@ -1749,6 +1754,7 @@ public java.lang.String getNickname() { /** *
      * The nickname of the user.
+     *
      * (-- aip.dev/not-precedent: An empty string is a valid nickname.
      *     Ordinarily, proto3_optional should not be used on a `string` field. --)
      * 
@@ -1768,6 +1774,7 @@ public Builder setNickname( /** *
      * The nickname of the user.
+     *
      * (-- aip.dev/not-precedent: An empty string is a valid nickname.
      *     Ordinarily, proto3_optional should not be used on a `string` field. --)
      * 
@@ -1784,6 +1791,7 @@ public Builder clearNickname() { /** *
      * The nickname of the user.
+     *
      * (-- aip.dev/not-precedent: An empty string is a valid nickname.
      *     Ordinarily, proto3_optional should not be used on a `string` field. --)
      * 
@@ -1806,6 +1814,7 @@ public Builder setNicknameBytes( /** *
      * Enables the receiving of notifications. The default is true if unset.
+     *
      * (-- aip.dev/not-precedent: The default for the feature is true.
      *     Ordinarily, the default for a `bool` field should be false. --)
      * 
@@ -1820,6 +1829,7 @@ public boolean hasEnableNotifications() { /** *
      * Enables the receiving of notifications. The default is true if unset.
+     *
      * (-- aip.dev/not-precedent: The default for the feature is true.
      *     Ordinarily, the default for a `bool` field should be false. --)
      * 
@@ -1834,6 +1844,7 @@ public boolean getEnableNotifications() { /** *
      * Enables the receiving of notifications. The default is true if unset.
+     *
      * (-- aip.dev/not-precedent: The default for the feature is true.
      *     Ordinarily, the default for a `bool` field should be false. --)
      * 
@@ -1843,7 +1854,7 @@ public boolean getEnableNotifications() { * @return This builder for chaining. */ public Builder setEnableNotifications(boolean value) { - + enableNotifications_ = value; bitField0_ |= 0x00000100; onChanged(); @@ -1852,6 +1863,7 @@ public Builder setEnableNotifications(boolean value) { /** *
      * Enables the receiving of notifications. The default is true if unset.
+     *
      * (-- aip.dev/not-precedent: The default for the feature is true.
      *     Ordinarily, the default for a `bool` field should be false. --)
      * 
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UserOrBuilder.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UserOrBuilder.java index 25f08bb513..9d3e0d0ca4 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UserOrBuilder.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UserOrBuilder.java @@ -162,6 +162,7 @@ public interface UserOrBuilder extends /** *
    * The nickname of the user.
+   *
    * (-- aip.dev/not-precedent: An empty string is a valid nickname.
    *     Ordinarily, proto3_optional should not be used on a `string` field. --)
    * 
@@ -173,6 +174,7 @@ public interface UserOrBuilder extends /** *
    * The nickname of the user.
+   *
    * (-- aip.dev/not-precedent: An empty string is a valid nickname.
    *     Ordinarily, proto3_optional should not be used on a `string` field. --)
    * 
@@ -184,6 +186,7 @@ public interface UserOrBuilder extends /** *
    * The nickname of the user.
+   *
    * (-- aip.dev/not-precedent: An empty string is a valid nickname.
    *     Ordinarily, proto3_optional should not be used on a `string` field. --)
    * 
@@ -197,6 +200,7 @@ public interface UserOrBuilder extends /** *
    * Enables the receiving of notifications. The default is true if unset.
+   *
    * (-- aip.dev/not-precedent: The default for the feature is true.
    *     Ordinarily, the default for a `bool` field should be false. --)
    * 
@@ -208,6 +212,7 @@ public interface UserOrBuilder extends /** *
    * Enables the receiving of notifications. The default is true if unset.
+   *
    * (-- aip.dev/not-precedent: The default for the feature is true.
    *     Ordinarily, the default for a `bool` field should be false. --)
    * 
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/VerifyTestRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/VerifyTestRequest.java index d0687846be..88204b80f0 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/VerifyTestRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/VerifyTestRequest.java @@ -28,11 +28,6 @@ protected java.lang.Object newInstance( return new VerifyTestRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_VerifyTestRequest_descriptor; @@ -285,11 +280,13 @@ public static com.google.showcase.v1beta1.VerifyTestRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.VerifyTestRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.VerifyTestRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/VerifyTestResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/VerifyTestResponse.java index 54b08318fd..a571f339e0 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/VerifyTestResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/VerifyTestResponse.java @@ -25,11 +25,6 @@ protected java.lang.Object newInstance( return new VerifyTestResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_VerifyTestResponse_descriptor; @@ -195,11 +190,13 @@ public static com.google.showcase.v1beta1.VerifyTestResponse parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.VerifyTestResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.VerifyTestResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitMetadata.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitMetadata.java index 532eedcb00..feb5919990 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitMetadata.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitMetadata.java @@ -29,11 +29,6 @@ protected java.lang.Object newInstance( return new WaitMetadata(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_WaitMetadata_descriptor; @@ -199,11 +194,13 @@ public static com.google.showcase.v1beta1.WaitMetadata parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.WaitMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.WaitMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitRequest.java index 58dfeb2365..b39472054d 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitRequest.java @@ -29,11 +29,6 @@ protected java.lang.Object newInstance( return new WaitRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_WaitRequest_descriptor; @@ -48,6 +43,7 @@ protected java.lang.Object newInstance( } private int endCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object end_; public enum EndCase implements com.google.protobuf.Internal.EnumLite, @@ -89,6 +85,7 @@ public int getNumber() { } private int responseCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object response_; public enum ResponseCase implements com.google.protobuf.Internal.EnumLite, @@ -480,11 +477,13 @@ public static com.google.showcase.v1beta1.WaitRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.WaitRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.WaitRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitRequestOrBuilder.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitRequestOrBuilder.java index 1050530f9c..0f00788847 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitRequestOrBuilder.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitRequestOrBuilder.java @@ -118,7 +118,7 @@ public interface WaitRequestOrBuilder extends */ com.google.showcase.v1beta1.WaitResponseOrBuilder getSuccessOrBuilder(); - public com.google.showcase.v1beta1.WaitRequest.EndCase getEndCase(); + com.google.showcase.v1beta1.WaitRequest.EndCase getEndCase(); - public com.google.showcase.v1beta1.WaitRequest.ResponseCase getResponseCase(); + com.google.showcase.v1beta1.WaitRequest.ResponseCase getResponseCase(); } diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitResponse.java index 4c9d077850..0a11dc26db 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitResponse.java @@ -30,11 +30,6 @@ protected java.lang.Object newInstance( return new WaitResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_WaitResponse_descriptor; @@ -203,11 +198,13 @@ public static com.google.showcase.v1beta1.WaitResponse parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.WaitResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.WaitResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/compliance.proto b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/compliance.proto new file mode 100755 index 0000000000..9b6c0b7d75 --- /dev/null +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/compliance.proto @@ -0,0 +1,269 @@ +// Copyright 2021 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; + +package google.showcase.v1beta1; + +option go_package = "github.com/googleapis/gapic-showcase/server/genproto"; +option java_package = "com.google.showcase.v1beta1"; +option java_multiple_files = true; +option ruby_package = "Google::Showcase::V1beta1"; + +// This service is used to test that GAPICs implement various REST-related features correctly. This mostly means transcoding proto3 requests to REST format +// correctly for various types of HTTP annotations, but it also includes verifying that unknown (numeric) enums received by clients can be round-tripped +// correctly. +service Compliance { + // This service is meant to only run locally on the port 7469 (keypad digits + // for "show"). + option (google.api.default_host) = "localhost:7469"; + + // This method echoes the ComplianceData request. This method exercises + // sending the entire request object in the REST body. + rpc RepeatDataBody(RepeatRequest) returns (RepeatResponse) { + option (google.api.http) = { + post: "/v1beta1/repeat:body" + body: "*" + }; + } + + // This method echoes the ComplianceData request. This method exercises + // sending the a message-type field in the REST body. Per AIP-127, only + // top-level, non-repeated fields can be sent this way. + rpc RepeatDataBodyInfo(RepeatRequest) returns (RepeatResponse) { + option (google.api.http) = { + post: "/v1beta1/repeat:bodyinfo" + body: "info" + }; + } + + // This method echoes the ComplianceData request. This method exercises + // sending all request fields as query parameters. + rpc RepeatDataQuery(RepeatRequest) returns (RepeatResponse) { + option (google.api.http) = { + get: "/v1beta1/repeat:query" + }; + } + + // This method echoes the ComplianceData request. This method exercises + // sending some parameters as "simple" path variables (i.e., of the form + // "/bar/{foo}" rather than "/{foo=bar/*}"), and the rest as query parameters. + rpc RepeatDataSimplePath(RepeatRequest) returns (RepeatResponse) { + option (google.api.http) = { + get: "/v1beta1/repeat/{info.f_string}/{info.f_int32}/{info.f_double}/{info.f_bool}/{info.f_kingdom}:simplepath" + }; + } + + // Same as RepeatDataSimplePath, but with a path resource. + rpc RepeatDataPathResource(RepeatRequest) returns (RepeatResponse) { + option (google.api.http) = { + get: "/v1beta1/repeat/{info.f_string=first/*}/{info.f_child.f_string=second/*}/bool/{info.f_bool}:pathresource" + additional_bindings { + get: "/v1beta1/repeat/{info.f_child.f_string=first/*}/{info.f_string=second/*}/bool/{info.f_bool}:childfirstpathresource" + } + }; + } + + // Same as RepeatDataSimplePath, but with a trailing resource. + rpc RepeatDataPathTrailingResource(RepeatRequest) returns (RepeatResponse) { + option (google.api.http) = { + get: "/v1beta1/repeat/{info.f_string=first/*}/{info.f_child.f_string=second/**}:pathtrailingresource" + }; + } + + // This method echoes the ComplianceData request, using the HTTP PUT method. + rpc RepeatDataBodyPut(RepeatRequest) returns (RepeatResponse) { + option (google.api.http) = { + put: "/v1beta1/repeat:bodyput" + body: "*" + }; + } + + // This method echoes the ComplianceData request, using the HTTP PATCH method. + rpc RepeatDataBodyPatch(RepeatRequest) returns (RepeatResponse) { + option (google.api.http) = { + patch: "/v1beta1/repeat:bodypatch" + body: "*" + }; + } + + // This method requests an enum value from the server. Depending on the contents of EnumRequest, the enum value returned will be a known enum declared in the + // .proto file, or a made-up enum value the is unknown to the client. To verify that clients can round-trip unknown enum vaues they receive, use the + // response from this RPC as the request to VerifyEnum() + // + // The values of enums sent by the server when a known or unknown value is requested will be the same within a single Showcase server run (this is needed for + // VerifyEnum() to work) but are not guaranteed to be the same across separate Showcase server runs. + rpc GetEnum(EnumRequest) returns (EnumResponse) { + option (google.api.http) = { + get: "/v1beta1/compliance/enum" + }; + } + + // This method is used to verify that clients can round-trip enum values, which is particularly important for unknown enum values over REST. VerifyEnum() + // verifies that its request, which is presumably the response that the client previously got to a GetEnum(), contains the correct data. If so, it responds + // with the same EnumResponse; otherwise, the RPC errors. + // + // This works because the values of enums sent by the server when a known or unknown value is requested will be the same within a single Showcase server run, + // although they are not guaranteed to be the same across separate Showcase server runs. + rpc VerifyEnum(EnumResponse) returns (EnumResponse) { + option (google.api.http) = { + post: "/v1beta1/compliance/enum" + }; + } + +} + +message RepeatRequest { + string name = 1; + ComplianceData info = 2; + + // If true, the server will verify that the received request matches + // the request with the same name in the compliance test suite. + bool server_verify = 3; + + // The URI template this request is expected to be bound to server-side. + optional string intended_binding_uri = 10; + + // Some top level fields, to test that these are encoded correctly + // in query params. + int32 f_int32 = 4; + int64 f_int64 = 5; + double f_double = 6; + + optional int32 p_int32 = 7; + optional int64 p_int64 = 8; + optional double p_double = 9; +} + +message RepeatResponse { + RepeatRequest request = 1; + + // The URI template the request was bound to server-side. + string binding_uri = 2; +} + +// ComplianceSuite contains a set of requests that microgenerators should issue +// over REST to the Compliance service to test their gRPC-to-REST transcoding +// implementation. +message ComplianceSuite { + repeated ComplianceGroup group = 1; +} + +// ComplianceGroups encapsulates a group of RPC requests to the Compliance +// server: one request for each combination of elements of `rpcs` and of +// `requests`. +message ComplianceGroup { + string name = 1; + repeated string rpcs = 2; + repeated RepeatRequest requests = 3; +} + +// ComplianceData is a message used for testing REST transcoding of +// different data types. +message ComplianceData { + enum LifeKingdom { + LIFE_KINGDOM_UNSPECIFIED = 0; + ARCHAEBACTERIA = 1; + EUBACTERIA = 2; + PROTISTA = 3; + FUNGI = 4; + PLANTAE = 5; + ANIMALIA = 6; +} + // scalar types + + string f_string = 1; + + int32 f_int32 = 2; + sint32 f_sint32 = 3; + sfixed32 f_sfixed32 = 4; + + uint32 f_uint32 = 5; + fixed32 f_fixed32 = 6; + + int64 f_int64 = 7; + sint64 f_sint64 = 8; + sfixed64 f_sfixed64 = 9; + + uint64 f_uint64 = 10; + fixed64 f_fixed64 = 11; + + double f_double = 12; + float f_float = 13; + + bool f_bool = 14; + + bytes f_bytes = 15; + + LifeKingdom f_kingdom = 22; + + ComplianceDataChild f_child = 16; + + // optional fields + + optional string p_string = 17; + optional int32 p_int32 = 18; + optional double p_double = 19; + optional bool p_bool = 20; + optional LifeKingdom p_kingdom = 23; + optional ComplianceDataChild p_child = 21; +} + +message ComplianceDataChild { + string f_string = 1; + float f_float = 2; + double f_double = 3; + bool f_bool = 4; + Continent f_continent = 11; + ComplianceDataGrandchild f_child = 5; + + optional string p_string = 6; + optional float p_float = 7; + optional double p_double = 8; + optional bool p_bool = 9; + Continent p_continent = 12; + optional ComplianceDataGrandchild p_child = 10; +} + +message ComplianceDataGrandchild { + string f_string = 1; + double f_double = 2; + bool f_bool = 3; +} + +enum Continent { + CONTINENT_UNSPECIFIED = 0; + AFRICA = 1; + AMERICA = 2; + ANTARTICA = 3; + AUSTRALIA = 4; + EUROPE = 5; +} + + +message EnumRequest { + // Whether the client is requesting a new, unknown enum value or a known enum value already declard in this proto file. + bool unknown_enum = 1; +} + +message EnumResponse { + // The original request for a known or unknown enum from the server. + EnumRequest request = 1; + + // The actual enum the server provided. + Continent continent = 2; +} diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/echo.proto b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/echo.proto new file mode 100755 index 0000000000..3f79b44571 --- /dev/null +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/echo.proto @@ -0,0 +1,325 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/routing.proto"; +import "google/longrunning/operations.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "google/rpc/status.proto"; + +package google.showcase.v1beta1; + +option go_package = "github.com/googleapis/gapic-showcase/server/genproto"; +option java_package = "com.google.showcase.v1beta1"; +option java_multiple_files = true; +option ruby_package = "Google::Showcase::V1beta1"; + +// This service is used showcase the four main types of rpcs - unary, server +// side streaming, client side streaming, and bidirectional streaming. This +// service also exposes methods that explicitly implement server delay, and +// paginated calls. Set the 'showcase-trailer' metadata key on any method +// to have the values echoed in the response trailers. Set the +// 'x-goog-request-params' metadata key on any method to have the values +// echoed in the response headers. +service Echo { + // This service is meant to only run locally on the port 7469 (keypad digits + // for "show"). + option (google.api.default_host) = "localhost:7469"; + + // This method simply echoes the request. This method showcases unary RPCs. + rpc Echo(EchoRequest) returns (EchoResponse) { + option (google.api.http) = { + post: "/v1beta1/echo:echo" + body: "*" + }; + option (google.api.routing) = { + routing_parameters{ + field: "header" + } + routing_parameters{ + field: "header" + path_template: "{routing_id=**}" + } + routing_parameters{ + field: "header" + path_template: "{table_name=regions/*/zones/*/**}" + } + routing_parameters{ + field: "header" + path_template: "{super_id=projects/*}/**" + } + routing_parameters{ + field: "header" + path_template: "{table_name=projects/*/instances/*/**}" + } + routing_parameters{ + field: "header" + path_template: "projects/*/{instance_id=instances/*}/**" + } + routing_parameters{ + field: "other_header" + path_template: "{baz=**}" + } + routing_parameters{ + field: "other_header" + path_template: "{qux=projects/*}/**" + } + }; + } + + // This method splits the given content into words and will pass each word back + // through the stream. This method showcases server-side streaming RPCs. + rpc Expand(ExpandRequest) returns (stream EchoResponse) { + option (google.api.http) = { + post: "/v1beta1/echo:expand" + body: "*" + }; + // TODO(landrito): change this to be `fields: ["content", "error"]` once + // github.com/dcodeIO/protobuf.js/issues/1094 has been resolved. + option (google.api.method_signature) = "content,error"; + } + + // This method will collect the words given to it. When the stream is closed + // by the client, this method will return the a concatenation of the strings + // passed to it. This method showcases client-side streaming RPCs. + rpc Collect(stream EchoRequest) returns (EchoResponse) { + option (google.api.http) = { + post: "/v1beta1/echo:collect" + body: "*" + }; + } + + // This method, upon receiving a request on the stream, will pass the same + // content back on the stream. This method showcases bidirectional + // streaming RPCs. + rpc Chat(stream EchoRequest) returns (stream EchoResponse); + + // This is similar to the Expand method but instead of returning a stream of + // expanded words, this method returns a paged list of expanded words. + rpc PagedExpand(PagedExpandRequest) returns (PagedExpandResponse) { + option (google.api.http) = { + post: "/v1beta1/echo:pagedExpand" + body: "*" + }; + } + + // This is similar to the PagedExpand except that it uses + // max_results instead of page_size, as some legacy APIs still + // do. New APIs should NOT use this pattern. + rpc PagedExpandLegacy(PagedExpandLegacyRequest) returns (PagedExpandResponse) { + option (google.api.http) = { + post: "/v1beta1/echo:pagedExpandLegacy" + body: "*" + }; + } + + // This method returns a map containing lists of words that appear in the input, keyed by their + // initial character. The only words returned are the ones included in the current page, + // as determined by page_token and page_size, which both refer to the word indices in the + // input. This paging result consisting of a map of lists is a pattern used by some legacy + // APIs. New APIs should NOT use this pattern. + rpc PagedExpandLegacyMapped(PagedExpandRequest) returns (PagedExpandLegacyMappedResponse) { + option (google.api.http) = { + post: "/v1beta1/echo:pagedExpandLegacyMapped" + body: "*" + }; + } + + // This method will wait for the requested amount of time and then return. + // This method showcases how a client handles a request timeout. + rpc Wait(WaitRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta1/echo:wait" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "WaitResponse" + metadata_type: "WaitMetadata" + }; + } + + // This method will block (wait) for the requested amount of time + // and then return the response or error. + // This method showcases how a client handles delays or retries. + rpc Block(BlockRequest) returns (BlockResponse) { + option (google.api.http) = { + post: "/v1beta1/echo:block" + body: "*" + }; + }; +} + +// A severity enum used to test enum capabilities in GAPIC surfaces. +enum Severity { + UNNECESSARY = 0; + NECESSARY = 1; + URGENT = 2; + CRITICAL = 3; +} + + +// The request message used for the Echo, Collect and Chat methods. +// If content or opt are set in this message then the request will succeed. +// If status is set in this message then the status will be returned as an +// error. +message EchoRequest { + oneof response { + // The content to be echoed by the server. + string content = 1; + + // The error to be thrown by the server. + google.rpc.Status error = 2; + } + + // The severity to be echoed by the server. + Severity severity = 3; + + // Optional. This field can be set to test the routing annotation on the Echo method. + string header = 4; + + // Optional. This field can be set to test the routing annotation on the Echo method. + string other_header = 5; +} + +// The response message for the Echo methods. +message EchoResponse { + // The content specified in the request. + string content = 1; + + // The severity specified in the request. + Severity severity = 2; +} + +// The request message for the Expand method. +message ExpandRequest { + // The content that will be split into words and returned on the stream. + string content = 1; + + // The error that is thrown after all words are sent on the stream. + google.rpc.Status error = 2; + + //The wait time between each server streaming messages + google.protobuf.Duration stream_wait_time = 3; +} + +// The request for the PagedExpand method. +message PagedExpandRequest { + // The string to expand. + string content = 1 [(google.api.field_behavior) = REQUIRED]; + + // The number of words to returned in each page. + int32 page_size = 2; + + // The position of the page to be returned. + string page_token = 3; +} + +// The request for the PagedExpandLegacy method. This is a pattern used by some legacy APIs. New +// APIs should NOT use this pattern, but rather something like PagedExpandRequest which conforms to +// aip.dev/158. +message PagedExpandLegacyRequest { + // The string to expand. + string content = 1 [(google.api.field_behavior) = REQUIRED]; + + // The number of words to returned in each page. + // (-- aip.dev/not-precedent: This is a legacy, non-standard pattern that + // violates aip.dev/158. Ordinarily, this should be page_size. --) + int32 max_results = 2; + + // The position of the page to be returned. + string page_token = 3; +} + +// The response for the PagedExpand method. +message PagedExpandResponse { + // The words that were expanded. + repeated EchoResponse responses = 1; + + // The next page token. + string next_page_token = 2; +} + +// A list of words. +message PagedExpandResponseList { + repeated string words = 1; +} + +message PagedExpandLegacyMappedResponse { + // The words that were expanded, indexed by their initial character. + // (-- aip.dev/not-precedent: This is a legacy, non-standard pattern that violates + // aip.dev/158. Ordinarily, this should be a `repeated` field, as in PagedExpandResponse. --) + map alphabetized = 1; + + // The next page token. + string next_page_token = 2; +} + +// The request for Wait method. +message WaitRequest { + oneof end { + // The time that this operation will complete. + google.protobuf.Timestamp end_time = 1; + + // The duration of this operation. + google.protobuf.Duration ttl = 4; + } + + oneof response { + // The error that will be returned by the server. If this code is specified + // to be the OK rpc code, an empty response will be returned. + google.rpc.Status error = 2; + + // The response to be returned on operation completion. + WaitResponse success = 3; + } +} + +// The result of the Wait operation. +message WaitResponse { + // This content of the result. + string content = 1; +} + +// The metadata for Wait operation. +message WaitMetadata { + // The time that this operation will complete. + google.protobuf.Timestamp end_time =1; +} + +// The request for Block method. +message BlockRequest { + // The amount of time to block before returning a response. + google.protobuf.Duration response_delay = 1; + + oneof response { + // The error that will be returned by the server. If this code is specified + // to be the OK rpc code, an empty response will be returned. + google.rpc.Status error = 2; + + // The response to be returned that will signify successful method call. + BlockResponse success = 3; + } +} + +// The response for Block method. +message BlockResponse { + // This content can contain anything, the server will not depend on a value + // here. + string content = 1; +} diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/identity.proto b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/identity.proto new file mode 100755 index 0000000000..569c604d78 --- /dev/null +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/identity.proto @@ -0,0 +1,186 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/field_mask.proto"; +import "google/protobuf/timestamp.proto"; + +package google.showcase.v1beta1; + +option go_package = "github.com/googleapis/gapic-showcase/server/genproto"; +option java_package = "com.google.showcase.v1beta1"; +option java_multiple_files = true; +option ruby_package = "Google::Showcase::V1beta1"; + +// A simple identity service. +service Identity { + // This service is meant to only run locally on the port 7469 (keypad digits + // for "show"). + option (google.api.default_host) = "localhost:7469"; + + // Creates a user. + rpc CreateUser(CreateUserRequest) returns (User) { + option (google.api.http) = { + post: "/v1beta1/users" + body: "*" + }; + option (google.api.method_signature) = "user.display_name,user.email"; + option (google.api.method_signature) = + "user.display_name,user.email,user.age,user.nickname,user.enable_notifications,user.height_feet"; + } + + // Retrieves the User with the given uri. + rpc GetUser(GetUserRequest) returns (User) { + option (google.api.http) = { + get: "/v1beta1/{name=users/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Updates a user. + rpc UpdateUser(UpdateUserRequest) returns (User) { + option (google.api.http) = { + patch: "/v1beta1/{user.name=users/*}" + body: "user" + }; + } + + // Deletes a user, their profile, and all of their authored messages. + rpc DeleteUser(DeleteUserRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta1/{name=users/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists all users. + rpc ListUsers(ListUsersRequest) returns (ListUsersResponse) { + option (google.api.http) = { + get: "/v1beta1/users" + }; + } +} + +// A user. +message User { + option (google.api.resource) = { + type: "showcase.googleapis.com/User" + pattern: "users/{user}" + }; + + // The resource name of the user. + string name = 1; + + // The display_name of the user. + string display_name = 2 [(google.api.field_behavior) = REQUIRED]; + + // The email address of the user. + string email = 3 [(google.api.field_behavior) = REQUIRED]; + + // The timestamp at which the user was created. + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The latest timestamp at which the user was updated. + google.protobuf.Timestamp update_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The age of the user in years. + optional int32 age = 6; + + // The height of the user in feet. + optional double height_feet = 7; + + // The nickname of the user. + // + // (-- aip.dev/not-precedent: An empty string is a valid nickname. + // Ordinarily, proto3_optional should not be used on a `string` field. --) + optional string nickname = 8; + + // Enables the receiving of notifications. The default is true if unset. + // + // (-- aip.dev/not-precedent: The default for the feature is true. + // Ordinarily, the default for a `bool` field should be false. --) + optional bool enable_notifications = 9; +} + +// The request message for the google.showcase.v1beta1.Identity\CreateUser +// method. +message CreateUserRequest { + // The user to create. + User user = 1; +} + +// The request message for the google.showcase.v1beta1.Identity\GetUser +// method. +message GetUserRequest { + // The resource name of the requested user. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/User", + (google.api.field_behavior) = REQUIRED + ]; +} + +// The request message for the google.showcase.v1beta1.Identity\UpdateUser +// method. +message UpdateUserRequest { + // The user to update. + User user = 1; + + // The field mask to determine which fields are to be updated. If empty, the + // server will assume all fields are to be updated. + google.protobuf.FieldMask update_mask = 2; +} + +// The request message for the google.showcase.v1beta1.Identity\DeleteUser +// method. +message DeleteUserRequest { + // The resource name of the user to delete. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/User", + (google.api.field_behavior) = REQUIRED + ]; +} + +// The request message for the google.showcase.v1beta1.Identity\ListUsers +// method. +message ListUsersRequest { + // The maximum number of users to return. Server may return fewer users + // than requested. If unspecified, server will pick an appropriate default. + int32 page_size = 1; + + // The value of google.showcase.v1beta1.ListUsersResponse.next_page_token + // returned from the previous call to + // `google.showcase.v1beta1.Identity\ListUsers` method. + string page_token = 2; +} + +// The response message for the google.showcase.v1beta1.Identity\ListUsers +// method. +message ListUsersResponse { + // The list of users. + repeated User users = 1; + + // A token to retrieve next page of results. + // Pass this value in ListUsersRequest.page_token field in the subsequent + // call to `google.showcase.v1beta1.Message\ListUsers` method to retrieve the + // next page of results. + string next_page_token = 2; +} diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/messaging.proto b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/messaging.proto new file mode 100755 index 0000000000..62196dfced --- /dev/null +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/messaging.proto @@ -0,0 +1,520 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/field_mask.proto"; +import "google/protobuf/timestamp.proto"; +import "google/rpc/error_details.proto"; + +package google.showcase.v1beta1; + +option go_package = "github.com/googleapis/gapic-showcase/server/genproto"; +option java_package = "com.google.showcase.v1beta1"; +option java_multiple_files = true; +option ruby_package = "Google::Showcase::V1beta1"; + +// A simple messaging service that implements chat rooms and profile posts. +// +// This messaging service showcases the features that API clients +// generated by gapic-generators implement. +service Messaging { + // This service is meant to only run locally on the port 7469 (keypad digits + // for "show"). + option (google.api.default_host) = "localhost:7469"; + + // Creates a room. + rpc CreateRoom(CreateRoomRequest) returns (Room) { + option (google.api.http) = { + post: "/v1beta1/rooms" + body: "*" + }; + option (google.api.method_signature) = "room.display_name,room.description"; + } + + // Retrieves the Room with the given resource name. + rpc GetRoom(GetRoomRequest) returns (Room) { + option (google.api.http) = { + get: "/v1beta1/{name=rooms/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Updates a room. + rpc UpdateRoom(UpdateRoomRequest) returns (Room) { + option (google.api.http) = { + patch: "/v1beta1/{room.name=rooms/*}" + body: "room" + }; + } + + // Deletes a room and all of its blurbs. + rpc DeleteRoom(DeleteRoomRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta1/{name=rooms/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists all chat rooms. + rpc ListRooms(ListRoomsRequest) returns (ListRoomsResponse) { + option (google.api.http) = { + get: "/v1beta1/rooms" + }; + } + + // Creates a blurb. If the parent is a room, the blurb is understood to be a + // message in that room. If the parent is a profile, the blurb is understood + // to be a post on the profile. + rpc CreateBlurb(CreateBlurbRequest) returns (Blurb) { + option (google.api.http) = { + post: "/v1beta1/{parent=rooms/*}/blurbs" + body: "*" + additional_bindings: { + post: "/v1beta1/{parent=users/*/profile}/blurbs" + body: "*" + } + }; + option (google.api.method_signature) = "parent,blurb.user,blurb.text"; + option (google.api.method_signature) = "parent,blurb.user,blurb.image"; + } + + // Retrieves the Blurb with the given resource name. + rpc GetBlurb(GetBlurbRequest) returns (Blurb) { + option (google.api.http) = { + get: "/v1beta1/{name=rooms/*/blurbs/*}" + additional_bindings: { get: "/v1beta1/{name=users/*/profile/blurbs/*}" } + }; + option (google.api.method_signature) = "name"; + } + + // Updates a blurb. + rpc UpdateBlurb(UpdateBlurbRequest) returns (Blurb) { + option (google.api.http) = { + patch: "/v1beta1/{blurb.name=rooms/*/blurbs/*}" + body: "blurb" + additional_bindings: { + patch: "/v1beta1/{blurb.name=users/*/profile/blurbs/*}" + body: "blurb" + } + }; + } + + // Deletes a blurb. + rpc DeleteBlurb(DeleteBlurbRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta1/{name=rooms/*/blurbs/*}" + additional_bindings: { + delete: "/v1beta1/{name=users/*/profile/blurbs/*}" + } + }; + option (google.api.method_signature) = "name"; + } + + // Lists blurbs for a specific chat room or user profile depending on the + // parent resource name. + rpc ListBlurbs(ListBlurbsRequest) returns (ListBlurbsResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=rooms/*}/blurbs" + additional_bindings: { get: "/v1beta1/{parent=users/*/profile}/blurbs" } + }; + option (google.api.method_signature) = "parent"; + } + + // This method searches through all blurbs across all rooms and profiles + // for blurbs containing to words found in the query. Only posts that + // contain an exact match of a queried word will be returned. + rpc SearchBlurbs(SearchBlurbsRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta1/{parent=rooms/*}/blurbs:search" + body: "*" + additional_bindings: { + post: "/v1beta1/{parent=users/*/profile}/blurbs:search" + } + }; + option (google.longrunning.operation_info) = { + response_type: "SearchBlurbsResponse" + metadata_type: "SearchBlurbsMetadata" + }; + option (google.api.method_signature) = "parent,query"; + } + + // This returns a stream that emits the blurbs that are created for a + // particular chat room or user profile. + rpc StreamBlurbs(StreamBlurbsRequest) returns (stream StreamBlurbsResponse) { + option (google.api.http) = { + post: "/v1beta1/{name=rooms/*}/blurbs:stream" + body: "*" + additional_bindings: { + post: "/v1beta1/{name=users/*/profile}/blurbs:stream" + body: "*" + } + }; + } + + // This is a stream to create multiple blurbs. If an invalid blurb is + // requested to be created, the stream will close with an error. + rpc SendBlurbs(stream CreateBlurbRequest) returns (SendBlurbsResponse) { + option (google.api.http) = { + post: "/v1beta1/{parent=rooms/*}/blurbs:send" + body: "*" + additional_bindings: { + post: "/v1beta1/{parent=users/*/profile}/blurbs:send" + body: "*" + } + }; + } + + // This method starts a bidirectional stream that receives all blurbs that + // are being created after the stream has started and sends requests to create + // blurbs. If an invalid blurb is requested to be created, the stream will + // close with an error. + rpc Connect(stream ConnectRequest) returns (stream StreamBlurbsResponse); +} + +// A chat room. +message Room { + option (google.api.resource) = { + type: "showcase.googleapis.com/Room" + pattern: "rooms/{room}" + }; + + // The resource name of the chat room. + string name = 1; + + // The human readable name of the chat room. + string display_name = 2 [(google.api.field_behavior) = REQUIRED]; + + // The description of the chat room. + string description = 3; + + // The timestamp at which the room was created. + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The latest timestamp at which the room was updated. + google.protobuf.Timestamp update_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// The request message for the google.showcase.v1beta1.Messaging\CreateRoom +// method. +message CreateRoomRequest { + // The room to create. + Room room = 1; +} + +// The request message for the google.showcase.v1beta1.Messaging\GetRoom +// method. +message GetRoomRequest { + // The resource name of the requested room. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Room", + (google.api.field_behavior) = REQUIRED + ]; +} + +// The request message for the google.showcase.v1beta1.Messaging\UpdateRoom +// method. +message UpdateRoomRequest { + // The room to update. + Room room = 1; + + // The field mask to determine which fields are to be updated. If empty, the + // server will assume all fields are to be updated. + google.protobuf.FieldMask update_mask = 2; +} + +// The request message for the google.showcase.v1beta1.Messaging\DeleteRoom +// method. +message DeleteRoomRequest { + // The resource name of the requested room. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Room", + (google.api.field_behavior) = REQUIRED + ]; +} + +// The request message for the google.showcase.v1beta1.Messaging\ListRooms +// method. +message ListRoomsRequest { + // The maximum number of rooms return. Server may return fewer rooms + // than requested. If unspecified, server will pick an appropriate default. + int32 page_size = 1; + + // The value of google.showcase.v1beta1.ListRoomsResponse.next_page_token + // returned from the previous call to + // `google.showcase.v1beta1.Messaging\ListRooms` method. + string page_token = 2; +} + +// The response message for the google.showcase.v1beta1.Messaging\ListRooms +// method. +message ListRoomsResponse { + // The list of rooms. + repeated Room rooms = 1; + + // A token to retrieve next page of results. + // Pass this value in ListRoomsRequest.page_token field in the subsequent + // call to `google.showcase.v1beta1.Messaging\ListRooms` method to retrieve + // the next page of results. + string next_page_token = 2; +} + +// This protocol buffer message represents a blurb sent to a chat room or +// posted on a user profile. +message Blurb { + option (google.api.resource) = { + type: "showcase.googleapis.com/Blurb" + pattern: "users/{user}/profile/blurbs/legacy/{legacy_user}~{blurb}" + pattern: "users/{user}/profile/blurbs/{blurb}" + pattern: "rooms/{room}/blurbs/{blurb}" + pattern: "rooms/{room}/blurbs/legacy/{legacy_room}.{blurb}" + }; + + // The resource name of the chat room. + string name = 1; + + // The resource name of the blurb's author. + string user = 2 [ + (google.api.resource_reference).type = "showcase.googleapis.com/User", + (google.api.field_behavior) = REQUIRED + ]; + + oneof content { + // The textual content of this blurb. + string text = 3; + + // The image content of this blurb. + bytes image = 4; + } + + // The timestamp at which the blurb was created. + google.protobuf.Timestamp create_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The latest timestamp at which the blurb was updated. + google.protobuf.Timestamp update_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // (-- aip.dev/not-precedent: This is designed for testing non-slash + // resource patterns. Ordinarily, non-slash separators are discouraged. + // --) + oneof legacy_id { + // The legacy id of the room. This field is used to signal + // the use of the compound resource pattern + // `rooms/{room}/blurbs/legacy/{legacy_room}.{blurb}` + string legacy_room_id = 7; + + // The legacy id of the user. This field is used to signal + // the use of the compound resource pattern + // `users/{user}/profile/blurbs/legacy/{legacy_user}~{blurb}` + string legacy_user_id = 8; + } +} + +// The request message for the google.showcase.v1beta1.Messaging\CreateBlurb +// method. +message CreateBlurbRequest { + // The resource name of the chat room or user profile that this blurb will + // be tied to. + string parent = 1 [ + (google.api.resource_reference).child_type = + "showcase.googleapis.com/Blurb", + (google.api.field_behavior) = REQUIRED + ]; + + // The blurb to create. + Blurb blurb = 2; +} + +// The request message for the google.showcase.v1beta1.Messaging\GetBlurb +// method. +message GetBlurbRequest { + // The resource name of the requested blurb. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Blurb", + (google.api.field_behavior) = REQUIRED + ]; +} + +// The request message for the google.showcase.v1beta1.Messaging\UpdateBlurb +// method. +message UpdateBlurbRequest { + // The blurb to update. + Blurb blurb = 1; + + // The field mask to determine wich fields are to be updated. If empty, the + // server will assume all fields are to be updated. + google.protobuf.FieldMask update_mask = 2; +} + +// The request message for the google.showcase.v1beta1.Messaging\DeleteBlurb +// method. +message DeleteBlurbRequest { + // The resource name of the requested blurb. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Blurb", + (google.api.field_behavior) = REQUIRED + ]; +} + +// The request message for the google.showcase.v1beta1.Messaging\ListBlurbs +// method. +message ListBlurbsRequest { + // The resource name of the requested room or profile whos blurbs to list. + string parent = 1 [ + (google.api.resource_reference).child_type = + "showcase.googleapis.com/Blurb", + (google.api.field_behavior) = REQUIRED + ]; + + // The maximum number of blurbs to return. Server may return fewer + // blurbs than requested. If unspecified, server will pick an appropriate + // default. + int32 page_size = 2; + + // The value of google.showcase.v1beta1.ListBlurbsResponse.next_page_token + // returned from the previous call to + // `google.showcase.v1beta1.Messaging\ListBlurbs` method. + string page_token = 3; +} + +// The response message for the google.showcase.v1beta1.Messaging\ListBlurbs +// method. +message ListBlurbsResponse { + // The list of blurbs. + repeated Blurb blurbs = 1; + + // A token to retrieve next page of results. + // Pass this value in ListBlurbsRequest.page_token field in the subsequent + // call to `google.showcase.v1beta1.Blurb\ListBlurbs` method to retrieve + // the next page of results. + string next_page_token = 2; +} + +// The request message for the google.showcase.v1beta1.Messaging\SearchBlurbs +// method. +message SearchBlurbsRequest { + // The query used to search for blurbs containing to words of this string. + // Only posts that contain an exact match of a queried word will be returned. + string query = 1 [(google.api.field_behavior) = REQUIRED]; + + // The rooms or profiles to search. If unset, `SearchBlurbs` will search all + // rooms and all profiles. + string parent = 2 [(google.api.resource_reference).child_type = + "showcase.googleapis.com/Blurb"]; + + // The maximum number of blurbs return. Server may return fewer + // blurbs than requested. If unspecified, server will pick an appropriate + // default. + int32 page_size = 3; + + // The value of + // google.showcase.v1beta1.SearchBlurbsResponse.next_page_token + // returned from the previous call to + // `google.showcase.v1beta1.Messaging\SearchBlurbs` method. + string page_token = 4; +} + +// The operation metadata message for the +// google.showcase.v1beta1.Messaging\SearchBlurbs method. +message SearchBlurbsMetadata { + // This signals to the client when to next poll for response. + google.rpc.RetryInfo retry_info = 1; +} + +// The operation response message for the +// google.showcase.v1beta1.Messaging\SearchBlurbs method. +message SearchBlurbsResponse { + // Blurbs that matched the search query. + repeated Blurb blurbs = 1; + + // A token to retrieve next page of results. + // Pass this value in SearchBlurbsRequest.page_token field in the subsequent + // call to `google.showcase.v1beta1.Blurb\SearchBlurbs` method to + // retrieve the next page of results. + string next_page_token = 2; +} + +// The request message for the google.showcase.v1beta1.Messaging\StreamBlurbs +// method. +message StreamBlurbsRequest { + // The resource name of a chat room or user profile whose blurbs to stream. + string name = 1 [ + (google.api.resource_reference).child_type = + "showcase.googleapis.com/Blurb", + (google.api.field_behavior) = REQUIRED + ]; + + // The time at which this stream will close. + google.protobuf.Timestamp expire_time = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// The response message for the google.showcase.v1beta1.Messaging\StreamBlurbs +// method. +message StreamBlurbsResponse { + // The blurb that was either created, updated, or deleted. + Blurb blurb = 1; + + // The action that triggered the blurb to be returned. + enum Action { + ACTION_UNSPECIFIED = 0; + + // Specifies that the blurb was created. + CREATE = 1; + + // Specifies that the blurb was updated. + UPDATE = 2; + + // Specifies that the blurb was deleted. + DELETE = 3; + } + + // The action that triggered the blurb to be returned. + Action action = 2; +} + +// The response message for the google.showcase.v1beta1.Messaging\SendBlurbs +// method. +message SendBlurbsResponse { + // The names of successful blurb creations. + repeated string names = 1; +} + +// The request message for the google.showcase.v1beta1.Messaging\Connect +// method. +message ConnectRequest { + message ConnectConfig { + // The room or profile to follow and create messages for. + string parent = 1 [(google.api.resource_reference).child_type = + "showcase.googleapis.com/Blurb"]; + } + + oneof request { + // Provides information that specifies how to process subsequent requests. + // The first `ConnectRequest` message must contain a `config` message. + ConnectConfig config = 1; + + // The blurb to be created. + Blurb blurb = 2; + } +} diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/sequence.proto b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/sequence.proto new file mode 100755 index 0000000000..6c6a0c1a41 --- /dev/null +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/sequence.proto @@ -0,0 +1,252 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/timestamp.proto"; +import "google/rpc/status.proto"; + +package google.showcase.v1beta1; + +option go_package = "github.com/googleapis/gapic-showcase/server/genproto"; +option java_package = "com.google.showcase.v1beta1"; +option java_multiple_files = true; +option ruby_package = "Google::Showcase::V1beta1"; + +service SequenceService { + // This service is meant to only run locally on the port 7469 (keypad digits + // for "show"). + option (google.api.default_host) = "localhost:7469"; + + // Creates a sequence. + rpc CreateSequence(CreateSequenceRequest) returns (Sequence) { + option (google.api.http) = { + post: "/v1beta1/sequences" + body: "sequence" + }; + option (google.api.method_signature) = "sequence"; + }; + + // Creates a sequence. + rpc CreateStreamingSequence(CreateStreamingSequenceRequest) returns (StreamingSequence) { + option (google.api.http) = { + post: "/v1beta1/streamingSequences" + body: "streaming_sequence" + }; + option (google.api.method_signature) = "streaming_sequence"; + }; + + // Retrieves a sequence. + rpc GetSequenceReport(GetSequenceReportRequest) returns (SequenceReport) { + option (google.api.http) = { + get: "/v1beta1/{name=sequences/*/sequenceReport}" + }; + option (google.api.method_signature) = "name"; + }; + + // Retrieves a sequence. + rpc GetStreamingSequenceReport(GetStreamingSequenceReportRequest) returns (StreamingSequenceReport) { + option (google.api.http) = { + get: "/v1beta1/{name=streamingSequences/*/streamingSequenceReport}" + }; + option (google.api.method_signature) = "name"; + }; + + // Attempts a sequence. + rpc AttemptSequence(AttemptSequenceRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1beta1/{name=sequences/*}" + body: "*" + }; + option (google.api.method_signature) = "name"; + }; + + // Attempts a streaming sequence. + rpc AttemptStreamingSequence(AttemptStreamingSequenceRequest) returns (stream AttemptStreamingSequenceResponse) { + option (google.api.http) = { + post: "/v1beta1/{name=streamingSequences/*}:stream" + body: "*" + }; + option (google.api.method_signature) = "name"; + }; +} + +message Sequence { + option (google.api.resource) = { + type: "showcase.googleapis.com/Sequence" + pattern: "sequences/{sequence}" + }; + + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // A server response to an RPC Attempt in a sequence. + message Response { + // The status to return for an individual attempt. + google.rpc.Status status = 1; + + // The amount of time to delay sending the response. + google.protobuf.Duration delay = 2; + } + + // Sequence of responses to return in order for each attempt. If empty, the + // default response is an immediate OK. + repeated Response responses = 2; +} + +message StreamingSequence { + option (google.api.resource) = { + type: "showcase.googleapis.com/StreamingSequence" + pattern: "streamingSequences/{streaming_sequence}" + }; + + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The Content that the stream will send + string content = 2; + + // A server response to an RPC Attempt in a sequence. + message Response { + // The status to return for an individual attempt. + google.rpc.Status status = 1; + + // The amount of time to delay sending the response. + google.protobuf.Duration delay = 2; + + // The index that the status should be sent + int32 response_index = 3; + } + + // Sequence of responses to return in order for each attempt. If empty, the + // default response is an immediate OK. + repeated Response responses = 3; +} + + +message StreamingSequenceReport { + option (google.api.resource) = { + type: "showcase.googleapis.com/StreamingSequenceReport" + pattern: "streamingSequences/{streaming_sequence}/streamingSequenceReport" + }; + + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Contains metrics on individual RPC Attempts in a sequence. + message Attempt { + // The attempt number - starting at 0. + int32 attempt_number = 1; + + // The deadline dictated by the attempt to the server. + google.protobuf.Timestamp attempt_deadline = 2; + + // The time that the server responded to the RPC attempt. Used for + // calculating attempt_delay. + google.protobuf.Timestamp response_time = 3; + + // The server perceived delay between sending the last response and + // receiving this attempt. Used for validating attempt delay backoff. + google.protobuf.Duration attempt_delay = 4; + + // The status returned to the attempt. + google.rpc.Status status = 5; + + string content_sent = 6; + } + + // The set of RPC attempts received by the server for a Sequence. + repeated Attempt attempts = 2; +} + +message SequenceReport { + option (google.api.resource) = { + type: "showcase.googleapis.com/SequenceReport" + pattern: "sequences/{sequence}/sequenceReport" + }; + + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Contains metrics on individual RPC Attempts in a sequence. + message Attempt { + // The attempt number - starting at 0. + int32 attempt_number = 1; + + // The deadline dictated by the attempt to the server. + google.protobuf.Timestamp attempt_deadline = 2; + + // The time that the server responded to the RPC attempt. Used for + // calculating attempt_delay. + google.protobuf.Timestamp response_time = 3; + + // The server perceived delay between sending the last response and + // receiving this attempt. Used for validating attempt delay backoff. + google.protobuf.Duration attempt_delay = 4; + + // The status returned to the attempt. + google.rpc.Status status = 5; + } + + // The set of RPC attempts received by the server for a Sequence. + repeated Attempt attempts = 2; +} + +message CreateSequenceRequest { + Sequence sequence = 1; +} + +message CreateStreamingSequenceRequest { + StreamingSequence streaming_sequence = 1; +} + +message AttemptSequenceRequest { + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Sequence", + (google.api.field_behavior) = REQUIRED + ]; +} + +message AttemptStreamingSequenceRequest { + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/StreamingSequence", + (google.api.field_behavior) = REQUIRED + ]; + +} + +// The response message for the Echo methods. +message AttemptStreamingSequenceResponse { + // The content specified in the request. + string content = 1; + +} + +message GetSequenceReportRequest { + string name = 1 [ + (google.api.resource_reference).type = + "showcase.googleapis.com/SequenceReport", + (google.api.field_behavior) = REQUIRED + ]; +} + +message GetStreamingSequenceReportRequest { + string name = 1 [ + (google.api.resource_reference).type = + "showcase.googleapis.com/StreamingSequenceReport", + (google.api.field_behavior) = REQUIRED + ]; +} diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/testing.proto b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/testing.proto new file mode 100755 index 0000000000..56e85e97e5 --- /dev/null +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/testing.proto @@ -0,0 +1,386 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/resource.proto"; +import "google/protobuf/empty.proto"; + +package google.showcase.v1beta1; + +option go_package = "github.com/googleapis/gapic-showcase/server/genproto"; +option java_package = "com.google.showcase.v1beta1"; +option java_multiple_files = true; +option ruby_package = "Google::Showcase::V1beta1"; + +// A service to facilitate running discrete sets of tests +// against Showcase. +service Testing { + // This service is meant to only run locally on the port 7469 (keypad digits + // for "show"). + option (google.api.default_host) = "localhost:7469"; + + // Creates a new testing session. + rpc CreateSession(CreateSessionRequest) returns (Session) { + option (google.api.http) = { + post: "/v1beta1/sessions" + body: "session" + }; + } + + // Gets a testing session. + rpc GetSession(GetSessionRequest) returns (Session) { + option (google.api.http) = { + get: "/v1beta1/{name=sessions/*}" + }; + } + + // Lists the current test sessions. + rpc ListSessions(ListSessionsRequest) returns (ListSessionsResponse) { + option (google.api.http) = { + get: "/v1beta1/sessions" + }; + } + + // Delete a test session. + rpc DeleteSession(DeleteSessionRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta1/{name=sessions/*}" + }; + } + + // Report on the status of a session. + // This generates a report detailing which tests have been completed, + // and an overall rollup. + rpc ReportSession(ReportSessionRequest) returns (ReportSessionResponse) { + option (google.api.http) = { + post: "/v1beta1/{name=sessions/*}:report" + }; + } + + // List the tests of a sessesion. + rpc ListTests(ListTestsRequest) returns (ListTestsResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=sessions/*}/tests" + }; + } + + // Explicitly decline to implement a test. + // + // This removes the test from subsequent `ListTests` calls, and + // attempting to do the test will error. + // + // This method will error if attempting to delete a required test. + rpc DeleteTest(DeleteTestRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta1/{name=sessions/*/tests/*}" + }; + } + + // Register a response to a test. + // + // In cases where a test involves registering a final answer at the + // end of the test, this method provides the means to do so. + rpc VerifyTest(VerifyTestRequest) returns (VerifyTestResponse) { + option (google.api.http) = { + post: "/v1beta1/{name=sessions/*/tests/*}:check" + }; + } +} + +// A session is a suite of tests, generally being made in the context +// of testing code generation. +// +// A session defines tests it may expect, based on which version of the +// code generation spec is in use. +message Session { + option (google.api.resource) = { + type: "showcase.googleapis.com/Session" + pattern: "sessions/{session}" + }; + + // The name of the session. The ID must conform to ^[a-z]+$ + // If this is not provided, Showcase chooses one at random. + string name = 1; + + // The specification versions understood by Showcase. + enum Version { + // Unspecified version. If passed on creation, the session will default + // to using the latest stable release. + VERSION_UNSPECIFIED = 0; + + // The latest v1. Currently, this is v1.0. + V1_LATEST = 1; + + // v1.0. (Until the spec is "GA", this will be a moving target.) + V1_0 = 2; + } + + // Required. The version this session is using. + Version version = 2; +} + +// The request for the CreateSession method. +message CreateSessionRequest { + // The session to be created. + // Sessions are immutable once they are created (although they can + // be deleted). + Session session = 1; +} + +// The request for the GetSession method. +message GetSessionRequest { + // The session to be retrieved. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Session"]; +} + +// The request for the ListSessions method. +message ListSessionsRequest { + // The maximum number of sessions to return per page. + int32 page_size = 1; + + // The page token, for retrieving subsequent pages. + string page_token = 2; +} + +// Response for the ListSessions method. +message ListSessionsResponse { + // The sessions being returned. + repeated Session sessions = 1; + + // The next page token, if any. + // An empty value here means the last page has been reached. + string next_page_token = 2; +} + +// Request for the DeleteSession method. +message DeleteSessionRequest { + // The session to be deleted. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Session"]; +} + +// Request message for reporting on a session. +message ReportSessionRequest { + // The session to be reported on. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Session"]; +} + +// Response message for reporting on a session. +message ReportSessionResponse { + // The topline state of the report. + enum Result { + RESULT_UNSPECIFIED = 0; + + // The session is complete, and everything passed. + PASSED = 1; + + // The session had an explicit failure. + FAILED = 2; + + // The session is incomplete. This is a failure response. + INCOMPLETE = 3; + } + + // The state of the report. + Result result = 1; + + // The test runs of this session. + repeated TestRun test_runs = 2; +} + +message Test { + option (google.api.resource) = { + type: "showcase.googleapis.com/Test" + pattern: "sessions/{session}/tests/{test}" + }; + + // The name of the test. + // The tests/* portion of the names are hard-coded, and do not change + // from session to session. + string name = 1; + + // Whether or not a test is required, recommended, or optional. + enum ExpectationLevel { + EXPECTATION_LEVEL_UNSPECIFIED = 0; + + // This test is strictly required. + REQUIRED = 1; + + // This test is recommended. + // + // If a generator explicitly ignores a recommended test (see `DeleteTest`), + // then the report may still pass, but with a warning. + // + // If a generator skips a recommended test and does not explicitly + // express that intention, the report will fail. + RECOMMENDED = 2; + + // This test is optional. + // + // If a generator explicitly ignores an optional test (see `DeleteTest`), + // then the report may still pass, and no warning will be issued. + // + // If a generator skips an optional test and does not explicitly + // express that intention, the report may still pass, but with a + // warning. + OPTIONAL = 3; + } + + // The expectation level for this test. + ExpectationLevel expectation_level = 2; + + // A description of the test. + string description = 3; + + // A blueprint is an explicit definition of methods and requests that are needed + // to be made to test this specific test case. Ideally this would be represented + // by something more robust like CEL, but as of writing this, I am unsure if CEL + // is ready. + message Blueprint { + option (google.api.resource) = { + type: "showcase.googleapis.com/Blueprint" + pattern: "sessions/{session}/tests/{test}/blueprints/{blueprint}" + }; + + // The name of this blueprint. + string name = 1; + + // A description of this blueprint. + string description = 2; + + // A message representing a method invocation. + message Invocation { + // The fully qualified name of the showcase method to be invoked. + string method = 1; + + // The request to be made if a specific request is necessary. + bytes serialized_request = 2; + } + + // The initial request to trigger this test. + Invocation request = 3; + + // An ordered list of method calls that can be called to trigger this test. + repeated Invocation additional_requests = 4; + } + + // The blueprints that will satisfy this test. There may be multiple blueprints + // that can signal to the server that this test case is being exercised. Although + // multiple blueprints are specified, only a single blueprint needs to be run to + // signal that the test case was exercised. + repeated Blueprint blueprints = 4; +} + +// An issue found in the test. +message Issue { + // The different potential types of issues. + enum Type { + TYPE_UNSPECIFIED = 0; + + // The test was never instrumented. + SKIPPED = 1; + + // The test was started but never confirmed. + PENDING = 2; + + // The test was instrumented, but Showcase got an unexpected + // value when the generator tried to confirm success. + INCORRECT_CONFIRMATION = 3; + } + + // The type of the issue. + Type type = 1; + + // Severity levels. + enum Severity { + SEVERITY_UNSPECIFIED = 0; + + // Errors. + ERROR = 1; + + // Warnings. + WARNING = 2; + } + + // The severity of the issue. + Severity severity = 2; + + // A description of the issue. + string description = 3; +} + +// The request for the ListTests method. +message ListTestsRequest { + // The session. + string parent = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Session"]; + + // The maximum number of tests to return per page. + int32 page_size = 2; + + // The page token, for retrieving subsequent pages. + string page_token = 3; +} + +// The response for the ListTests method. +message ListTestsResponse { + // The tests being returned. + repeated Test tests = 1; + + // The next page token, if any. + // An empty value here means the last page has been reached. + string next_page_token = 2; +} + +// A TestRun is the result of running a Test. +message TestRun { + // The name of the test. + // The tests/* portion of the names are hard-coded, and do not change + // from session to session. + string test = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Test"]; + + + // An issue found with the test run. If empty, this test run was successful. + Issue issue = 2; +} + +// Request message for deleting a test. +message DeleteTestRequest { + // The test to be deleted. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Test"]; +} + +message VerifyTestRequest { + // The test to have an answer registered to it. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Test"]; + + // The answer from the test. + bytes answer = 2; + + // The answers from the test if multiple are to be checked + repeated bytes answers = 3; +} + +message VerifyTestResponse { + // An issue if check answer was unsuccessful. This will be empty if the check answer succeeded. + Issue issue = 1; +}