# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/automl/v1beta1/data_items.proto require 'google/protobuf' require 'google/cloud/automl/v1beta1/io_pb' require 'google/protobuf/any_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/struct_pb' require 'google/api/annotations_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_message "google.cloud.automl.v1beta1.Image" do optional :thumbnail_uri, :string, 4 oneof :data do optional :image_bytes, :bytes, 1 optional :input_config, :message, 6, "google.cloud.automl.v1beta1.InputConfig" end end add_message "google.cloud.automl.v1beta1.TextSnippet" do optional :content, :string, 1 optional :mime_type, :string, 2 optional :content_uri, :string, 4 end add_message "google.cloud.automl.v1beta1.Document" do optional :input_config, :message, 1, "google.cloud.automl.v1beta1.DocumentInputConfig" end add_message "google.cloud.automl.v1beta1.Row" do repeated :column_spec_ids, :string, 2 repeated :values, :message, 3, "google.protobuf.Value" end add_message "google.cloud.automl.v1beta1.ExamplePayload" do oneof :payload do optional :image, :message, 1, "google.cloud.automl.v1beta1.Image" optional :text_snippet, :message, 2, "google.cloud.automl.v1beta1.TextSnippet" optional :document, :message, 4, "google.cloud.automl.v1beta1.Document" optional :row, :message, 3, "google.cloud.automl.v1beta1.Row" end end end module Google::Cloud::AutoML::V1beta1 Image = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1beta1.Image").msgclass TextSnippet = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1beta1.TextSnippet").msgclass Document = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1beta1.Document").msgclass Row = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1beta1.Row").msgclass ExamplePayload = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1beta1.ExamplePayload").msgclass end