Skip to content

Commit

Permalink
fix!: Provide C#, Ruby and PHP namespace/package options.
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This change will break anyone generating C#, Ruby or PHP, but should not affect other languages.

PiperOrigin-RevId: 315627096

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Jun 9 21:55:07 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: ed1174659dc748903dbb635c7e01e38c3f812fbb
Source-Link: googleapis/googleapis@ed11746
  • Loading branch information
yoshi-automation authored and jskeet committed Jun 10, 2020
1 parent 3313df0 commit 149e872
Show file tree
Hide file tree
Showing 8 changed files with 407 additions and 1,248 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Google.Cloud.Documentai.V1Beta2 {
namespace Google.Cloud.DocumentAI.V1Beta2 {

/// <summary>Holder for reflection information generated from google/cloud/documentai/v1beta2/geometry.proto</summary>
public static partial class GeometryReflection {
Expand All @@ -31,16 +31,19 @@ public static partial class GeometryReflection {
"AiABKAIimQEKDEJvdW5kaW5nUG9seRI5Cgh2ZXJ0aWNlcxgBIAMoCzInLmdv",
"b2dsZS5jbG91ZC5kb2N1bWVudGFpLnYxYmV0YTIuVmVydGV4Ek4KE25vcm1h",
"bGl6ZWRfdmVydGljZXMYAiADKAsyMS5nb29nbGUuY2xvdWQuZG9jdW1lbnRh",
"aS52MWJldGEyLk5vcm1hbGl6ZWRWZXJ0ZXhCgQEKI2NvbS5nb29nbGUuY2xv",
"aS52MWJldGEyLk5vcm1hbGl6ZWRWZXJ0ZXhC6gEKI2NvbS5nb29nbGUuY2xv",
"dWQuZG9jdW1lbnRhaS52MWJldGEyQg1HZW9tZXRyeVByb3RvUAFaSWdvb2ds",
"ZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvY2xvdWQvZG9jdW1l",
"bnRhaS92MWJldGEyO2RvY3VtZW50YWliBnByb3RvMw=="));
"bnRhaS92MWJldGEyO2RvY3VtZW50YWmqAh9Hb29nbGUuQ2xvdWQuRG9jdW1l",
"bnRBSS5WMUJldGEyygIfR29vZ2xlXENsb3VkXERvY3VtZW50QWlcVjFiZXRh",
"MuoCIkdvb2dsZTo6Q2xvdWQ6OkRvY3VtZW50QUk6OlYxYmV0YTJiBnByb3Rv",
"Mw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Documentai.V1Beta2.Vertex), global::Google.Cloud.Documentai.V1Beta2.Vertex.Parser, new[]{ "X", "Y" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Documentai.V1Beta2.NormalizedVertex), global::Google.Cloud.Documentai.V1Beta2.NormalizedVertex.Parser, new[]{ "X", "Y" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Documentai.V1Beta2.BoundingPoly), global::Google.Cloud.Documentai.V1Beta2.BoundingPoly.Parser, new[]{ "Vertices", "NormalizedVertices" }, null, null, null, null)
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DocumentAI.V1Beta2.Vertex), global::Google.Cloud.DocumentAI.V1Beta2.Vertex.Parser, new[]{ "X", "Y" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DocumentAI.V1Beta2.NormalizedVertex), global::Google.Cloud.DocumentAI.V1Beta2.NormalizedVertex.Parser, new[]{ "X", "Y" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DocumentAI.V1Beta2.BoundingPoly), global::Google.Cloud.DocumentAI.V1Beta2.BoundingPoly.Parser, new[]{ "Vertices", "NormalizedVertices" }, null, null, null, null)
}));
}
#endregion
Expand All @@ -59,7 +62,7 @@ public sealed partial class Vertex : pb::IMessage<Vertex> {

[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Google.Cloud.Documentai.V1Beta2.GeometryReflection.Descriptor.MessageTypes[0]; }
get { return global::Google.Cloud.DocumentAI.V1Beta2.GeometryReflection.Descriptor.MessageTypes[0]; }
}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Expand Down Expand Up @@ -227,7 +230,7 @@ public sealed partial class NormalizedVertex : pb::IMessage<NormalizedVertex> {

[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Google.Cloud.Documentai.V1Beta2.GeometryReflection.Descriptor.MessageTypes[1]; }
get { return global::Google.Cloud.DocumentAI.V1Beta2.GeometryReflection.Descriptor.MessageTypes[1]; }
}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Expand Down Expand Up @@ -393,7 +396,7 @@ public sealed partial class BoundingPoly : pb::IMessage<BoundingPoly> {

[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Google.Cloud.Documentai.V1Beta2.GeometryReflection.Descriptor.MessageTypes[2]; }
get { return global::Google.Cloud.DocumentAI.V1Beta2.GeometryReflection.Descriptor.MessageTypes[2]; }
}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Expand Down Expand Up @@ -422,27 +425,27 @@ public sealed partial class BoundingPoly : pb::IMessage<BoundingPoly> {

/// <summary>Field number for the "vertices" field.</summary>
public const int VerticesFieldNumber = 1;
private static readonly pb::FieldCodec<global::Google.Cloud.Documentai.V1Beta2.Vertex> _repeated_vertices_codec
= pb::FieldCodec.ForMessage(10, global::Google.Cloud.Documentai.V1Beta2.Vertex.Parser);
private readonly pbc::RepeatedField<global::Google.Cloud.Documentai.V1Beta2.Vertex> vertices_ = new pbc::RepeatedField<global::Google.Cloud.Documentai.V1Beta2.Vertex>();
private static readonly pb::FieldCodec<global::Google.Cloud.DocumentAI.V1Beta2.Vertex> _repeated_vertices_codec
= pb::FieldCodec.ForMessage(10, global::Google.Cloud.DocumentAI.V1Beta2.Vertex.Parser);
private readonly pbc::RepeatedField<global::Google.Cloud.DocumentAI.V1Beta2.Vertex> vertices_ = new pbc::RepeatedField<global::Google.Cloud.DocumentAI.V1Beta2.Vertex>();
/// <summary>
/// The bounding polygon vertices.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::Google.Cloud.Documentai.V1Beta2.Vertex> Vertices {
public pbc::RepeatedField<global::Google.Cloud.DocumentAI.V1Beta2.Vertex> Vertices {
get { return vertices_; }
}

/// <summary>Field number for the "normalized_vertices" field.</summary>
public const int NormalizedVerticesFieldNumber = 2;
private static readonly pb::FieldCodec<global::Google.Cloud.Documentai.V1Beta2.NormalizedVertex> _repeated_normalizedVertices_codec
= pb::FieldCodec.ForMessage(18, global::Google.Cloud.Documentai.V1Beta2.NormalizedVertex.Parser);
private readonly pbc::RepeatedField<global::Google.Cloud.Documentai.V1Beta2.NormalizedVertex> normalizedVertices_ = new pbc::RepeatedField<global::Google.Cloud.Documentai.V1Beta2.NormalizedVertex>();
private static readonly pb::FieldCodec<global::Google.Cloud.DocumentAI.V1Beta2.NormalizedVertex> _repeated_normalizedVertices_codec
= pb::FieldCodec.ForMessage(18, global::Google.Cloud.DocumentAI.V1Beta2.NormalizedVertex.Parser);
private readonly pbc::RepeatedField<global::Google.Cloud.DocumentAI.V1Beta2.NormalizedVertex> normalizedVertices_ = new pbc::RepeatedField<global::Google.Cloud.DocumentAI.V1Beta2.NormalizedVertex>();
/// <summary>
/// The bounding polygon normalized vertices.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::Google.Cloud.Documentai.V1Beta2.NormalizedVertex> NormalizedVertices {
public pbc::RepeatedField<global::Google.Cloud.DocumentAI.V1Beta2.NormalizedVertex> NormalizedVertices {
get { return normalizedVertices_; }
}

Expand Down

This file was deleted.

Loading

0 comments on commit 149e872

Please sign in to comment.