diff --git a/Google.Api.CommonProtos/Api/Client.g.cs b/Google.Api.CommonProtos/Api/Client.g.cs
index cd454726..d2892116 100644
--- a/Google.Api.CommonProtos/Api/Client.g.cs
+++ b/Google.Api.CommonProtos/Api/Client.g.cs
@@ -80,26 +80,27 @@ static ClientReflection() {
"IAEoCToCOAEiQgoMUnVieVNldHRpbmdzEjIKBmNvbW1vbhgBIAEoCzIiLmdv",
"b2dsZS5hcGkuQ29tbW9uTGFuZ3VhZ2VTZXR0aW5ncyJACgpHb1NldHRpbmdz",
"EjIKBmNvbW1vbhgBIAEoCzIiLmdvb2dsZS5hcGkuQ29tbW9uTGFuZ3VhZ2VT",
- "ZXR0aW5ncyKwAgoOTWV0aG9kU2V0dGluZ3MSEAoIc2VsZWN0b3IYASABKAkS",
+ "ZXR0aW5ncyLPAgoOTWV0aG9kU2V0dGluZ3MSEAoIc2VsZWN0b3IYASABKAkS",
"PAoMbG9uZ19ydW5uaW5nGAIgASgLMiYuZ29vZ2xlLmFwaS5NZXRob2RTZXR0",
- "aW5ncy5Mb25nUnVubmluZxrNAQoLTG9uZ1J1bm5pbmcSNQoSaW5pdGlhbF9w",
- "b2xsX2RlbGF5GAEgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uEh0K",
- "FXBvbGxfZGVsYXlfbXVsdGlwbGllchgCIAEoAhIxCg5tYXhfcG9sbF9kZWxh",
- "eRgDIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbhI1ChJ0b3RhbF9w",
- "b2xsX3RpbWVvdXQYBCABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb24q",
- "owEKGUNsaWVudExpYnJhcnlPcmdhbml6YXRpb24SKwonQ0xJRU5UX0xJQlJB",
- "UllfT1JHQU5JWkFUSU9OX1VOU1BFQ0lGSUVEEAASCQoFQ0xPVUQQARIHCgNB",
- "RFMQAhIKCgZQSE9UT1MQAxIPCgtTVFJFRVRfVklFVxAEEgwKCFNIT1BQSU5H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FRBAAEgkKBUNMT1VEEAESBwoDQURTEAISCgoGUEhPVE9T",
+ "EAMSDwoLU1RSRUVUX1ZJRVcQBBIMCghTSE9QUElORxAFEgcKA0dFTxAGEhEK",
+ "DUdFTkVSQVRJVkVfQUkQBypnChhDbGllbnRMaWJyYXJ5RGVzdGluYXRpb24S",
+ "KgomQ0xJRU5UX0xJQlJBUllfREVTVElOQVRJT05fVU5TUEVDSUZJRUQQABIK",
+ "CgZHSVRIVUIQChITCg9QQUNLQUdFX01BTkFHRVIQFDo5ChBtZXRob2Rfc2ln",
+ "bmF0dXJlEh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYmwggAygJ",
+ "OjYKDGRlZmF1bHRfaG9zdBIfLmdvb2dsZS5wcm90b2J1Zi5TZXJ2aWNlT3B0",
+ "aW9ucxiZCCABKAk6NgoMb2F1dGhfc2NvcGVzEh8uZ29vZ2xlLnByb3RvYnVm",
+ "LlNlcnZpY2VPcHRpb25zGJoIIAEoCUJpCg5jb20uZ29vZ2xlLmFwaUILQ2xp",
+ "ZW50UHJvdG9QAVpBZ29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xl",
+ "YXBpcy9hcGkvYW5ub3RhdGlvbnM7YW5ub3RhdGlvbnOiAgRHQVBJYgZwcm90",
+ "bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Api.LaunchStageReflection.Descriptor, global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Api.ClientLibraryOrganization), typeof(global::Google.Api.ClientLibraryDestination), }, new pb::Extension[] { ClientExtensions.MethodSignature, ClientExtensions.DefaultHost, ClientExtensions.OauthScopes }, new pbr::GeneratedClrTypeInfo[] {
@@ -114,7 +115,7 @@ static ClientReflection() {
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Api.DotnetSettings), global::Google.Api.DotnetSettings.Parser, new[]{ "Common", "RenamedServices", "RenamedResources", "IgnoredResources", "ForcedNamespaceAliases", "HandwrittenSignatures" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, }),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Api.RubySettings), global::Google.Api.RubySettings.Parser, new[]{ "Common" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Api.GoSettings), global::Google.Api.GoSettings.Parser, new[]{ "Common" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Google.Api.MethodSettings), global::Google.Api.MethodSettings.Parser, new[]{ "Selector", "LongRunning" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Api.MethodSettings.Types.LongRunning), global::Google.Api.MethodSettings.Types.LongRunning.Parser, new[]{ "InitialPollDelay", "PollDelayMultiplier", "MaxPollDelay", "TotalPollTimeout" }, null, null, null, null)})
+ new pbr::GeneratedClrTypeInfo(typeof(global::Google.Api.MethodSettings), global::Google.Api.MethodSettings.Parser, new[]{ "Selector", "LongRunning", "AutoPopulatedFields" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Api.MethodSettings.Types.LongRunning), global::Google.Api.MethodSettings.Types.LongRunning.Parser, new[]{ "InitialPollDelay", "PollDelayMultiplier", "MaxPollDelay", "TotalPollTimeout" }, null, null, null, null)})
}));
}
#endregion
@@ -3630,6 +3631,7 @@ public MethodSettings() {
public MethodSettings(MethodSettings other) : this() {
selector_ = other.selector_;
longRunning_ = other.longRunning_ != null ? other.longRunning_.Clone() : null;
+ autoPopulatedFields_ = other.autoPopulatedFields_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
@@ -3686,6 +3688,30 @@ public string Selector {
}
}
+ /// Field number for the "auto_populated_fields" field.
+ public const int AutoPopulatedFieldsFieldNumber = 3;
+ private static readonly pb::FieldCodec _repeated_autoPopulatedFields_codec
+ = pb::FieldCodec.ForString(26);
+ private readonly pbc::RepeatedField autoPopulatedFields_ = new pbc::RepeatedField();
+ ///
+ /// List of top-level fields of the request message, that should be
+ /// automatically populated by the client libraries based on their
+ /// (google.api.field_info).format. Currently supported format: UUID4.
+ ///
+ /// Example of a YAML configuration:
+ ///
+ /// publishing:
+ /// method_settings:
+ /// - selector: google.example.v1.ExampleService.CreateExample
+ /// auto_populated_fields:
+ /// - request_id
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField AutoPopulatedFields {
+ get { return autoPopulatedFields_; }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
@@ -3703,6 +3729,7 @@ public bool Equals(MethodSettings other) {
}
if (Selector != other.Selector) return false;
if (!object.Equals(LongRunning, other.LongRunning)) return false;
+ if(!autoPopulatedFields_.Equals(other.autoPopulatedFields_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
@@ -3712,6 +3739,7 @@ public override int GetHashCode() {
int hash = 1;
if (Selector.Length != 0) hash ^= Selector.GetHashCode();
if (longRunning_ != null) hash ^= LongRunning.GetHashCode();
+ hash ^= autoPopulatedFields_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
@@ -3738,6 +3766,7 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(18);
output.WriteMessage(LongRunning);
}
+ autoPopulatedFields_.WriteTo(output, _repeated_autoPopulatedFields_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
@@ -3756,6 +3785,7 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(18);
output.WriteMessage(LongRunning);
}
+ autoPopulatedFields_.WriteTo(ref output, _repeated_autoPopulatedFields_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
@@ -3772,6 +3802,7 @@ public int CalculateSize() {
if (longRunning_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LongRunning);
}
+ size += autoPopulatedFields_.CalculateSize(_repeated_autoPopulatedFields_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
@@ -3793,6 +3824,7 @@ public void MergeFrom(MethodSettings other) {
}
LongRunning.MergeFrom(other.LongRunning);
}
+ autoPopulatedFields_.Add(other.autoPopulatedFields_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -3819,6 +3851,10 @@ public void MergeFrom(pb::CodedInputStream input) {
input.ReadMessage(LongRunning);
break;
}
+ case 26: {
+ autoPopulatedFields_.AddEntriesFrom(input, _repeated_autoPopulatedFields_codec);
+ break;
+ }
}
}
#endif
@@ -3845,6 +3881,10 @@ public void MergeFrom(pb::CodedInputStream input) {
input.ReadMessage(LongRunning);
break;
}
+ case 26: {
+ autoPopulatedFields_.AddEntriesFrom(ref input, _repeated_autoPopulatedFields_codec);
+ break;
+ }
}
}
}
diff --git a/Google.Api.CommonProtos/Api/FieldBehavior.g.cs b/Google.Api.CommonProtos/Api/FieldBehavior.g.cs
index 7fb87748..11c611d2 100644
--- a/Google.Api.CommonProtos/Api/FieldBehavior.g.cs
+++ b/Google.Api.CommonProtos/Api/FieldBehavior.g.cs
@@ -36,12 +36,12 @@ static FieldBehaviorReflection() {
"ZWhhdmlvchIeChpGSUVMRF9CRUhBVklPUl9VTlNQRUNJRklFRBAAEgwKCE9Q",
"VElPTkFMEAESDAoIUkVRVUlSRUQQAhIPCgtPVVRQVVRfT05MWRADEg4KCklO",
"UFVUX09OTFkQBBINCglJTU1VVEFCTEUQBRISCg5VTk9SREVSRURfTElTVBAG",
- "EhUKEU5PTl9FTVBUWV9ERUZBVUxUEAcSDgoKSURFTlRJRklFUhAIOlEKDmZp",
+ "EhUKEU5PTl9FTVBUWV9ERUZBVUxUEAcSDgoKSURFTlRJRklFUhAIOlUKDmZp",
"ZWxkX2JlaGF2aW9yEh0uZ29vZ2xlLnByb3RvYnVmLkZpZWxkT3B0aW9ucxic",
- "CCADKA4yGS5nb29nbGUuYXBpLkZpZWxkQmVoYXZpb3JCcAoOY29tLmdvb2ds",
- "ZS5hcGlCEkZpZWxkQmVoYXZpb3JQcm90b1ABWkFnb29nbGUuZ29sYW5nLm9y",
- "Zy9nZW5wcm90by9nb29nbGVhcGlzL2FwaS9hbm5vdGF0aW9uczthbm5vdGF0",
- "aW9uc6ICBEdBUEliBnByb3RvMw=="));
+ "CCADKA4yGS5nb29nbGUuYXBpLkZpZWxkQmVoYXZpb3JCAhAAQnAKDmNvbS5n",
+ "b29nbGUuYXBpQhJGaWVsZEJlaGF2aW9yUHJvdG9QAVpBZ29vZ2xlLmdvbGFu",
+ "Zy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hcGkvYW5ub3RhdGlvbnM7YW5u",
+ "b3RhdGlvbnOiAgRHQVBJYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Api.FieldBehavior), }, new pb::Extension[] { FieldBehaviorExtensions.FieldBehavior }, null));
@@ -66,7 +66,7 @@ public static partial class FieldBehaviorExtensions {
/// (google.api.field_behavior) = IMMUTABLE];
///
public static readonly pb::RepeatedExtension FieldBehavior =
- new pb::RepeatedExtension(1052, pb::FieldCodec.ForEnum(8418, x => (int) x, x => (global::Google.Api.FieldBehavior) x));
+ new pb::RepeatedExtension(1052, pb::FieldCodec.ForEnum(8416, x => (int) x, x => (global::Google.Api.FieldBehavior) x));
}
#region Enums
diff --git a/Google.Api.Gax.Grpc.IntegrationTests/ForwardingTestServiceGrpc.g.cs b/Google.Api.Gax.Grpc.IntegrationTests/ForwardingTestServiceGrpc.g.cs
index 1f8405ff..06506ef5 100644
--- a/Google.Api.Gax.Grpc.IntegrationTests/ForwardingTestServiceGrpc.g.cs
+++ b/Google.Api.Gax.Grpc.IntegrationTests/ForwardingTestServiceGrpc.g.cs
@@ -9,7 +9,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
//
-#pragma warning disable 0414, 1591, 8981
+#pragma warning disable 0414, 1591, 8981, 0612
#region Designer generated code
using grpc = global::Grpc.Core;
diff --git a/Google.Api.Gax.Grpc.IntegrationTests/TestServiceGrpc.g.cs b/Google.Api.Gax.Grpc.IntegrationTests/TestServiceGrpc.g.cs
index 94fab0d7..8c5a8cfb 100644
--- a/Google.Api.Gax.Grpc.IntegrationTests/TestServiceGrpc.g.cs
+++ b/Google.Api.Gax.Grpc.IntegrationTests/TestServiceGrpc.g.cs
@@ -9,7 +9,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
//
-#pragma warning disable 0414, 1591, 8981
+#pragma warning disable 0414, 1591, 8981, 0612
#region Designer generated code
using grpc = global::Grpc.Core;
diff --git a/Google.Api.Gax.Grpc.Tests/Rest/BadServiceGrpc.g.cs b/Google.Api.Gax.Grpc.Tests/Rest/BadServiceGrpc.g.cs
index 0e239c4c..a0d15ba7 100644
--- a/Google.Api.Gax.Grpc.Tests/Rest/BadServiceGrpc.g.cs
+++ b/Google.Api.Gax.Grpc.Tests/Rest/BadServiceGrpc.g.cs
@@ -9,7 +9,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
//
-#pragma warning disable 0414, 1591, 8981
+#pragma warning disable 0414, 1591, 8981, 0612
#region Designer generated code
using grpc = global::Grpc.Core;
diff --git a/Google.Api.Gax.Grpc.Tests/Rest/TestServiceGrpc.g.cs b/Google.Api.Gax.Grpc.Tests/Rest/TestServiceGrpc.g.cs
index ed6b3d87..145072dd 100644
--- a/Google.Api.Gax.Grpc.Tests/Rest/TestServiceGrpc.g.cs
+++ b/Google.Api.Gax.Grpc.Tests/Rest/TestServiceGrpc.g.cs
@@ -9,7 +9,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
//
-#pragma warning disable 0414, 1591, 8981
+#pragma warning disable 0414, 1591, 8981, 0612
#region Designer generated code
using grpc = global::Grpc.Core;