Skip to content

Commit

Permalink
Regenerate Google.Cloud.Vision.V1 (#3444)
Browse files Browse the repository at this point in the history
Properties added to class 'Google.Cloud.Vision.V1.SafeSearchAnnotation':
'System.Single AdultConfidence { get; set; }'
'System.Single MedicalConfidence { get; set; }'
'System.Single NsfwConfidence { get; set; }'
'System.Single RacyConfidence { get; set; }'
'System.Single SpoofConfidence { get; set; }'
'System.Single ViolenceConfidence { get; set; }'

Changes in comments to add or move up 'Required' when appropiate.
Reordering of classes in the files.
  • Loading branch information
yoshi-automation authored and amanda-tarafa committed Sep 16, 2019
1 parent e7df6bd commit b4a35c8
Show file tree
Hide file tree
Showing 7 changed files with 1,164 additions and 939 deletions.
1,219 changes: 710 additions & 509 deletions apis/Google.Cloud.Vision.V1/Google.Cloud.Vision.V1/ImageAnnotator.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ public virtual ImageAnnotator.ImageAnnotatorClient GrpcClient
/// Run image detection and annotation for a batch of images.
/// </summary>
/// <param name="requests">
/// Individual image annotation requests for this batch.
/// Required. Individual image annotation requests for this batch.
/// </param>
/// <param name="callSettings">
/// If not null, applies overrides to this RPC call.
Expand All @@ -513,7 +513,7 @@ public virtual ImageAnnotator.ImageAnnotatorClient GrpcClient
/// Run image detection and annotation for a batch of images.
/// </summary>
/// <param name="requests">
/// Individual image annotation requests for this batch.
/// Required. Individual image annotation requests for this batch.
/// </param>
/// <param name="cancellationToken">
/// A <see cref="st::CancellationToken"/> to use for this RPC.
Expand All @@ -531,7 +531,7 @@ public virtual ImageAnnotator.ImageAnnotatorClient GrpcClient
/// Run image detection and annotation for a batch of images.
/// </summary>
/// <param name="requests">
/// Individual image annotation requests for this batch.
/// Required. Individual image annotation requests for this batch.
/// </param>
/// <param name="callSettings">
/// If not null, applies overrides to this RPC call.
Expand Down Expand Up @@ -614,7 +614,7 @@ public virtual BatchAnnotateImagesResponse BatchAnnotateImages(
/// extracted.
/// </summary>
/// <param name="requests">
/// The list of file annotation requests. Right now we support only one
/// Required. The list of file annotation requests. Right now we support only one
/// AnnotateFileRequest in BatchAnnotateFilesRequest.
/// </param>
/// <param name="callSettings">
Expand Down Expand Up @@ -642,7 +642,7 @@ public virtual BatchAnnotateImagesResponse BatchAnnotateImages(
/// extracted.
/// </summary>
/// <param name="requests">
/// The list of file annotation requests. Right now we support only one
/// Required. The list of file annotation requests. Right now we support only one
/// AnnotateFileRequest in BatchAnnotateFilesRequest.
/// </param>
/// <param name="cancellationToken">
Expand All @@ -667,7 +667,7 @@ public virtual BatchAnnotateImagesResponse BatchAnnotateImages(
/// extracted.
/// </summary>
/// <param name="requests">
/// The list of file annotation requests. Right now we support only one
/// Required. The list of file annotation requests. Right now we support only one
/// AnnotateFileRequest in BatchAnnotateFilesRequest.
/// </param>
/// <param name="callSettings">
Expand Down Expand Up @@ -771,7 +771,7 @@ public virtual BatchAnnotateFilesResponse BatchAnnotateFiles(
/// GCS bucket, each json file containing BatchAnnotateImagesResponse proto.
/// </summary>
/// <param name="requests">
/// Individual image annotation requests for this batch.
/// Required. Individual image annotation requests for this batch.
/// </param>
/// <param name="outputConfig">
/// Required. The desired output location and metadata (e.g. format).
Expand Down Expand Up @@ -805,7 +805,7 @@ public virtual BatchAnnotateFilesResponse BatchAnnotateFiles(
/// GCS bucket, each json file containing BatchAnnotateImagesResponse proto.
/// </summary>
/// <param name="requests">
/// Individual image annotation requests for this batch.
/// Required. Individual image annotation requests for this batch.
/// </param>
/// <param name="outputConfig">
/// Required. The desired output location and metadata (e.g. format).
Expand Down Expand Up @@ -836,7 +836,7 @@ public virtual BatchAnnotateFilesResponse BatchAnnotateFiles(
/// GCS bucket, each json file containing BatchAnnotateImagesResponse proto.
/// </summary>
/// <param name="requests">
/// Individual image annotation requests for this batch.
/// Required. Individual image annotation requests for this batch.
/// </param>
/// <param name="outputConfig">
/// Required. The desired output location and metadata (e.g. format).
Expand Down Expand Up @@ -955,7 +955,7 @@ public virtual BatchAnnotateFilesResponse BatchAnnotateFiles(
/// `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).
/// </summary>
/// <param name="requests">
/// Individual async file annotation requests for this batch.
/// Required. Individual async file annotation requests for this batch.
/// </param>
/// <param name="callSettings">
/// If not null, applies overrides to this RPC call.
Expand All @@ -981,7 +981,7 @@ public virtual BatchAnnotateFilesResponse BatchAnnotateFiles(
/// `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).
/// </summary>
/// <param name="requests">
/// Individual async file annotation requests for this batch.
/// Required. Individual async file annotation requests for this batch.
/// </param>
/// <param name="cancellationToken">
/// A <see cref="st::CancellationToken"/> to use for this RPC.
Expand All @@ -1004,7 +1004,7 @@ public virtual BatchAnnotateFilesResponse BatchAnnotateFiles(
/// `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).
/// </summary>
/// <param name="requests">
/// Individual async file annotation requests for this batch.
/// Required. Individual async file annotation requests for this batch.
/// </param>
/// <param name="callSettings">
/// If not null, applies overrides to this RPC call.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ static ProductSearchReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Citnb29nbGUvY2xvdWQvdmlzaW9uL3YxL3Byb2R1Y3Rfc2VhcmNoLnByb3Rv",
"EhZnb29nbGUuY2xvdWQudmlzaW9uLnYxGhxnb29nbGUvYXBpL2Fubm90YXRp",
"b25zLnByb3RvGiVnb29nbGUvY2xvdWQvdmlzaW9uL3YxL2dlb21ldHJ5LnBy",
"b3RvGjNnb29nbGUvY2xvdWQvdmlzaW9uL3YxL3Byb2R1Y3Rfc2VhcmNoX3Nl",
"cnZpY2UucHJvdG8aH2dvb2dsZS9wcm90b2J1Zi90aW1lc3RhbXAucHJvdG8i",
"EhZnb29nbGUuY2xvdWQudmlzaW9uLnYxGiVnb29nbGUvY2xvdWQvdmlzaW9u",
"L3YxL2dlb21ldHJ5LnByb3RvGjNnb29nbGUvY2xvdWQvdmlzaW9uL3YxL3By",
"b2R1Y3Rfc2VhcmNoX3NlcnZpY2UucHJvdG8aH2dvb2dsZS9wcm90b2J1Zi90",
"aW1lc3RhbXAucHJvdG8aHGdvb2dsZS9hcGkvYW5ub3RhdGlvbnMucHJvdG8i",
"kwEKE1Byb2R1Y3RTZWFyY2hQYXJhbXMSOwoNYm91bmRpbmdfcG9seRgJIAEo",
"CzIkLmdvb2dsZS5jbG91ZC52aXNpb24udjEuQm91bmRpbmdQb2x5EhMKC3By",
"b2R1Y3Rfc2V0GAYgASgJEhoKEnByb2R1Y3RfY2F0ZWdvcmllcxgHIAMoCRIO",
Expand All @@ -51,7 +51,7 @@ static ProductSearchReflection() {
"b29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2Nsb3VkL3Zp",
"c2lvbi92MTt2aXNpb274AQGiAgRHQ1ZOYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Cloud.Vision.V1.GeometryReflection.Descriptor, global::Google.Cloud.Vision.V1.ProductSearchServiceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, },
new pbr::FileDescriptor[] { global::Google.Cloud.Vision.V1.GeometryReflection.Descriptor, global::Google.Cloud.Vision.V1.ProductSearchServiceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Api.AnnotationsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Vision.V1.ProductSearchParams), global::Google.Cloud.Vision.V1.ProductSearchParams.Parser, new[]{ "BoundingPoly", "ProductSet", "ProductCategories", "Filter" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Vision.V1.ProductSearchResults), global::Google.Cloud.Vision.V1.ProductSearchResults.Parser, new[]{ "IndexTime", "Results", "ProductGroupedResults" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Vision.V1.ProductSearchResults.Types.Result), global::Google.Cloud.Vision.V1.ProductSearchResults.Types.Result.Parser, new[]{ "Product", "Score", "Image" }, null, null, null),
Expand Down Expand Up @@ -122,8 +122,7 @@ public ProductSearchParams Clone() {
public const int ProductSetFieldNumber = 6;
private string productSet_ = "";
/// <summary>
/// The resource name of a [ProductSet][google.cloud.vision.v1.ProductSet] to
/// be searched for similar images.
/// The resource name of a [ProductSet][google.cloud.vision.v1.ProductSet] to be searched for similar images.
///
/// Format is:
/// `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
Expand Down
Loading

0 comments on commit b4a35c8

Please sign in to comment.